From 88ee5dd5573f9700f6d5983af524b8eaf82665be Mon Sep 17 00:00:00 2001 From: Siva Velusamy Date: Tue, 20 Sep 2011 12:18:54 -0700 Subject: New implementation of native heap - layout only. Address resolution to symbols to come in future CL's. --- ddms/libs/ddmlib/src/com/android/ddmlib/NativeAllocationInfo.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ddms/libs/ddmlib/src') diff --git a/ddms/libs/ddmlib/src/com/android/ddmlib/NativeAllocationInfo.java b/ddms/libs/ddmlib/src/com/android/ddmlib/NativeAllocationInfo.java index 9909b9a..4c9e798 100644 --- a/ddms/libs/ddmlib/src/com/android/ddmlib/NativeAllocationInfo.java +++ b/ddms/libs/ddmlib/src/com/android/ddmlib/NativeAllocationInfo.java @@ -209,6 +209,11 @@ public final class NativeAllocationInfo { buffer.append("\n"); //$NON-NLS-1$ Iterator addrIterator = mStackCallAddresses.iterator(); + + if (mResolvedStackCall == null) { + return buffer.toString(); + } + Iterator sourceIterator = mResolvedStackCall.iterator(); while (sourceIterator.hasNext()) { -- cgit v1.1