src/hotspot/share/gc/z/zForwarding.inline.hpp
changeset 59248 e92153ed8bdc
parent 58237 944b58cbaf93
child 59250 a6deb69743d4
--- a/src/hotspot/share/gc/z/zForwarding.inline.hpp	Mon Nov 25 12:22:13 2019 +0100
+++ b/src/hotspot/share/gc/z/zForwarding.inline.hpp	Mon Nov 25 12:30:24 2019 +0100
@@ -54,7 +54,7 @@
 }
 
 inline void ZForwarding::set_pinned() {
-  Atomic::store(true, &_pinned);
+  Atomic::store(&_pinned, true);
 }
 
 inline bool ZForwarding::inc_refcount() {