diff -r 89b942323bd1 -r c59f1676d27e hotspot/src/share/vm/gc/shared/barrierSet.hpp --- a/hotspot/src/share/vm/gc/shared/barrierSet.hpp Thu Oct 08 10:25:45 2015 +0000 +++ b/hotspot/src/share/vm/gc/shared/barrierSet.hpp Thu Oct 08 12:49:30 2015 -1000 @@ -188,6 +188,9 @@ 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; public: