hotspot/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
changeset 27627 b860ef3f70d5
parent 25728 7f8a76e3baa8
child 27631 43e4ac8bc726
equal deleted inserted replaced
27626:5dad25da637c 27627:b860ef3f70d5
   278       // We now want to allow clearing of the marking bitmap to be
   278       // We now want to allow clearing of the marking bitmap to be
   279       // suspended by a collection pause.
   279       // suspended by a collection pause.
   280       // We may have aborted just before the remark. Do not bother clearing the
   280       // We may have aborted just before the remark. Do not bother clearing the
   281       // bitmap then, as it has been done during mark abort.
   281       // bitmap then, as it has been done during mark abort.
   282       if (!cm()->has_aborted()) {
   282       if (!cm()->has_aborted()) {
   283         SuspendibleThreadSetJoiner sts;
       
   284         _cm->clearNextBitmap();
   283         _cm->clearNextBitmap();
   285       } else {
   284       } else {
   286         assert(!G1VerifyBitmaps || _cm->nextMarkBitmapIsClear(), "Next mark bitmap must be clear");
   285         assert(!G1VerifyBitmaps || _cm->nextMarkBitmapIsClear(), "Next mark bitmap must be clear");
   287       }
   286       }
   288     }
   287     }