equal
deleted
inserted
replaced
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) { |