src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp
changeset 59067 f080b08daace
parent 58002 01d31583f25c
equal deleted inserted replaced
59066:439a147b2c0c 59067:f080b08daace
   391         _cm->cleanup_for_next_mark();
   391         _cm->cleanup_for_next_mark();
   392       }
   392       }
   393     }
   393     }
   394 
   394 
   395     // Update the number of full collections that have been
   395     // Update the number of full collections that have been
   396     // completed. This will also notify the FullGCCount_lock in case a
   396     // completed. This will also notify the G1OldGCCount_lock in case a
   397     // Java thread is waiting for a full GC to happen (e.g., it
   397     // Java thread is waiting for a full GC to happen (e.g., it
   398     // called System.gc() with +ExplicitGCInvokesConcurrent).
   398     // called System.gc() with +ExplicitGCInvokesConcurrent).
   399     {
   399     {
   400       SuspendibleThreadSetJoiner sts_join;
   400       SuspendibleThreadSetJoiner sts_join;
   401       g1h->increment_old_marking_cycles_completed(true /* concurrent */);
   401       g1h->increment_old_marking_cycles_completed(true /* concurrent */);