src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp

changeset 3823
37552638d24a
parent 3710
5c86f8211d1e
child 4386
d275c3dc73e6
equal deleted inserted replaced
3822:a297b0e14605 3823:37552638d24a
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();

mercurial