final class com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker implements com.oracle.svm.core.code.RuntimeCodeCache$CodeInfoVisitor
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker
  super_class: java.lang.Object
{
  private final com.oracle.svm.core.genscavenge.RuntimeCodeCacheReachabilityAnalyzer checkForUnreachableObjectsVisitor;
    descriptor: Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheReachabilityAnalyzer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.oracle.svm.core.heap.ObjectReferenceVisitor greyToBlackObjectVisitor;
    descriptor: Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(com.oracle.svm.core.heap.ObjectReferenceVisitor);
    descriptor: (Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker this
        start local 1 // com.oracle.svm.core.heap.ObjectReferenceVisitor greyToBlackObjectVisitor
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 55
            aload 0 /* this */
            new com.oracle.svm.core.genscavenge.RuntimeCodeCacheReachabilityAnalyzer
            dup
            invokespecial com.oracle.svm.core.genscavenge.RuntimeCodeCacheReachabilityAnalyzer.<init>:()V
            putfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.checkForUnreachableObjectsVisitor:Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheReachabilityAnalyzer;
         2: .line 56
            aload 0 /* this */
            aload 1 /* greyToBlackObjectVisitor */
            putfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.greyToBlackObjectVisitor:Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;
         3: .line 57
            return
        end local 1 // com.oracle.svm.core.heap.ObjectReferenceVisitor greyToBlackObjectVisitor
        end local 0 // com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0    4     0                      this  Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheWalker;
            0    4     1  greyToBlackObjectVisitor  Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;
    RuntimeVisibleAnnotations: 
      org.graalvm.nativeimage.Platforms(value = {Lorg/graalvm/nativeimage/Platform$HOSTED_ONLY;})
    MethodParameters:
                          Name  Flags
      greyToBlackObjectVisitor  

  public <T extends com.oracle.svm.core.code.CodeInfo> boolean visitCode();
    descriptor: (Lcom/oracle/svm/core/code/CodeInfo;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker this
        start local 1 // com.oracle.svm.core.code.CodeInfo codeInfo
         0: .line 62
            aload 1 /* codeInfo */
            invokestatic com.oracle.svm.core.code.RuntimeCodeInfoAccess.areAllObjectsOnImageHeap:(Lcom/oracle/svm/core/code/CodeInfo;)Z
            ifeq 2
         1: .line 63
            iconst_1
            ireturn
         2: .line 72
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.svm.core.SubstrateGCOptions.TreatRuntimeCodeInfoReferencesAsWeak:Lcom/oracle/svm/core/option/HostedOptionKey;
            invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            istore 2 /* invalidateCodeThatReferencesUnreachableObjects */
        start local 2 // boolean invalidateCodeThatReferencesUnreachableObjects
         3: .line 75
            aload 1 /* codeInfo */
            invokestatic com.oracle.svm.core.code.UntetheredCodeInfoAccess.getTetherUnsafe:(Lcom/oracle/svm/core/code/UntetheredCodeInfo;)Ljava/lang/Object;
            astore 3 /* tether */
        start local 3 // java.lang.Object tether
         4: .line 76
            aload 3 /* tether */
            ifnull 13
            aload 3 /* tether */
            invokestatic com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.isReachable:(Ljava/lang/Object;)Z
            ifne 13
         5: .line 77
            aload 1 /* codeInfo */
            invokestatic com.oracle.svm.core.code.CodeInfoAccess.getState:(Lcom/oracle/svm/core/code/CodeInfo;)I
            istore 4 /* state */
        start local 4 // int state
         6: .line 78
            iload 4 /* state */
            iconst_4
            if_icmpne 9
         7: .line 84
            aload 1 /* codeInfo */
            iconst_5
            invokestatic com.oracle.svm.core.code.CodeInfoAccess.setState:(Lcom/oracle/svm/core/code/CodeInfo;I)V
         8: .line 85
            iconst_1
            ireturn
         9: .line 94
      StackMap locals: int java.lang.Object int
      StackMap stack:
            iload 4 /* state */
            iconst_2
            if_icmpeq 10
            iload 2 /* invalidateCodeThatReferencesUnreachableObjects */
            ifeq 13
            iload 4 /* state */
            iconst_1
            if_icmpne 13
            aload 0 /* this */
            aload 1 /* codeInfo */
            invokevirtual com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.hasWeakReferenceToUnreachableObject:(Lcom/oracle/svm/core/code/CodeInfo;)Z
            ifeq 13
        10: .line 95
      StackMap locals:
      StackMap stack:
            aload 1 /* codeInfo */
            aload 0 /* this */
            getfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.greyToBlackObjectVisitor:Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;
            invokestatic com.oracle.svm.core.code.RuntimeCodeInfoAccess.walkObjectFields:(Lcom/oracle/svm/core/code/CodeInfo;Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;)Z
            pop
        11: .line 96
            aload 1 /* codeInfo */
            iconst_3
            invokestatic com.oracle.svm.core.code.CodeInfoAccess.setState:(Lcom/oracle/svm/core/code/CodeInfo;I)V
        12: .line 97
            iconst_1
            ireturn
        end local 4 // int state
        13: .line 109
      StackMap locals:
      StackMap stack:
            aload 1 /* codeInfo */
            aload 0 /* this */
            getfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.greyToBlackObjectVisitor:Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;
            invokestatic com.oracle.svm.core.code.RuntimeCodeInfoAccess.walkStrongReferences:(Lcom/oracle/svm/core/code/CodeInfo;Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;)Z
            pop
        14: .line 110
            aload 1 /* codeInfo */
            aload 0 /* this */
            getfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.greyToBlackObjectVisitor:Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;
            invokestatic com.oracle.svm.core.code.RuntimeCodeInfoAccess.walkWeakReferences:(Lcom/oracle/svm/core/code/CodeInfo;Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;)Z
            pop
        15: .line 111
            iconst_1
            ireturn
        end local 3 // java.lang.Object tether
        end local 2 // boolean invalidateCodeThatReferencesUnreachableObjects
        end local 1 // com.oracle.svm.core.code.CodeInfo codeInfo
        end local 0 // com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker this
      LocalVariableTable:
        Start  End  Slot                                            Name  Signature
            0   16     0                                            this  Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheWalker;
            0   16     1                                        codeInfo  TT;
            3   16     2  invalidateCodeThatReferencesUnreachableObjects  Z
            4   16     3                                          tether  Ljava/lang/Object;
            6   13     4                                           state  I
    Signature: <T::Lcom/oracle/svm/core/code/CodeInfo;>(TT;)Z
    MethodParameters:
          Name  Flags
      codeInfo  

  private static boolean isReachable(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Object possiblyForwardedObject
         0: .line 115
            aload 0 /* possiblyForwardedObject */
            invokestatic org.graalvm.compiler.word.Word.objectToUntrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
            invokestatic com.oracle.svm.core.genscavenge.RuntimeCodeCacheReachabilityAnalyzer.isReachable:(Lorg/graalvm/word/Pointer;)Z
            ireturn
        end local 0 // java.lang.Object possiblyForwardedObject
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0    1     0  possiblyForwardedObject  Ljava/lang/Object;
    MethodParameters:
                         Name  Flags
      possiblyForwardedObject  

  private boolean hasWeakReferenceToUnreachableObject(com.oracle.svm.core.code.CodeInfo);
    descriptor: (Lcom/oracle/svm/core/code/CodeInfo;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker this
        start local 1 // com.oracle.svm.core.code.CodeInfo codeInfo
         0: .line 119
            aload 0 /* this */
            getfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.checkForUnreachableObjectsVisitor:Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheReachabilityAnalyzer;
            invokevirtual com.oracle.svm.core.genscavenge.RuntimeCodeCacheReachabilityAnalyzer.initialize:()V
         1: .line 120
            aload 1 /* codeInfo */
            aload 0 /* this */
            getfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.checkForUnreachableObjectsVisitor:Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheReachabilityAnalyzer;
            invokestatic com.oracle.svm.core.code.RuntimeCodeInfoAccess.walkWeakReferences:(Lcom/oracle/svm/core/code/CodeInfo;Lcom/oracle/svm/core/heap/ObjectReferenceVisitor;)Z
            pop
         2: .line 121
            aload 0 /* this */
            getfield com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker.checkForUnreachableObjectsVisitor:Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheReachabilityAnalyzer;
            invokevirtual com.oracle.svm.core.genscavenge.RuntimeCodeCacheReachabilityAnalyzer.hasUnreachableObjects:()Z
            ireturn
        end local 1 // com.oracle.svm.core.code.CodeInfo codeInfo
        end local 0 // com.oracle.svm.core.genscavenge.RuntimeCodeCacheWalker this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lcom/oracle/svm/core/genscavenge/RuntimeCodeCacheWalker;
            0    3     1  codeInfo  Lcom/oracle/svm/core/code/CodeInfo;
    MethodParameters:
          Name  Flags
      codeInfo  
}
SourceFile: "RuntimeCodeCacheWalker.java"
InnerClasses:
  public abstract CodeInfoVisitor = com.oracle.svm.core.code.RuntimeCodeCache$CodeInfoVisitor of com.oracle.svm.core.code.RuntimeCodeCache