/art/tools/ahat/etc/ |
D | hprofdump.py | 24 hprof = open(filename, "rb") variable 26 def readu1(hprof): argument 27 return struct.unpack('!B', hprof.read(1))[0] 29 def readu2(hprof): argument 30 return struct.unpack('!H', hprof.read(2))[0] 32 def readu4(hprof): argument 33 return struct.unpack('!I', hprof.read(4))[0] 35 def readu8(hprof): argument 36 return struct.unpack('!Q', hprof.read(8))[0] 38 def readN(n, hprof): argument [all …]
|
D | README.txt | 1 L.hprof 2 A version of the test-dump hprof generated on Android L, with one of the 5 O.hprof 6 A version of the test-dump hprof generated on Android O. 8 RI.hprof 9 A version of the test-dump hprof generated on the reference implementation.
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Parser.java | 56 private HprofBuffer hprof = null; field in Parser 66 public Parser(ByteBuffer hprof) { in Parser() argument 67 this.hprof = new HprofBuffer(hprof); in Parser() 76 public Parser(File hprof) throws IOException { in Parser() argument 77 this.hprof = new HprofBuffer(hprof); in Parser() 143 public static AhatSnapshot parseHeapDump(File hprof, ProguardMap map) in parseHeapDump() argument 145 return new Parser(hprof).map(map).parse(); in parseHeapDump() 157 public static AhatSnapshot parseHeapDump(ByteBuffer hprof, ProguardMap map) in parseHeapDump() argument 159 return new Parser(hprof).map(map).parse(); in parseHeapDump() 168 while ((b = hprof.getU1()) != 0) { in parseInternal() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | Main.java | 66 private static AhatSnapshot loadHeapDump(File hprof, in loadHeapDump() argument 68 System.out.println("Processing '" + hprof + "' ..."); in loadHeapDump() 70 return new Parser(hprof).map(map).progress(progress).retained(retained).parse(); in loadHeapDump() 72 System.err.println("Unable to load '" + hprof + "':"); in loadHeapDump() 75 System.err.println("'" + hprof + "' does not appear to be a valid Java heap dump:"); in loadHeapDump() 99 File hprof = null; in main() local 147 if (hprof != null) { in main() 152 hprof = new File(args[i]); in main() 156 if (hprof == null) { in main() 176 AhatSnapshot ahat = loadHeapDump(hprof, map, new AsciiProgress(), retained); in main() [all …]
|
D | OverviewHandler.java | 33 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof, Reachability retained) { in OverviewHandler() argument 35 mHprof = hprof; in OverviewHandler()
|
/art/tools/ahat/ |
D | Android.mk | 47 AHAT_TEST_DUMP_HPROF := $(intermediates.COMMON)/test-dump.hprof 48 AHAT_TEST_DUMP_BASE_HPROF := $(intermediates.COMMON)/test-dump-base.hprof 114 AHAT_RI_TEST_DUMP_HPROF := $(intermediates.COMMON)/ri-test-dump.hprof 132 $(LOCAL_PATH)/etc/L.hprof \ 133 $(LOCAL_PATH)/etc/O.hprof \ 134 $(LOCAL_PATH)/etc/RI.hprof
|
D | README.txt | 27 * Include ahat version and hprof file in the menu at the top of the page? 41 * That we can open a hprof without an 'app' heap and show a tabulation of
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | TestDump.java | 127 ByteBuffer hprof = dataBufferFromResource(mHprofResource); in load() local 128 mSnapshot = new Parser(hprof).map(map).retained(mRetained).parse(); in load() 264 public static synchronized TestDump getTestDump(String hprof, in getTestDump() argument 270 if (Objects.equals(loaded.mHprofResource, hprof) in getTestDump() 281 TestDump dump = new TestDump(hprof, base, map, retained); in getTestDump()
|
/art/runtime/hprof/ |
D | hprof.h | 22 namespace hprof {
|
D | hprof.cc | 74 namespace hprof { namespace 1611 Hprof hprof(filename, fd, direct_to_ddms); in DumpHeap() local 1612 hprof.Dump(); in DumpHeap()
|
/art/tools/ |
D | build_linux_bionic_tests.sh | 82 $soong_out/bin/hprof-conv
|
/art/test/ |
D | Android.run-test.mk | 57 $(HOST_OUT_EXECUTABLES)/hprof-conv \
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 267 hprof::DumpHeap(filename.c_str(), fd, false); in VMDebug_dumpHprofData() 271 hprof::DumpHeap("[DDMS]", -1, true); in VMDebug_dumpHprofDataDdms()
|
/art/runtime/ |
D | Android.bp | 90 "hprof/hprof.cc",
|
/art/build/apex/ |
D | Android.bp | 120 "hprof-conv",
|
/art/ |
D | Android.mk | 458 hprof-conv \
|