src/hotspot/share/code/compiledMethod.cpp
changeset 59247 56bf71d64d51
parent 59056 15936b142f86
child 59248 e92153ed8bdc
equal deleted inserted replaced
59246:fcad92f425c5 59247:56bf71d64d51
   111 }
   111 }
   112 
   112 
   113 //-----------------------------------------------------------------------------
   113 //-----------------------------------------------------------------------------
   114 
   114 
   115 ExceptionCache* CompiledMethod::exception_cache_acquire() const {
   115 ExceptionCache* CompiledMethod::exception_cache_acquire() const {
   116   return OrderAccess::load_acquire(&_exception_cache);
   116   return Atomic::load_acquire(&_exception_cache);
   117 }
   117 }
   118 
   118 
   119 void CompiledMethod::add_exception_cache_entry(ExceptionCache* new_entry) {
   119 void CompiledMethod::add_exception_cache_entry(ExceptionCache* new_entry) {
   120   assert(ExceptionCache_lock->owned_by_self(),"Must hold the ExceptionCache_lock");
   120   assert(ExceptionCache_lock->owned_by_self(),"Must hold the ExceptionCache_lock");
   121   assert(new_entry != NULL,"Must be non null");
   121   assert(new_entry != NULL,"Must be non null");