--- old/src/hotspot/share/gc/shared/barrierSet.hpp 2017-11-02 08:30:06.000000000 +0100 +++ new/src/hotspot/share/gc/shared/barrierSet.hpp 2017-11-02 08:30:06.000000000 +0100 @@ -120,9 +120,6 @@ static void static_write_ref_array_pre(HeapWord* start, size_t count); static void static_write_ref_array_post(HeapWord* start, size_t count); - virtual void write_ref_nmethod_pre(oop* dst, nmethod* nm) {} - virtual void write_ref_nmethod_post(oop* dst, nmethod* nm) {} - protected: virtual void write_ref_array_work(MemRegion mr) = 0;