src/hotspot/share/runtime/sharedRuntime.cpp
changeset 58358 d658f4379c63
parent 58226 408c445d04e8
child 58545 725244418646
equal deleted inserted replaced
58356:feff88c68082 58358:d658f4379c63
  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),