public class org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest 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.api.directives.test.BlackholeDirectiveTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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/api/directives/test/BlackholeDirectiveTest;
public static int booleanSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_3
if_icmple 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifeq 5
4: iconst_1
ireturn
5: StackMap locals: int
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 arg I
3 6 1 b Z
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet(expectParameterUsage = false)
MethodParameters:
Name Flags
arg
public static int blackholeBooleanSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_3
if_icmple 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Z)V
4: iload 1
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: int
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 arg I
3 7 1 b Z
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet(expectParameterUsage = true)
MethodParameters:
Name Flags
arg
public void testBoolean();
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/api/directives/test/BlackholeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static int intSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 42
iload 0
iadd
istore 1
start local 1 1: iload 1
iload 0
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arg I
1 2 1 x I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet(expectParameterUsage = false)
MethodParameters:
Name Flags
arg
public static int blackholeIntSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 42
iload 0
iadd
istore 1
start local 1 1: iload 1
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(I)V
2: iload 1
iload 0
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arg I
1 3 1 x I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet(expectParameterUsage = true)
MethodParameters:
Name Flags
arg
public void testInt();
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/api/directives/test/BlackholeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static int objectSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy
dup
invokespecial org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy.<init>:()V
astore 1
start local 1 1: aload 1
getfield org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy.x:I
istore 2
start local 2 2: aload 1
iload 0
putfield org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy.x:I
3: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arg I
1 4 1 obj Lorg/graalvm/compiler/api/directives/test/BlackholeDirectiveTest$Dummy;
2 4 2 ret I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet(expectParameterUsage = false)
MethodParameters:
Name Flags
arg
public static int blackholeObjectSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy
dup
invokespecial org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy.<init>:()V
astore 1
start local 1 1: aload 1
getfield org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy.x:I
istore 2
start local 2 2: aload 1
iload 0
putfield org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy.x:I
3: aload 1
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(Ljava/lang/Object;)V
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 arg I
1 5 1 obj Lorg/graalvm/compiler/api/directives/test/BlackholeDirectiveTest$Dummy;
2 5 2 ret I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet(expectParameterUsage = true)
MethodParameters:
Name Flags
arg
public void testObject();
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/api/directives/test/BlackholeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.phases.OptimisticOptimizations getOptimisticOptimizations();
descriptor: ()Lorg/graalvm/compiler/phases/OptimisticOptimizations;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.phases.OptimisticOptimizations.ALL:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
iconst_1
anewarray org.graalvm.compiler.phases.OptimisticOptimizations$Optimization
dup
iconst_0
getstatic org.graalvm.compiler.phases.OptimisticOptimizations$Optimization.RemoveNeverExecutedCode:Lorg/graalvm/compiler/phases/OptimisticOptimizations$Optimization;
aastore
invokevirtual org.graalvm.compiler.phases.OptimisticOptimizations.remove:([Lorg/graalvm/compiler/phases/OptimisticOptimizations$Optimization;)Lorg/graalvm/compiler/phases/OptimisticOptimizations;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/BlackholeDirectiveTest;
protected void checkLowTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\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/api/directives/test/BlackholeDirectiveTest;
MethodParameters:
Name Flags
graph
}
SourceFile: "BlackholeDirectiveTest.java"
NestMembers:
org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy
InnerClasses:
private abstract BlackholeSnippet = org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$BlackholeSnippet of org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest
private Dummy = org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest$Dummy of org.graalvm.compiler.api.directives.test.BlackholeDirectiveTest
public final Optimization = org.graalvm.compiler.phases.OptimisticOptimizations$Optimization of org.graalvm.compiler.phases.OptimisticOptimizations