src/hotspot/share/code/compiledMethod.cpp
changeset 59247 56bf71d64d51
parent 59056 15936b142f86
child 59248 e92153ed8bdc
--- a/src/hotspot/share/code/compiledMethod.cpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/code/compiledMethod.cpp	Mon Nov 25 12:22:13 2019 +0100
@@ -113,7 +113,7 @@
 //-----------------------------------------------------------------------------
 
 ExceptionCache* CompiledMethod::exception_cache_acquire() const {
-  return OrderAccess::load_acquire(&_exception_cache);
+  return Atomic::load_acquire(&_exception_cache);
 }
 
 void CompiledMethod::add_exception_cache_entry(ExceptionCache* new_entry) {