equal
deleted
inserted
replaced
102 return NULL; |
102 return NULL; |
103 } |
103 } |
104 } |
104 } |
105 |
105 |
106 //----------------------------------------------------------------------------- |
106 //----------------------------------------------------------------------------- |
|
107 void CompiledMethod::mark_for_deoptimization(bool inc_recompile_counts) { |
|
108 MutexLocker ml(CompiledMethod_lock->owned_by_self() ? NULL : CompiledMethod_lock, |
|
109 Mutex::_no_safepoint_check_flag); |
|
110 _mark_for_deoptimization_status = (inc_recompile_counts ? deoptimize : deoptimize_noupdate); |
|
111 } |
|
112 |
|
113 //----------------------------------------------------------------------------- |
107 |
114 |
108 ExceptionCache* CompiledMethod::exception_cache_acquire() const { |
115 ExceptionCache* CompiledMethod::exception_cache_acquire() const { |
109 return OrderAccess::load_acquire(&_exception_cache); |
116 return OrderAccess::load_acquire(&_exception_cache); |
110 } |
117 } |
111 |
118 |