diff --git a/src/hotspot/share/gc/shared/barrierSet.hpp b/src/hotspot/share/gc/shared/barrierSet.hpp index 38abd68..412c98d 100644 --- a/src/hotspot/share/gc/shared/barrierSet.hpp +++ b/src/hotspot/share/gc/shared/barrierSet.hpp @@ -135,6 +135,7 @@ public: // nmethod entry barrier support virtual bool needs_nmethod_entry_barrier() const { return false; } + virtual int nmethod_entry_barrier_state() const { return 0; } virtual ByteSize nmethod_entry_barrier_state_thread_offset() const { return in_ByteSize(0); } virtual bool on_nmethod_entry_barrier(nmethod* nm, nmethodBarrier* nmbarrier);