< prev index next >

src/hotspot/share/services/attachListener.hpp

Print this page

        

*** 84,94 **** private: static volatile AttachListenerState _state; public: static void set_state(AttachListenerState new_state) { ! Atomic::store(new_state, &_state); } static AttachListenerState get_state() { return Atomic::load(&_state); } --- 84,94 ---- private: static volatile AttachListenerState _state; public: static void set_state(AttachListenerState new_state) { ! Atomic::store(&_state, new_state); } static AttachListenerState get_state() { return Atomic::load(&_state); }
*** 101,111 **** static bool is_initialized() { return Atomic::load(&_state) == AL_INITIALIZED; } static void set_initialized() { ! Atomic::store(AL_INITIALIZED, &_state); } // indicates if this VM supports attach-on-demand static bool is_attach_supported() { return !DisableAttachMechanism; } --- 101,111 ---- static bool is_initialized() { return Atomic::load(&_state) == AL_INITIALIZED; } static void set_initialized() { ! Atomic::store(&_state, AL_INITIALIZED); } // indicates if this VM supports attach-on-demand static bool is_attach_supported() { return !DisableAttachMechanism; }
< prev index next >