< prev index next >

src/hotspot/share/memory/metaspace.cpp

Print this page

        

@@ -126,11 +126,11 @@
 
   return delta;
 }
 
 size_t MetaspaceGC::capacity_until_GC() {
-  size_t value = OrderAccess::load_acquire(&_capacity_until_GC);
+  size_t value = Atomic::load_acquire(&_capacity_until_GC);
   assert(value >= MetaspaceSize, "Not initialized properly?");
   return value;
 }
 
 // Try to increase the _capacity_until_GC limit counter by v bytes.
< prev index next >