--- a/src/hotspot/share/gc/z/zOopClosures.inline.hpp Wed Sep 19 09:24:40 2018 -0700
+++ b/src/hotspot/share/gc/z/zOopClosures.inline.hpp Wed Sep 19 19:12:18 2018 +0200
@@ -40,22 +40,6 @@
ShouldNotReachHere();
}
-inline void ZMarkRootOopClosure::do_oop(oop* p) {
- ZBarrier::mark_barrier_on_root_oop_field(p);
-}
-
-inline void ZMarkRootOopClosure::do_oop(narrowOop* p) {
- ShouldNotReachHere();
-}
-
-inline void ZRelocateRootOopClosure::do_oop(oop* p) {
- ZBarrier::relocate_barrier_on_root_oop_field(p);
-}
-
-inline void ZRelocateRootOopClosure::do_oop(narrowOop* p) {
- ShouldNotReachHere();
-}
-
template <bool finalizable>
inline ZMarkBarrierOopClosure<finalizable>::ZMarkBarrierOopClosure() :
BasicOopIterateClosure(finalizable ? NULL : ZHeap::heap()->reference_discoverer()) {}