mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8250961: Move Universe::update_heap_info_at_gc to CollectedHeap
Reviewed-by: stefank, kbarrett
This commit is contained in:
parent
f78f780570
commit
6a005343b4
12 changed files with 28 additions and 30 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue