< prev index next >
src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp
Print this page
rev 60257 : [mq]: 8248401-unify-millis-since-last-gc
*** 266,276 ****
// completed. This will also notify the G1OldGCCount_lock in case a
// Java thread is waiting for a full GC to happen (e.g., it
// called System.gc() with +ExplicitGCInvokesConcurrent).
{
SuspendibleThreadSetJoiner sts_join;
! g1h->increment_old_marking_cycles_completed(true /* concurrent */);
_cm->concurrent_cycle_end();
ConcurrentGCBreakpoints::notify_active_to_idle();
}
}
--- 266,277 ----
// completed. This will also notify the G1OldGCCount_lock in case a
// Java thread is waiting for a full GC to happen (e.g., it
// called System.gc() with +ExplicitGCInvokesConcurrent).
{
SuspendibleThreadSetJoiner sts_join;
! g1h->increment_old_marking_cycles_completed(true /* concurrent */,
! !_cm->has_aborted() /* liveness_completed */);
_cm->concurrent_cycle_end();
ConcurrentGCBreakpoints::notify_active_to_idle();
}
}
< prev index next >