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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
         0: .line 36
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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: .line 39
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
         0: .line 42
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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: .line 54
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimize:()V
         1: .line 55
            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: .line 59
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.deoptimizeAndInvalidate:()V
         1: .line 60
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
         0: .line 63
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
         0: .line 69
            aload 0 /* this */
            aload 1 /* method */
            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 /* expected */
        start local 2 // org.graalvm.compiler.core.test.GraalCompilerTest$Result expected
         1: .line 71
            aload 0 /* this */
            aload 1 /* method */
            invokevirtual org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
            astore 3 /* code */
        start local 3 // jdk.vm.ci.code.InstalledCode code
         2: .line 74
            new org.graalvm.compiler.core.test.GraalCompilerTest$Result
            dup
            aload 3 /* code */
            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 /* actual */
        start local 4 // org.graalvm.compiler.core.test.GraalCompilerTest$Result actual
         3: .line 75
            goto 6
        end local 4 // org.graalvm.compiler.core.test.GraalCompilerTest$Result actual
      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 /* e */
        start local 5 // java.lang.Exception e
         5: .line 76
            new org.graalvm.compiler.core.test.GraalCompilerTest$Result
            dup
            aconst_null
            aload 5 /* e */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest$Result.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
            astore 4 /* actual */
        end local 5 // java.lang.Exception e
        start local 4 // org.graalvm.compiler.core.test.GraalCompilerTest$Result actual
         6: .line 79
      StackMap locals: org.graalvm.compiler.core.test.GraalCompilerTest$Result
      StackMap stack:
            aload 0 /* this */
            aload 2 /* expected */
            aload 4 /* actual */
            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: .line 80
            aload 3 /* code */
            invokevirtual jdk.vm.ci.code.InstalledCode.isValid:()Z
            ireturn
        end local 4 // org.graalvm.compiler.core.test.GraalCompilerTest$Result actual
        end local 3 // jdk.vm.ci.code.InstalledCode code
        end local 2 // org.graalvm.compiler.core.test.GraalCompilerTest$Result expected
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
         0: .line 83
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
         0: .line 90
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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 // boolean flag
         0: .line 98
            dconst_0
            iload 0 /* flag */
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
            ifeq 3
         1: .line 99
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         2: .line 100
            iconst_1
            ireturn
         3: .line 102
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         4: .line 103
            iconst_2
            ireturn
        end local 0 // boolean flag
      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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
         0: .line 107
            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 // org.graalvm.compiler.api.directives.test.DeoptimizeDirectiveTest this
      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