--- a/hotspot/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp Wed Nov 05 16:39:10 2014 +0100
+++ b/hotspot/src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp Wed Nov 05 15:50:14 2014 +0100
@@ -280,6 +280,7 @@
// We may have aborted just before the remark. Do not bother clearing the
// bitmap then, as it has been done during mark abort.
if (!cm()->has_aborted()) {
+ SuspendibleThreadSetJoiner sts;
_cm->clearNextBitmap();
} else {
assert(!G1VerifyBitmaps || _cm->nextMarkBitmapIsClear(), "Next mark bitmap must be clear");