--- old/src/hotspot/share/gc/parallel/psParallelCompact.cpp 2020-08-04 14:27:26.573466686 +0200 +++ new/src/hotspot/share/gc/parallel/psParallelCompact.cpp 2020-08-04 14:27:26.449464928 +0200 @@ -1044,6 +1044,8 @@ // clearing policy at the next gc. Universe::update_heap_info_at_gc(); + Universe::heap()->next_whole_heap_examined(); + bool young_gen_empty = eden_empty && from_space->is_empty() && to_space->is_empty(); @@ -1068,8 +1070,6 @@ if (ZapUnusedHeapArea) { heap->gen_mangle_unused_area(); } - - Universe::heap()->next_whole_heap_examined(); } HeapWord*