< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp

Print this page

        

*** 266,275 **** --- 266,276 ---- HandleMark hm; double cycle_start = os::elapsedVTime(); { G1ConcPhase p(G1ConcurrentPhase::CLEAR_CLAIMED_MARKS, this); + MutexLocker ml(ClassLoaderDataGraph_lock); ClassLoaderDataGraph::clear_claimed_marks(); } // We have to ensure that we finish scanning the root regions // before the next GC takes place. To ensure this we have to
< prev index next >