hotspot/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
changeset 27631 43e4ac8bc726
parent 27627 b860ef3f70d5
child 27885 7786b3940066
equal deleted inserted replaced
27630:f5b2d7c500f4 27631:43e4ac8bc726
   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;
   283         _cm->clearNextBitmap();
   284         _cm->clearNextBitmap();
   284       } else {
   285       } else {
   285         assert(!G1VerifyBitmaps || _cm->nextMarkBitmapIsClear(), "Next mark bitmap must be clear");
   286         assert(!G1VerifyBitmaps || _cm->nextMarkBitmapIsClear(), "Next mark bitmap must be clear");
   286       }
   287       }
   287     }
   288     }