--- a/src/hotspot/share/gc/z/zRelocate.cpp Fri Aug 23 08:48:18 2019 +0200
+++ b/src/hotspot/share/gc/z/zRelocate.cpp Fri Aug 23 08:48:23 2019 +0200
@@ -69,12 +69,12 @@
public:
ZRelocateRootsTask() :
ZTask("ZRelocateRootsTask"),
- _roots() {}
+ _roots(true /* visit_invisible */, true /* visit_jvmti_weak_export */) {}
virtual void work() {
// During relocation we need to visit the JVMTI
// export weak roots to rehash the JVMTI tag map
- _roots.oops_do(&_cl, true /* visit_jvmti_weak_export */);
+ _roots.oops_do(&_cl);
}
};