hotspot/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp
changeset 25728 7f8a76e3baa8
parent 25350 6423a57e5451
child 27627 b860ef3f70d5
equal deleted inserted replaced
25727:7afb6523f5ab 25728:7f8a76e3baa8
   275         }
   275         }
   276       }
   276       }
   277 
   277 
   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       {
   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.
       
   282       if (!cm()->has_aborted()) {
   281         SuspendibleThreadSetJoiner sts;
   283         SuspendibleThreadSetJoiner sts;
   282         _cm->clearNextBitmap();
   284         _cm->clearNextBitmap();
       
   285       } else {
       
   286         assert(!G1VerifyBitmaps || _cm->nextMarkBitmapIsClear(), "Next mark bitmap must be clear");
   283       }
   287       }
   284     }
   288     }
   285 
   289 
   286     // Update the number of full collections that have been
   290     // Update the number of full collections that have been
   287     // completed. This will also notify the FullGCCount_lock in case a
   291     // completed. This will also notify the FullGCCount_lock in case a