10bd648e4039f2ceb11fe77e0e2ca60aee0522b8 |
|
23-Nov-2017 |
Pete Gillin <peteg@google.com> |
Add new metrics to LibcoreHeapDumpMetricsTest. The main things here are adding a breakdown of the heap sizes by reachability, and adding PSS metrics. The GC call is also switched from the System method to the Runtime method (which is more likely to actually happen). Note that the heap dump and the PSS measurements are done in separate instrumentation runs, because the process of taking the heap dump seems to add ~1Mb to the PSS. Bug: 67999970 Test: tradefed.sh run commandAndExit template/local_min --template:map test=libcore-memory-metrics-tests Change-Id: If46a09473dcc99b77ce2d4c3b2a21d0efa3a00ae
|