8250961: Move Universe::update_heap_info_at_gc to CollectedHeap

Reviewed-by: stefank, kbarrett
This commit is contained in:
Aditya Mandaleeka 2020-09-10 07:09:19 +00:00 committed by Stefan Karlsson
parent f78f780570
commit 6a005343b4
12 changed files with 28 additions and 30 deletions

View file

@ -1043,7 +1043,7 @@ void PSParallelCompact::post_compact()
// Update heap occupancy information which is used as input to the soft ref
// clearing policy at the next gc.
Universe::update_heap_info_at_gc();
Universe::heap()->update_capacity_and_used_at_gc();
bool young_gen_empty = eden_empty && from_space->is_empty() &&
to_space->is_empty();