public class org.graalvm.compiler.jtt.lang.LambdaEagerTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.jtt.lang.LambdaEagerTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final java.util.EnumSet<jdk.vm.ci.meta.DeoptimizationReason> UNRESOLVED_UNREACHED;
descriptor: Ljava/util/EnumSet;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/EnumSet<Ljdk/vm/ci/meta/DeoptimizationReason;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.vm.ci.meta.DeoptimizationReason.Unresolved:Ljdk/vm/ci/meta/DeoptimizationReason;
getstatic jdk.vm.ci.meta.DeoptimizationReason.UnreachedCode:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
putstatic org.graalvm.compiler.jtt.lang.LambdaEagerTest.UNRESOLVED_UNREACHED:Ljava/util/EnumSet;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/lang/LambdaEagerTest;
private static int doBinary(java.util.function.IntBinaryOperator, int, int);
descriptor: (Ljava/util/function/IntBinaryOperator;II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokeinterface java.util.function.IntBinaryOperator.applyAsInt:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 op Ljava/util/function/IntBinaryOperator;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
op
x
y
private static int add(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
MethodParameters:
Name Flags
x
y
public static int nonCapturing(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokedynamic applyAsInt()Ljava/util/function/IntBinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(II)I
org/graalvm/compiler/jtt/lang/LambdaEagerTest.lambda$0(II)I (6)
(II)I
iload 0
iload 1
invokestatic org.graalvm.compiler.jtt.lang.LambdaEagerTest.doBinary:(Ljava/util/function/IntBinaryOperator;II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
MethodParameters:
Name Flags
x
y
public static int nonCapturing2(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokedynamic applyAsInt()Ljava/util/function/IntBinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(II)I
org/graalvm/compiler/jtt/lang/LambdaEagerTest.add(II)I (6)
(II)I
iload 0
iload 1
invokestatic org.graalvm.compiler.jtt.lang.LambdaEagerTest.doBinary:(Ljava/util/function/IntBinaryOperator;II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
MethodParameters:
Name Flags
x
y
public static int capturing(int, int, int);
descriptor: (III)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
invokedynamic applyAsInt(I)Ljava/util/function/IntBinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(II)I
org/graalvm/compiler/jtt/lang/LambdaEagerTest.lambda$2(III)I (6)
(II)I
iload 0
iload 1
invokestatic org.graalvm.compiler.jtt.lang.LambdaEagerTest.doBinary:(Ljava/util/function/IntBinaryOperator;II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
0 1 2 z I
MethodParameters:
Name Flags
x
y
z
public void testEagerResolveNonCapturing01();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/lang/LambdaEagerTest;
RuntimeInvisibleAnnotations:
Test()
public void testEagerResolveNonCapturing02();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/lang/LambdaEagerTest;
RuntimeInvisibleAnnotations:
Test()
public void testEagerResolveCapturing();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/lang/LambdaEagerTest;
RuntimeInvisibleAnnotations:
Test()
protected jdk.vm.ci.code.InstalledCode getCode(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.StructuredGraph, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;Z)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: getstatic org.graalvm.compiler.core.common.GraalOptions.InlineEverything:Lorg/graalvm/compiler/options/OptionValue;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.graalvm.compiler.options.OptionValue.override:(Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/Object;)Lorg/graalvm/compiler/options/OptionValue$OverrideScope;
astore 6
start local 6 2: aload 0
aload 1
aload 2
iload 3
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;Z)Ljdk/vm/ci/code/InstalledCode;
3: aload 6
ifnull 4
aload 6
invokevirtual org.graalvm.compiler.options.OptionValue$OverrideScope.close:()V
4: StackMap locals: org.graalvm.compiler.jtt.lang.LambdaEagerTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope
StackMap stack: jdk.vm.ci.code.InstalledCode
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 4
6: aload 6
ifnull 7
aload 6
invokevirtual org.graalvm.compiler.options.OptionValue$OverrideScope.close:()V
end local 6 StackMap locals:
StackMap stack:
7: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
aload 4
ifnonnull 9
aload 5
astore 4
goto 10
StackMap locals:
StackMap stack:
9: aload 4
aload 5
if_acmpeq 10
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/jtt/lang/LambdaEagerTest;
0 11 1 installedCodeOwner Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 11 3 forceCompile Z
2 7 6 scope Lorg/graalvm/compiler/options/OptionValue$OverrideScope;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
MethodParameters:
Name Flags
installedCodeOwner
graph
forceCompile
private static int lambda$0(int, int);
descriptor: (II)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a I
0 1 1 b I
private static int lambda$2(int, int, int);
descriptor: (III)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 1 start local 2 0: iload 1
iload 2
iadd
iload 0
isub
ireturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 a I
0 1 2 b I
}
SourceFile: "LambdaEagerTest.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract OverrideScope = org.graalvm.compiler.options.OptionValue$OverrideScope of org.graalvm.compiler.options.OptionValue