< prev index next >

src/hotspot/share/runtime/thread.hpp


*** 326,335 **** --- 326,350 ---- public: void set_last_handle_mark(HandleMark* mark) { _last_handle_mark = mark; } HandleMark* last_handle_mark() const { return _last_handle_mark; } private: + #ifdef ASSERT + void* _missed_ic_stub_refill_mark; + + public: + void* missed_ic_stub_refill_mark() { + return _missed_ic_stub_refill_mark; + } + + void set_missed_ic_stub_refill_mark(void* mark) { + _missed_ic_stub_refill_mark = mark; + } + #endif + + private: + // debug support for checking if code does allow safepoints or not // GC points in the VM can happen because of allocation, invoking a VM operation, or blocking on // mutex, or blocking on an object synchronizer (Java locking). // If !allow_safepoint(), then an assertion failure will happen in any of the above cases // If !allow_allocation(), then an assertion failure will happen during allocation
< prev index next >