--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2020-08-04 14:27:26.069459538 +0200 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2020-08-04 14:27:25.941457723 +0200 @@ -646,9 +646,10 @@ // the G1OldGCCount_lock in case a Java thread is waiting for a full // GC to happen (e.g., it called System.gc() with // +ExplicitGCInvokesConcurrent). - // liveness_completed should indicate that during that old marking - // cycle the whole heap has actually been examined for live objects. - void increment_old_marking_cycles_completed(bool concurrent, bool liveness_completed); + // whole_heap_examined should indicate that during that old marking + // cycle the whole heap has been examined for live objects (as opposed + // to only parts, or aborted before completion). + void increment_old_marking_cycles_completed(bool concurrent, bool whole_heap_examined); uint old_marking_cycles_completed() { return _old_marking_cycles_completed;