comparison src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp @ 14358:e5d78f318aec

8026849: Fix typos in the GC code, part 2 Summary: Fixed typos in assert messages, flag descriptions and verbose messages Reviewed-by: stefank, tschatzl
author jwilhelm
date Tue, 10 Dec 2013 15:11:02 +0100
parents a3ba776d6ab6
children e6195383bcaf
comparison
equal deleted inserted replaced
14357:79aa45434291 14358:e5d78f318aec
252 GenCollectedHeap* gch = GenCollectedHeap::heap(); 252 GenCollectedHeap* gch = GenCollectedHeap::heap();
253 if (_gc_count_before != gch->total_collections()) { 253 if (_gc_count_before != gch->total_collections()) {
254 // No need to do a young gc, we'll just nudge the CMS thread 254 // No need to do a young gc, we'll just nudge the CMS thread
255 // in the doit() method above, to be executed soon. 255 // in the doit() method above, to be executed soon.
256 assert(_gc_count_before < gch->total_collections(), 256 assert(_gc_count_before < gch->total_collections(),
257 "total_collections() should be monotnically increasing"); 257 "total_collections() should be monotonically increasing");
258 return false; // no need for foreground young gc 258 return false; // no need for foreground young gc
259 } 259 }
260 } 260 }
261 return true; // may still need foreground young gc 261 return true; // may still need foreground young gc
262 } 262 }