hotspot/src/share/vm/code/codeCache.cpp
changeset 46727 6e4a84748e2c
parent 46661 d40e6ce22209
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
  1283 }
  1283 }
  1284 #endif // HOTSWAP
  1284 #endif // HOTSWAP
  1285 
  1285 
  1286 
  1286 
  1287 // Flushes compiled methods dependent on dependee
  1287 // Flushes compiled methods dependent on dependee
  1288 void CodeCache::flush_dependents_on_method(methodHandle m_h) {
  1288 void CodeCache::flush_dependents_on_method(const methodHandle& m_h) {
  1289   // --- Compile_lock is not held. However we are at a safepoint.
  1289   // --- Compile_lock is not held. However we are at a safepoint.
  1290   assert_locked_or_safepoint(Compile_lock);
  1290   assert_locked_or_safepoint(Compile_lock);
  1291 
  1291 
  1292   // CodeCache can only be updated by a thread_in_VM and they will all be
  1292   // CodeCache can only be updated by a thread_in_VM and they will all be
  1293   // stopped dring the safepoint so CodeCache will be safe to update without
  1293   // stopped dring the safepoint so CodeCache will be safe to update without