src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp
changeset 55268 c5fe45d1281d
parent 54756 845f5a35241b
child 57913 d1a6f72e4aec
equal deleted inserted replaced
55267:eabe64456156 55268:c5fe45d1281d
   266       HandleMark   hm;
   266       HandleMark   hm;
   267       double cycle_start = os::elapsedVTime();
   267       double cycle_start = os::elapsedVTime();
   268 
   268 
   269       {
   269       {
   270         G1ConcPhase p(G1ConcurrentPhase::CLEAR_CLAIMED_MARKS, this);
   270         G1ConcPhase p(G1ConcurrentPhase::CLEAR_CLAIMED_MARKS, this);
   271         MutexLocker ml(ClassLoaderDataGraph_lock);
       
   272         ClassLoaderDataGraph::clear_claimed_marks();
   271         ClassLoaderDataGraph::clear_claimed_marks();
   273       }
   272       }
   274 
   273 
   275       // We have to ensure that we finish scanning the root regions
   274       // We have to ensure that we finish scanning the root regions
   276       // before the next GC takes place. To ensure this we have to
   275       // before the next GC takes place. To ensure this we have to