diff -r 9a491d1be90f -r 51173444fdd5 hotspot/src/share/vm/gc/shared/gcId.cpp --- a/hotspot/src/share/vm/gc/shared/gcId.cpp Mon Oct 19 15:21:01 2015 +0200 +++ b/hotspot/src/share/vm/gc/shared/gcId.cpp Tue Oct 20 14:00:00 2015 +0200 @@ -60,12 +60,12 @@ } GCIdMarkAndRestore::GCIdMarkAndRestore() : _gc_id(GCId::create()) { - _previous_gc_id = GCId::current(); // will assert that the GC Id is not undefined + _previous_gc_id = GCId::current_raw(); currentNamedthread()->set_gc_id(_gc_id); } GCIdMarkAndRestore::GCIdMarkAndRestore(uint gc_id) : _gc_id(gc_id) { - _previous_gc_id = GCId::current(); // will assert that the GC Id is not undefinied + _previous_gc_id = GCId::current_raw(); currentNamedthread()->set_gc_id(_gc_id); }