--- a/src/hotspot/share/gc/g1/g1FullGCMarker.cpp Tue Oct 16 13:14:18 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1FullGCMarker.cpp Tue Oct 16 13:16:11 2018 +0200
@@ -23,6 +23,7 @@
*/
#include "precompiled.hpp"
+#include "classfile/classLoaderData.hpp"
#include "gc/g1/g1FullGCMarker.inline.hpp"
#include "gc/shared/referenceProcessor.hpp"
#include "memory/iterator.inline.hpp"
@@ -36,7 +37,7 @@
_mark_closure(worker_id, this, G1CollectedHeap::heap()->ref_processor_stw()),
_verify_closure(VerifyOption_G1UseFullMarking),
_stack_closure(this),
- _cld_closure(mark_closure()) {
+ _cld_closure(mark_closure(), ClassLoaderData::_claim_strong) {
_oop_stack.initialize();
_objarray_stack.initialize();
}