equal
deleted
inserted
replaced
1267 // Don't update call site if callee nmethod was replaced by an other nmethod |
1267 // Don't update call site if callee nmethod was replaced by an other nmethod |
1268 // which may happen when multiply alive nmethod (tiered compilation) |
1268 // which may happen when multiply alive nmethod (tiered compilation) |
1269 // will be supported. |
1269 // will be supported. |
1270 if (!callee_method->is_old() && |
1270 if (!callee_method->is_old() && |
1271 (callee == NULL || (callee->is_in_use() && callee_method->code() == callee))) { |
1271 (callee == NULL || (callee->is_in_use() && callee_method->code() == callee))) { |
|
1272 NoSafepointVerifier nsv; |
1272 #ifdef ASSERT |
1273 #ifdef ASSERT |
1273 // We must not try to patch to jump to an already unloaded method. |
1274 // We must not try to patch to jump to an already unloaded method. |
1274 if (dest_entry_point != 0) { |
1275 if (dest_entry_point != 0) { |
1275 CodeBlob* cb = CodeCache::find_blob(dest_entry_point); |
1276 CodeBlob* cb = CodeCache::find_blob(dest_entry_point); |
1276 assert((cb != NULL) && cb->is_compiled() && (((CompiledMethod*)cb) == callee), |
1277 assert((cb != NULL) && cb->is_compiled() && (((CompiledMethod*)cb) == callee), |