equal
deleted
inserted
replaced
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 |