--- old/src/share/vm/opto/bytecodeInfo.cpp 2009-12-03 11:54:34.760734222 +0100 +++ new/src/share/vm/opto/bytecodeInfo.cpp 2009-12-03 11:54:34.635371545 +0100 @@ -180,6 +180,10 @@ return NULL; } + // Always inline MethodHandle methods. + if (callee_method->is_method_handle_invoke()) + return NULL; + // First check all inlining restrictions which are required for correctness if (callee_method->is_abstract()) return "abstract method"; // note: we allow ik->is_abstract()