src/hotspot/share/utilities/hashtable.inline.hpp
changeset 47634 6a0c42c40cd1
parent 47216 71c04702a3d5
child 50429 83aec1d357d4
--- a/src/hotspot/share/utilities/hashtable.inline.hpp	Mon Oct 16 20:22:41 2017 +0000
+++ b/src/hotspot/share/utilities/hashtable.inline.hpp	Mon Oct 16 22:36:06 2017 -0400
@@ -78,7 +78,7 @@
   //          SystemDictionary are read without locks.  The new entry must be
   //          complete before other threads can be allowed to see it
   //          via a store to _buckets[index].
-  OrderAccess::release_store_ptr(&_entry, l);
+  OrderAccess::release_store(&_entry, l);
 }
 
 
@@ -87,7 +87,7 @@
   //          SystemDictionary are read without locks.  The new entry must be
   //          complete before other threads can be allowed to see it
   //          via a store to _buckets[index].
-  return (BasicHashtableEntry<F>*) OrderAccess::load_ptr_acquire(&_entry);
+  return OrderAccess::load_acquire(&_entry);
 }