public class org.graalvm.compiler.replacements.test.PointerTrackingTest extends org.graalvm.compiler.replacements.test.ReplacementsTest implements org.graalvm.compiler.replacements.Snippets
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.replacements.test.PointerTrackingTest
  super_class: org.graalvm.compiler.replacements.test.ReplacementsTest
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
         0: .line 43
            aload 0 /* this */
            invokespecial org.graalvm.compiler.replacements.test.ReplacementsTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;

  public void testTracking();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
         0: .line 45
            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.replacements.test.PointerTrackingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static java.lang.String trackingSnippet(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=10, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 52
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.replacements.test.PointerTrackingTest.getTrackedPointer:(Ljava/lang/Object;)J
            lstore 1 /* trackedBeforeGC */
        start local 1 // long trackedBeforeGC
         1: .line 53
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.replacements.test.PointerTrackingTest.getUntrackedPointer:(Ljava/lang/Object;)J
            lstore 3 /* untrackedBeforeGC */
        start local 3 // long untrackedBeforeGC
         2: .line 55
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         3: .line 56
            goto 7
         4: .line 57
      StackMap locals: long long int
      StackMap stack:
            invokestatic java.lang.System.gc:()V
         5: .line 58
            iload 5 /* i */
            iinc 5 /* i */ 1
            bipush 100
            if_icmple 7
         6: .line 59
            ldc "Timeout! Object didn't move after 100 GCs."
            areturn
         7: .line 56
      StackMap locals:
      StackMap stack:
            lload 3 /* untrackedBeforeGC */
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.replacements.test.PointerTrackingTest.getTrackedPointer:(Ljava/lang/Object;)J
            lcmp
            ifeq 4
         8: .line 63
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.replacements.test.PointerTrackingTest.getTrackedPointer:(Ljava/lang/Object;)J
            lstore 6 /* trackedAfterGC */
        start local 6 // long trackedAfterGC
         9: .line 64
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.replacements.test.PointerTrackingTest.getUntrackedPointer:(Ljava/lang/Object;)J
            lstore 8 /* untrackedAfterGC */
        start local 8 // long untrackedAfterGC
        10: .line 66
            lload 3 /* untrackedBeforeGC */
            lload 8 /* untrackedAfterGC */
            lcmp
            ifne 12
        11: .line 71
            ldc "untrackedBeforeGC == untrackedAfterGC"
            areturn
        12: .line 73
      StackMap locals: long long
      StackMap stack:
            lload 1 /* trackedBeforeGC */
            lload 6 /* trackedAfterGC */
            lcmp
            ifeq 14
        13: .line 78
            ldc "trackedBeforeGC != trackedAfterGC"
            areturn
        14: .line 81
      StackMap locals:
      StackMap stack:
            ldc "OK"
            areturn
        end local 8 // long untrackedAfterGC
        end local 6 // long trackedAfterGC
        end local 5 // int i
        end local 3 // long untrackedBeforeGC
        end local 1 // long trackedBeforeGC
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   15     0                obj  Ljava/lang/Object;
            1   15     1    trackedBeforeGC  J
            2   15     3  untrackedBeforeGC  J
            3   15     5                  i  I
            9   15     6     trackedAfterGC  J
           10   15     8   untrackedAfterGC  J
    MethodParameters:
      Name  Flags
      obj   

  public void testVerification();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
         0: .line 84
            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.replacements.test.PointerTrackingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static long verificationSnippet(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 94
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.replacements.test.PointerTrackingTest.getTrackedPointer:(Ljava/lang/Object;)J
            ldc 7
            lmul
            ldc 3
            ladd
            lstore 1 /* value */
        start local 1 // long value
         1: .line 101
            lload 1 /* value */
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.blackhole:(J)V
         2: .line 102
            invokestatic java.lang.System.gc:()V
         3: .line 103
            lload 1 /* value */
            lreturn
        end local 1 // long value
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0    obj  Ljava/lang/Object;
            1    4     1  value  J
    MethodParameters:
      Name  Flags
      obj   

  static long getTrackedPointer(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 107
            ldc "should be intrinsified"
            invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            athrow
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  static long getUntrackedPointer(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 111
            ldc "should be intrinsified"
            invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            athrow
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  static long getTrackedPointerIntrinsic(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 115
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            lreturn
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  static long getUntrackedPointerIntrinsic(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 119
            aload 0 /* obj */
            invokestatic org.graalvm.compiler.word.Word.objectToUntrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            lreturn
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  private void register(org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration, java.lang.String);
    descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=5, args_size=3
        start local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
        start local 1 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
        start local 2 // java.lang.String fnName
         0: .line 123
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 2 /* fnName */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "Intrinsic"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.graalvm.compiler.replacements.test.PointerTrackingTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            astore 3 /* intrinsic */
        start local 3 // jdk.vm.ci.meta.ResolvedJavaMethod intrinsic
         1: .line 124
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.PointerTrackingTest.getSystemClassLoaderBytecodeProvider:()Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            astore 4 /* bytecodeProvider */
        start local 4 // org.graalvm.compiler.bytecode.BytecodeProvider bytecodeProvider
         2: .line 125
            aload 1 /* r */
            aload 2 /* fnName */
            ldc Ljava/lang/Object;
            new org.graalvm.compiler.replacements.test.PointerTrackingTest$1
            dup
            aload 0 /* this */
            aload 4 /* bytecodeProvider */
            aload 3 /* intrinsic */
            invokespecial org.graalvm.compiler.replacements.test.PointerTrackingTest$1.<init>:(Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
            invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.register1:(Ljava/lang/String;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;)V
         3: .line 131
            return
        end local 4 // org.graalvm.compiler.bytecode.BytecodeProvider bytecodeProvider
        end local 3 // jdk.vm.ci.meta.ResolvedJavaMethod intrinsic
        end local 2 // java.lang.String fnName
        end local 1 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
        end local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    4     0              this  Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;
            0    4     1                 r  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
            0    4     2            fnName  Ljava/lang/String;
            1    4     3         intrinsic  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            2    4     4  bytecodeProvider  Lorg/graalvm/compiler/bytecode/BytecodeProvider;
    MethodParameters:
        Name  Flags
      r       
      fnName  

  protected void registerInvocationPlugins(org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins);
    descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
        start local 1 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
         0: .line 135
            new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration
            dup
            aload 1 /* invocationPlugins */
            ldc Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;
            invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;Ljava/lang/reflect/Type;)V
            astore 2 /* r */
        start local 2 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
         1: .line 137
            aload 0 /* this */
            aload 2 /* r */
            ldc "getTrackedPointer"
            invokevirtual org.graalvm.compiler.replacements.test.PointerTrackingTest.register:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;Ljava/lang/String;)V
         2: .line 138
            aload 0 /* this */
            aload 2 /* r */
            ldc "getUntrackedPointer"
            invokevirtual org.graalvm.compiler.replacements.test.PointerTrackingTest.register:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;Ljava/lang/String;)V
         3: .line 139
            return
        end local 2 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
        end local 1 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
        end local 0 // org.graalvm.compiler.replacements.test.PointerTrackingTest this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    4     0               this  Lorg/graalvm/compiler/replacements/test/PointerTrackingTest;
            0    4     1  invocationPlugins  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
            1    4     2                  r  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
    MethodParameters:
                   Name  Flags
      invocationPlugins  
}
SourceFile: "PointerTrackingTest.java"
NestMembers:
  org.graalvm.compiler.replacements.test.PointerTrackingTest$1
InnerClasses:
  public Registration = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins
  org.graalvm.compiler.replacements.test.PointerTrackingTest$1