< prev index next >

src/hotspot/share/services/attachListener.hpp

Print this page

        

*** 93,103 **** return Atomic::load(&_state); } static AttachListenerState transit_state(AttachListenerState new_state, AttachListenerState cmp_state) { ! return Atomic::cmpxchg(new_state, &_state, cmp_state); } static bool is_initialized() { return Atomic::load(&_state) == AL_INITIALIZED; } --- 93,103 ---- return Atomic::load(&_state); } static AttachListenerState transit_state(AttachListenerState new_state, AttachListenerState cmp_state) { ! return Atomic::cmpxchg(&_state, cmp_state, new_state); } static bool is_initialized() { return Atomic::load(&_state) == AL_INITIALIZED; }
< prev index next >