bug fix for library checking in Heap Chart 30/28230/1
authorjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 1 Oct 2014 03:40:22 +0000 (12:40 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 1 Oct 2014 03:40:53 +0000 (12:40 +0900)
Change-Id: I05cf2e5231711514c0ffd53d27d1fd84da959efc
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/chart/HeapChart.java

index fb72833..463eb75 100644 (file)
@@ -271,6 +271,9 @@ public class HeapChart extends TimelineChart {
                                for (int ii = 0; ii < librarySequenceList.size(); ii++) {
                                        String libraryPath = librarySequenceList.get(ii);
                                        DAChartSeries allocSeries = seriesMap.get(libraryPath);
+                                       if (allocSeries == null) {      // this process don't use this binary
+                                               continue;
+                                       }
                                        int index = binaryPathList.indexOf(libraryPath);
                                        long libraryAlloc = 0;
                                        if (index > 0) {