summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2019-07-09 17:57:16 +0100
committerFlorian Mayer <fmayer@google.com>2019-09-06 10:05:17 +0000
commitadf49d4bb3870b73e79982f75bacd917d3ec3bb2 (patch)
treed318b68d4840140f9c1e78f324becb5db0c142fa /test/ProfileTestMultiDex/Second.java
parent7ed5e6002fc493984b3a4887a867ef751a139b4d (diff)
Java Heap Profiler for Perfetto.
This adds a new ART plugin that waits for a signal (number 38), when received forks the process (so that the app stays responsive to the user), then connects to Perfetto and writes out a proto describing the graph of currently live ART objects. This has several advantages over `am dumpheap`: * Because it forks, it has less impact on the user. * It only writes out the ownership graph, rather than also dumping the contents of the heap. * As this is streamed into Perfetto, it can be correlated to other data sources in the same trace file. Test: Flash; start data source; send signal 38; get heap dump Bug: 136210868 Change-Id: I1f75bc532fd0a6b8d5f7f474ac7154180677dedd
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions