--- old/src/hotspot/share/services/attachListener.hpp 2019-11-21 11:52:17.146067906 +0100 +++ new/src/hotspot/share/services/attachListener.hpp 2019-11-21 11:52:16.662060000 +0100 @@ -86,7 +86,7 @@ public: static void set_state(AttachListenerState new_state) { - Atomic::store(new_state, &_state); + Atomic::store(&_state, new_state); } static AttachListenerState get_state() { @@ -103,7 +103,7 @@ } static void set_initialized() { - Atomic::store(AL_INITIALIZED, &_state); + Atomic::store(&_state, AL_INITIALIZED); } // indicates if this VM supports attach-on-demand