8248401: Refactor/unify RMI gc support functionality

Move recent timestamp of most recent whole heap liveness analysis into CollectedHeap, removing the duplicates in all collectors

Reviewed-by: kbarrett, ayang, stefank
This commit is contained in:
Thomas Schatzl 2020-08-07 19:23:53 +02:00
parent 1ad1659413
commit 9852a6f75c
25 changed files with 56 additions and 166 deletions

View file

@ -235,6 +235,9 @@ void ShenandoahControlThread::run_service() {
// global soft refs policy, and we better report it every time heap
// usage goes down.
Universe::update_heap_info_at_gc();
// Signal that we have completed a visit to all live objects.
Universe::heap()->record_whole_heap_examined_timestamp();
}
// Disable forced counters update, and update counters one more time