src/share/vm/opto/bytecodeInfo.cpp

changeset 1573
dd57230ba8fe
parent 1572
97125851f396
child 1592
c3b315a0d58a
     1.1 --- a/src/share/vm/opto/bytecodeInfo.cpp	Tue Jan 05 13:05:58 2010 +0100
     1.2 +++ b/src/share/vm/opto/bytecodeInfo.cpp	Tue Jan 05 15:21:25 2010 +0100
     1.3 @@ -180,6 +180,10 @@
     1.4      return NULL;
     1.5    }
     1.6  
     1.7 +  // Always inline MethodHandle methods.
     1.8 +  if (callee_method->is_method_handle_invoke())
     1.9 +    return NULL;
    1.10 +
    1.11    // First check all inlining restrictions which are required for correctness
    1.12    if (callee_method->is_abstract())               return "abstract method";
    1.13    // note: we allow ik->is_abstract()

mercurial