< prev index next >

src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp

Print this page

        

*** 4192,4204 **** ResourceMark rm; HandleMark hm; CMSHeap* heap = CMSHeap::heap(); - if (should_unload_classes()) { - CodeCache::gc_prologue(); - } assert(haveFreelistLocks(), "must have free list locks"); assert_lock_strong(bitMapLock()); // We might assume that we need not fill TLAB's when // CMSScavengeBeforeRemark is set, because we may have just done --- 4192,4201 ----
*** 4250,4260 **** } verify_work_stacks_empty(); verify_overflow_empty(); if (should_unload_classes()) { ! CodeCache::gc_epilogue(); } JvmtiExport::gc_epilogue(); // If we encountered any (marking stack / work queue) overflow // events during the current CMS cycle, take appropriate --- 4247,4257 ---- } verify_work_stacks_empty(); verify_overflow_empty(); if (should_unload_classes()) { ! heap->prune_nmethods(); } JvmtiExport::gc_epilogue(); // If we encountered any (marking stack / work queue) overflow // events during the current CMS cycle, take appropriate
< prev index next >