hotspot/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
changeset 12934 f9bc0e664918
parent 12378 ed44b9ecfa2f
child 15090 18bfcc1bbe39
equal deleted inserted replaced
12933:0b79a2cea769 12934:f9bc0e664918
   291     // Update the number of full collections that have been
   291     // Update the number of full collections that have been
   292     // completed. This will also notify the FullGCCount_lock in case a
   292     // completed. This will also notify the FullGCCount_lock in case a
   293     // Java thread is waiting for a full GC to happen (e.g., it
   293     // Java thread is waiting for a full GC to happen (e.g., it
   294     // called System.gc() with +ExplicitGCInvokesConcurrent).
   294     // called System.gc() with +ExplicitGCInvokesConcurrent).
   295     _sts.join();
   295     _sts.join();
   296     g1h->increment_full_collections_completed(true /* concurrent */);
   296     g1h->increment_old_marking_cycles_completed(true /* concurrent */);
   297     _sts.leave();
   297     _sts.leave();
   298   }
   298   }
   299   assert(_should_terminate, "just checking");
   299   assert(_should_terminate, "just checking");
   300 
   300 
   301   terminate();
   301   terminate();