aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/libs/ddmlib/src/com/android
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2011-09-20 12:18:54 -0700
committerSiva Velusamy <vsiva@google.com>2011-09-20 16:57:20 -0700
commit88ee5dd5573f9700f6d5983af524b8eaf82665be (patch)
tree25580fd5cf8a4867c2b4fecadf013d3887d5cd7f /ddms/libs/ddmlib/src/com/android
parentcef07a6a4e2e55743187afdfd8a4f647ab70581f (diff)
downloadsdk-88ee5dd5573f9700f6d5983af524b8eaf82665be.zip
sdk-88ee5dd5573f9700f6d5983af524b8eaf82665be.tar.gz
sdk-88ee5dd5573f9700f6d5983af524b8eaf82665be.tar.bz2
New implementation of native heap - layout only.
Address resolution to symbols to come in future CL's.
Diffstat (limited to 'ddms/libs/ddmlib/src/com/android')
-rw-r--r--ddms/libs/ddmlib/src/com/android/ddmlib/NativeAllocationInfo.java5
1 files changed, 5 insertions, 0 deletions
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<Long> addrIterator = mStackCallAddresses.iterator();
+
+ if (mResolvedStackCall == null) {
+ return buffer.toString();
+ }
+
Iterator<NativeStackCallInfo> sourceIterator = mResolvedStackCall.iterator();
while (sourceIterator.hasNext()) {