src/hotspot/share/oops/methodData.hpp
changeset 59248 e92153ed8bdc
parent 58668 eda750f21308
--- a/src/hotspot/share/oops/methodData.hpp	Mon Nov 25 12:22:13 2019 +0100
+++ b/src/hotspot/share/oops/methodData.hpp	Mon Nov 25 12:30:24 2019 +0100
@@ -2244,7 +2244,7 @@
     _rtm_state = (int)rstate;
   }
   void atomic_set_rtm_state(RTMState rstate) {
-    Atomic::store((int)rstate, &_rtm_state);
+    Atomic::store(&_rtm_state, (int)rstate);
   }
 
   static int rtm_state_offset_in_bytes() {