src/hotspot/share/gc/g1/heapRegionRemSet.inline.hpp
changeset 59247 56bf71d64d51
parent 58552 906a9dd5d8e8
child 59290 97d13893ec3c
--- a/src/hotspot/share/gc/g1/heapRegionRemSet.inline.hpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/gc/g1/heapRegionRemSet.inline.hpp	Mon Nov 25 12:22:13 2019 +0100
@@ -65,7 +65,7 @@
   _bm.clear();
   // Make sure that the bitmap clearing above has been finished before publishing
   // this PRT to concurrent threads.
-  OrderAccess::release_store(&_hr, hr);
+  Atomic::release_store(&_hr, hr);
 }
 
 template <class Closure>