Commit b4dad1bc authored by Lokesh Gidra's avatar Lokesh Gidra
Browse files

Add peak RSS stats to GC perf dump

Use mincore() to extract resident memory info and compute RSS specific
to GC data structures and heaps. It must be computed at a time in the GC
cycle when the physical memory consumption is at its peak. For instance,
for CC it is immediately after marking is finished and before regions
are cleared.

Test: art/test/testrunner/testrunner.py --target --runtime-option=-XX:DumpGCPerformanceOnShutdown
Bug: b/112187497
Change-Id: I92cf006524cf6c91ba1e96aa7c5303c578e6db54
parent 85dd9e35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment