mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +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
|
@ -237,7 +237,7 @@ void ShenandoahControlThread::run_service() {
|
|||
// Notify Universe about new heap usage. This has implications for
|
||||
// global soft refs policy, and we better report it every time heap
|
||||
// usage goes down.
|
||||
Universe::update_heap_info_at_gc();
|
||||
Universe::heap()->update_capacity_and_used_at_gc();
|
||||
|
||||
// Signal that we have completed a visit to all live objects.
|
||||
Universe::heap()->record_whole_heap_examined_timestamp();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue