equal
deleted
inserted
replaced
550 } |
550 } |
551 } |
551 } |
552 |
552 |
553 // ---------------------------------------------------------------------------- |
553 // ---------------------------------------------------------------------------- |
554 |
554 |
555 void CompiledStaticCall::set_to_clean() { |
555 void CompiledStaticCall::set_to_clean(bool in_use) { |
|
556 // in_use is unused but needed to match template function in CompiledMethod |
556 assert (CompiledIC_lock->is_locked() || SafepointSynchronize::is_at_safepoint(), "mt unsafe call"); |
557 assert (CompiledIC_lock->is_locked() || SafepointSynchronize::is_at_safepoint(), "mt unsafe call"); |
557 // Reset call site |
558 // Reset call site |
558 MutexLockerEx pl(SafepointSynchronize::is_at_safepoint() ? NULL : Patching_lock, Mutex::_no_safepoint_check_flag); |
559 MutexLockerEx pl(SafepointSynchronize::is_at_safepoint() ? NULL : Patching_lock, Mutex::_no_safepoint_check_flag); |
559 #ifdef ASSERT |
560 #ifdef ASSERT |
560 CodeBlob* cb = CodeCache::find_blob_unsafe(instruction_address()); |
561 CodeBlob* cb = CodeCache::find_blob_unsafe(instruction_address()); |