< prev index next >

src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp

Print this page

        

*** 416,426 **** } static volatile int jfr_shutdown_lock = 0; static bool guard_reentrancy() { ! return Atomic::cmpxchg(1, &jfr_shutdown_lock, 0) == 0; } class JavaThreadInVM : public StackObj { private: JavaThread* const _jt; --- 416,426 ---- } static volatile int jfr_shutdown_lock = 0; static bool guard_reentrancy() { ! return Atomic::cmpxchg(&jfr_shutdown_lock, 0, 1) == 0; } class JavaThreadInVM : public StackObj { private: JavaThread* const _jt;
< prev index next >