hotspot/src/share/vm/c1/c1_GraphBuilder.cpp
changeset 14478 1c4a20806af7
parent 14130 84137805c41f
child 14832 61b025224ac9
equal deleted inserted replaced
14477:95e66ea71f71 14478:1c4a20806af7
  1834   }
  1834   }
  1835 
  1835 
  1836   // check if we could do inlining
  1836   // check if we could do inlining
  1837   if (!PatchALot && Inline && klass->is_loaded() &&
  1837   if (!PatchALot && Inline && klass->is_loaded() &&
  1838       (klass->is_initialized() || klass->is_interface() && target->holder()->is_initialized())
  1838       (klass->is_initialized() || klass->is_interface() && target->holder()->is_initialized())
  1839       && target->will_link(klass, callee_holder, code)) {
  1839       && target->is_loaded()) {
  1840     // callee is known => check if we have static binding
  1840     // callee is known => check if we have static binding
  1841     assert(target->is_loaded(), "callee must be known");
  1841     assert(target->is_loaded(), "callee must be known");
  1842     if (code == Bytecodes::_invokestatic  ||
  1842     if (code == Bytecodes::_invokestatic  ||
  1843         code == Bytecodes::_invokespecial ||
  1843         code == Bytecodes::_invokespecial ||
  1844         code == Bytecodes::_invokevirtual && target->is_final_method() ||
  1844         code == Bytecodes::_invokevirtual && target->is_final_method() ||