comparison src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp @ 6120:37552638d24a

7172388: G1: _total_full_collections should not be incremented for concurrent cycles Reviewed-by: azeemj, jmasa
author brutisso
date Tue, 05 Jun 2012 22:30:24 +0200
parents 5c86f8211d1e
children d275c3dc73e6
comparison
equal deleted inserted replaced
6119:a297b0e14605 6120: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();