diff -r 97125851f396 -r dd57230ba8fe src/share/vm/opto/bytecodeInfo.cpp --- a/src/share/vm/opto/bytecodeInfo.cpp Tue Jan 05 13:05:58 2010 +0100 +++ b/src/share/vm/opto/bytecodeInfo.cpp Tue Jan 05 15:21:25 2010 +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()