< prev index next >

src/hotspot/share/interpreter/oopMapCache.cpp

Print this page

        

@@ -446,11 +446,11 @@
   // Deallocate array
   FREE_C_HEAP_ARRAY(OopMapCacheEntry*, _array);
 }
 
 OopMapCacheEntry* OopMapCache::entry_at(int i) const {
-  return OrderAccess::load_acquire(&(_array[i % _size]));
+  return Atomic::load_acquire(&(_array[i % _size]));
 }
 
 bool OopMapCache::put_at(int i, OopMapCacheEntry* entry, OopMapCacheEntry* old) {
   return Atomic::cmpxchg(entry, &_array[i % _size], old) == old;
 }
< prev index next >