public class org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest 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.DeoptimizeDirectiveTest
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/DeoptimizeDirectiveTest;
public static boolean inCompiledCode();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.inCompiledCode:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testInCompiledCode();
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/DeoptimizeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean deoptimizeSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.inCompiledCode:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean deoptimizeAndInvalidateSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.inCompiledCode:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testDeoptimize();
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/DeoptimizeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
private boolean testDeoptimizeCheckValid(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest.executeExpected:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
astore 3
start local 3 2: new org.graalvm.compiler.core.test.GraalCompilerTest$Result
dup
aload 3
iconst_0
anewarray java.lang.Object
invokevirtual jdk.vm.ci.code.InstalledCode.executeVarargs:([Ljava/lang/Object;)Ljava/lang/Object;
aconst_null
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest$Result.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
astore 4
start local 4 3: goto 6
end local 4 StackMap locals: org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.core.test.GraalCompilerTest$Result jdk.vm.ci.code.InstalledCode
StackMap stack: java.lang.Exception
4: astore 5
start local 5 5: new org.graalvm.compiler.core.test.GraalCompilerTest$Result
dup
aconst_null
aload 5
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest$Result.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
astore 4
end local 5 start local 4 6: StackMap locals: org.graalvm.compiler.core.test.GraalCompilerTest$Result
StackMap stack:
aload 0
aload 2
aload 4
invokevirtual org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest.assertEquals:(Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;)V
7: aload 3
invokevirtual jdk.vm.ci.code.InstalledCode.isValid:()Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/api/directives/test/DeoptimizeDirectiveTest;
0 8 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
1 8 2 expected Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
2 8 3 code Ljdk/vm/ci/code/InstalledCode;
3 4 4 actual Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
6 8 4 actual Lorg/graalvm/compiler/core/test/GraalCompilerTest$Result;
5 6 5 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
MethodParameters:
Name Flags
method
public void testDeoptimizeAndInvalidate();
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 problems: \n\tTest cannot be resolved to a type\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/DeoptimizeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public void testDeoptimizeDontInvalidate();
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 problems: \n\tTest cannot be resolved to a type\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/DeoptimizeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static int zeroBranchProbabilitySnippet(boolean);
descriptor: (Z)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: dconst_0
iload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
ifeq 3
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
4: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 flag Z
MethodParameters:
Name Flags
flag
public void testZeroBranchProbability();
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/DeoptimizeDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "DeoptimizeDirectiveTest.java"
InnerClasses:
public Result = org.graalvm.compiler.core.test.GraalCompilerTest$Result of org.graalvm.compiler.core.test.GraalCompilerTest