summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorLokesh Gidra <lokeshgidra@google.com>2019-02-01 11:05:04 -0800
committerLokesh Gidra <lokeshgidra@google.com>2019-02-04 09:49:22 -0800
commit1a862c8f4895e175b3cf4e68d0594f7f70db8377 (patch)
treee8c8f38cbf430b926720c76fab71671a23433fab /test/ProfileTestMultiDex/Second.java
parentdb48919b682fe237ae8198ed12d933705b442144 (diff)
Fix criteria to decide should next GC be minor
A GC throughput (in terms of freed-bytes per second) comparison between minor GCs and full GCs is used to decide whether the next GC should be minor or full. To take care of the corner case wherein minor GC's throughput never falls below that of full GC's, a cap is put on bytes_allocated to not go over target_footprint. This cap, in case of concurrent GCs, should be at concurrent_start_bytes as that is when a GC cycle is triggered. Test: art/test/testrunner/testrunner.py --target Test: Golem benchmarks to confirm performance isn't affected Bug: 123662955 Change-Id: I94afd04f3fcac86d6f9cec6a1af407c5be599b26
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions