Commit 371b0472 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Clear empty unevac regions in ClearFromSpace

The motivation is to release RAM for empty unevac regions at the end
of the current GC instead of next GC.

Results on RitzPerf:
This optimization accounts for 2.33GB out of 53GB of freed bytes ~4%.
This also means that the average heap size is probably 4% smaller,
though it may not translate to RAM savings for actual apps.

Bug: 35800768
Bug: 12687968

Test: test-art-host
Change-Id: I38fa8dcda1aa6b439060ff170941b3a53022846f
parent ec78cc26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment