equal
deleted
inserted
replaced
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"); |