src/hotspot/share/code/compiledIC.cpp
changeset 50416 ef980b9ac191
parent 49655 d6893a76c554
child 51314 82adcc8ad853
equal deleted inserted replaced
50415:e4301f8c3aaa 50416:ef980b9ac191
   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());