hotspot/src/share/vm/code/nmethod.cpp
changeset 41715 296ff044b943
parent 40655 9f644073d3a0
child 42040 70ec5a09a0d5
equal deleted inserted replaced
41714:fc78950ecfe4 41715:296ff044b943
  1250     // could be flushed and the compiler and vtable stubs could still call
  1250     // could be flushed and the compiler and vtable stubs could still call
  1251     // through it.
  1251     // through it.
  1252     if (method() != NULL && (method()->code() == this ||
  1252     if (method() != NULL && (method()->code() == this ||
  1253                              method()->from_compiled_entry() == verified_entry_point())) {
  1253                              method()->from_compiled_entry() == verified_entry_point())) {
  1254       HandleMark hm;
  1254       HandleMark hm;
  1255       method()->clear_code();
  1255       method()->clear_code(false /* already owns Patching_lock */);
  1256     }
  1256     }
  1257   } // leave critical region under Patching_lock
  1257   } // leave critical region under Patching_lock
  1258 
  1258 
  1259 #ifdef ASSERT
  1259 #ifdef ASSERT
  1260   if (is_osr_method() && method() != NULL) {
  1260   if (is_osr_method() && method() != NULL) {