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