public final class com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry extends com.oracle.truffle.js.runtime.builtins.JSNonProxy implements com.oracle.truffle.js.runtime.builtins.JSConstructorFactory$Default, com.oracle.truffle.js.runtime.builtins.PrototypeSupplier
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry
  super_class: com.oracle.truffle.js.runtime.builtins.JSNonProxy
{
  public static final com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry INSTANCE;
    descriptor: Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String CLASS_NAME;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "FinalizationRegistry"

  public static final java.lang.String PROTOTYPE_NAME;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "FinalizationRegistry.prototype"

  public static final com.oracle.truffle.api.object.HiddenKey FINALIZATION_REGISTRY_ID;
    descriptor: Lcom/oracle/truffle/api/object/HiddenKey;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 62
            ldc Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.$assertionsDisabled:Z
         3: .line 64
            new com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry
            dup
            invokespecial com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.<init>:()V
            putstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
         4: .line 69
            new com.oracle.truffle.api.object.HiddenKey
            dup
            ldc "FinalizationRegistry"
            invokespecial com.oracle.truffle.api.object.HiddenKey.<init>:(Ljava/lang/String;)V
            putstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.FINALIZATION_REGISTRY_ID:Lcom/oracle/truffle/api/object/HiddenKey;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
         0: .line 71
            aload 0 /* this */
            invokespecial com.oracle.truffle.js.runtime.builtins.JSNonProxy.<init>:()V
         1: .line 72
            return
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;

  public static com.oracle.truffle.api.object.DynamicObject create(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.interop.TruffleObject);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/interop/TruffleObject;)Lcom/oracle/truffle/api/object/DynamicObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=5, args_size=2
        start local 0 // com.oracle.truffle.js.runtime.JSContext context
        start local 1 // com.oracle.truffle.api.interop.TruffleObject cleanupCallback
         0: .line 75
            aload 0 /* context */
            invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
            astore 2 /* realm */
        start local 2 // com.oracle.truffle.js.runtime.JSRealm realm
         1: .line 76
            aload 0 /* context */
            invokevirtual com.oracle.truffle.js.runtime.JSContext.getFinalizationRegistryFactory:()Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
            astore 3 /* factory */
        start local 3 // com.oracle.truffle.js.runtime.builtins.JSObjectFactory factory
         2: .line 77
            aload 3 /* factory */
            new com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject
            dup
            aload 3 /* factory */
            aload 2 /* realm */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/Shape;
            aload 1 /* cleanupCallback */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
            invokespecial com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.<init>:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/api/interop/TruffleObject;Ljava/util/List;Ljava/lang/ref/ReferenceQueue;)V
            aload 2 /* realm */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.initProto:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
            checkcast com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject
            astore 4 /* obj */
        start local 4 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject obj
         3: .line 78
            getstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.$assertionsDisabled:Z
            ifne 4
            aload 4 /* obj */
            invokestatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.isJSFinalizationRegistry:(Ljava/lang/Object;)Z
            ifne 4
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         4: .line 79
      StackMap locals: com.oracle.truffle.js.runtime.JSRealm com.oracle.truffle.js.runtime.builtins.JSObjectFactory com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject
      StackMap stack:
            aload 0 /* context */
            aload 4 /* obj */
            invokevirtual com.oracle.truffle.js.runtime.JSContext.registerFinalizationRegistry:(Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;)V
         5: .line 80
            aload 0 /* context */
            aload 4 /* obj */
            invokevirtual com.oracle.truffle.js.runtime.JSContext.trackAllocation:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 81
            aload 4 /* obj */
            areturn
        end local 4 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject obj
        end local 3 // com.oracle.truffle.js.runtime.builtins.JSObjectFactory factory
        end local 2 // com.oracle.truffle.js.runtime.JSRealm realm
        end local 1 // com.oracle.truffle.api.interop.TruffleObject cleanupCallback
        end local 0 // com.oracle.truffle.js.runtime.JSContext context
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    7     0          context  Lcom/oracle/truffle/js/runtime/JSContext;
            0    7     1  cleanupCallback  Lcom/oracle/truffle/api/interop/TruffleObject;
            1    7     2            realm  Lcom/oracle/truffle/js/runtime/JSRealm;
            2    7     3          factory  Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
            3    7     4              obj  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
    MethodParameters:
                 Name  Flags
      context          
      cleanupCallback  

  public com.oracle.truffle.api.object.DynamicObject createPrototype(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.api.object.DynamicObject);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
        start local 1 // com.oracle.truffle.js.runtime.JSRealm realm
        start local 2 // com.oracle.truffle.api.object.DynamicObject ctor
         0: .line 86
            aload 1 /* realm */
            invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
            astore 3 /* ctx */
        start local 3 // com.oracle.truffle.js.runtime.JSContext ctx
         1: .line 87
            aload 1 /* realm */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.createOrdinaryPrototypeObject:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
            astore 4 /* prototype */
        start local 4 // com.oracle.truffle.api.object.DynamicObject prototype
         2: .line 88
            aload 3 /* ctx */
            aload 4 /* prototype */
            aload 2 /* ctor */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putConstructorProperty:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)V
         3: .line 89
            aload 1 /* realm */
            aload 4 /* prototype */
            getstatic com.oracle.truffle.js.builtins.FinalizationRegistryPrototypeBuiltins.BUILTINS:Lcom/oracle/truffle/js/builtins/JSBuiltinsContainer;
            invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putFunctionsFromContainer:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/builtins/JSBuiltinsContainer;)V
         4: .line 90
            aload 4 /* prototype */
            ldc "FinalizationRegistry"
            invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putToStringTag:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)V
         5: .line 91
            aload 4 /* prototype */
            areturn
        end local 4 // com.oracle.truffle.api.object.DynamicObject prototype
        end local 3 // com.oracle.truffle.js.runtime.JSContext ctx
        end local 2 // com.oracle.truffle.api.object.DynamicObject ctor
        end local 1 // com.oracle.truffle.js.runtime.JSRealm realm
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            0    6     1      realm  Lcom/oracle/truffle/js/runtime/JSRealm;
            0    6     2       ctor  Lcom/oracle/truffle/api/object/DynamicObject;
            1    6     3        ctx  Lcom/oracle/truffle/js/runtime/JSContext;
            2    6     4  prototype  Lcom/oracle/truffle/api/object/DynamicObject;
    MethodParameters:
       Name  Flags
      realm  final
      ctor   

  public com.oracle.truffle.api.object.Shape makeInitialShape(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
        start local 1 // com.oracle.truffle.js.runtime.JSContext context
        start local 2 // com.oracle.truffle.api.object.DynamicObject prototype
         0: .line 96
            aload 2 /* prototype */
            getstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            aload 1 /* context */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.getProtoChildShape:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSClass;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/api/object/Shape;
            areturn
        end local 2 // com.oracle.truffle.api.object.DynamicObject prototype
        end local 1 // com.oracle.truffle.js.runtime.JSContext context
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            0    1     1    context  Lcom/oracle/truffle/js/runtime/JSContext;
            0    1     2  prototype  Lcom/oracle/truffle/api/object/DynamicObject;
    MethodParameters:
           Name  Flags
      context    
      prototype  

  public static com.oracle.truffle.js.runtime.builtins.JSConstructor createConstructor(com.oracle.truffle.js.runtime.JSRealm);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/js/runtime/builtins/JSConstructor;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.JSRealm realm
         0: .line 100
            getstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            aload 0 /* realm */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.createConstructorAndPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/js/runtime/builtins/JSConstructor;
            areturn
        end local 0 // com.oracle.truffle.js.runtime.JSRealm realm
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  realm  Lcom/oracle/truffle/js/runtime/JSRealm;
    MethodParameters:
       Name  Flags
      realm  

  public java.lang.String getClassName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
         0: .line 105
            ldc "FinalizationRegistry"
            areturn
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;

  public java.lang.String getClassName(com.oracle.truffle.api.object.DynamicObject);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
         0: .line 110
            aload 0 /* this */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.getClassName:()Ljava/lang/String;
            areturn
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            0    1     1  object  Lcom/oracle/truffle/api/object/DynamicObject;
    MethodParameters:
        Name  Flags
      object  

  public java.lang.String toDisplayStringImpl(com.oracle.truffle.api.object.DynamicObject, int, boolean, com.oracle.truffle.js.runtime.JSContext);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;IZLcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
        start local 1 // com.oracle.truffle.api.object.DynamicObject obj
        start local 2 // int depth
        start local 3 // boolean allowSideEffects
        start local 4 // com.oracle.truffle.js.runtime.JSContext context
         0: .line 116
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.getClassName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 4 // com.oracle.truffle.js.runtime.JSContext context
        end local 3 // boolean allowSideEffects
        end local 2 // int depth
        end local 1 // com.oracle.truffle.api.object.DynamicObject obj
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0              this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            0    1     1               obj  Lcom/oracle/truffle/api/object/DynamicObject;
            0    1     2             depth  I
            0    1     3  allowSideEffects  Z
            0    1     4           context  Lcom/oracle/truffle/js/runtime/JSContext;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                  Name  Flags
      obj               
      depth             
      allowSideEffects  
      context           

  public static boolean isJSFinalizationRegistry(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 120
            aload 0 /* obj */
            instanceof com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject
            ireturn
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   obj  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      obj   

  public com.oracle.truffle.api.object.DynamicObject getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
        start local 1 // com.oracle.truffle.js.runtime.JSRealm realm
         0: .line 125
            aload 1 /* realm */
            invokevirtual com.oracle.truffle.js.runtime.JSRealm.getFinalizationRegistryPrototype:()Lcom/oracle/truffle/api/object/DynamicObject;
            areturn
        end local 1 // com.oracle.truffle.js.runtime.JSRealm realm
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistry;
            0    1     1  realm  Lcom/oracle/truffle/js/runtime/JSRealm;
    MethodParameters:
       Name  Flags
      realm  

  public static void appendToCells(com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject, java.lang.Object, java.lang.Object, java.lang.Object);
    descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=7, args_size=4
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
        start local 1 // java.lang.Object target
        start local 2 // java.lang.Object holdings
        start local 3 // java.lang.Object unregisterToken
         0: .line 130
            aload 0 /* finalizationRegistry */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.getCells:()Ljava/util/List;
            astore 4 /* cells */
        start local 4 // java.util.List cells
         1: .line 131
            aload 0 /* finalizationRegistry */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.getReferenceQueue:()Ljava/lang/ref/ReferenceQueue;
            astore 5 /* queue */
        start local 5 // java.lang.ref.ReferenceQueue queue
         2: .line 132
            new java.lang.ref.WeakReference
            dup
            aload 1 /* target */
            aload 5 /* queue */
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
            astore 6 /* weakTarget */
        start local 6 // java.lang.ref.WeakReference weakTarget
         3: .line 133
            aload 4 /* cells */
            new com.oracle.truffle.js.runtime.builtins.FinalizationRecord
            dup
            aload 6 /* weakTarget */
            aload 2 /* holdings */
            aload 3 /* unregisterToken */
            invokespecial com.oracle.truffle.js.runtime.builtins.FinalizationRecord.<init>:(Ljava/lang/ref/WeakReference;Ljava/lang/Object;Ljava/lang/Object;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         4: .line 134
            return
        end local 6 // java.lang.ref.WeakReference weakTarget
        end local 5 // java.lang.ref.ReferenceQueue queue
        end local 4 // java.util.List cells
        end local 3 // java.lang.Object unregisterToken
        end local 2 // java.lang.Object holdings
        end local 1 // java.lang.Object target
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    5     0  finalizationRegistry  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
            0    5     1                target  Ljava/lang/Object;
            0    5     2              holdings  Ljava/lang/Object;
            0    5     3       unregisterToken  Ljava/lang/Object;
            1    5     4                 cells  Ljava/util/List<Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;>;
            2    5     5                 queue  Ljava/lang/ref/ReferenceQueue<Ljava/lang/Object;>;
            3    5     6            weakTarget  Ljava/lang/ref/WeakReference<Ljava/lang/Object;>;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                      Name  Flags
      finalizationRegistry  
      target                
      holdings              
      unregisterToken       

  public static boolean removeFromCells(com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject, java.lang.Object);
    descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;Ljava/lang/Object;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
        start local 1 // java.lang.Object unregisterToken
         0: .line 138
            aload 0 /* finalizationRegistry */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.getCells:()Ljava/util/List;
            astore 2 /* cells */
        start local 2 // java.util.List cells
         1: .line 139
            iconst_0
            istore 3 /* removed */
        start local 3 // boolean removed
         2: .line 140
            aload 2 /* cells */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4 /* iterator */
        start local 4 // java.util.Iterator iterator
         3: goto 8
         4: .line 141
      StackMap locals: java.util.List int java.util.Iterator
      StackMap stack:
            aload 4 /* iterator */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.oracle.truffle.js.runtime.builtins.FinalizationRecord
            astore 5 /* record */
        start local 5 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord record
         5: .line 142
            aload 5 /* record */
            invokevirtual com.oracle.truffle.js.runtime.builtins.FinalizationRecord.getUnregisterToken:()Ljava/lang/ref/WeakReference;
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            aload 1 /* unregisterToken */
            invokestatic com.oracle.truffle.js.runtime.JSRuntime.isSameValue:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 8
         6: .line 143
            aload 4 /* iterator */
            invokeinterface java.util.Iterator.remove:()V
         7: .line 144
            iconst_1
            istore 3 /* removed */
        end local 5 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord record
         8: .line 140
      StackMap locals:
      StackMap stack:
            aload 4 /* iterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 4 // java.util.Iterator iterator
         9: .line 147
            iload 3 /* removed */
            ireturn
        end local 3 // boolean removed
        end local 2 // java.util.List cells
        end local 1 // java.lang.Object unregisterToken
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   10     0  finalizationRegistry  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
            0   10     1       unregisterToken  Ljava/lang/Object;
            1   10     2                 cells  Ljava/util/List<Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;>;
            2   10     3               removed  Z
            3    9     4              iterator  Ljava/util/Iterator<Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;>;
            5    8     5                record  Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                      Name  Flags
      finalizationRegistry  
      unregisterToken       

  public static void cleanupFinalizationRegistry(com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject, java.lang.Object);
    descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
        start local 1 // java.lang.Object callbackArg
         0: .line 152
            aload 1 /* callbackArg */
            getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
            if_acmpne 1
            aload 0 /* finalizationRegistry */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.getCleanupCallback:()Lcom/oracle/truffle/api/interop/TruffleObject;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 1 /* callbackArg */
      StackMap locals:
      StackMap stack: java.lang.Object
         2: astore 2 /* callback */
        start local 2 // java.lang.Object callback
         3: .line 154
            goto 6
        start local 3 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord cell
         4: .line 155
      StackMap locals: java.lang.Object com.oracle.truffle.js.runtime.builtins.FinalizationRecord
      StackMap stack:
            getstatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.$assertionsDisabled:Z
            ifne 5
            aload 3 /* cell */
            invokevirtual com.oracle.truffle.js.runtime.builtins.FinalizationRecord.getWeakRefTarget:()Ljava/lang/ref/WeakReference;
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            ifnull 5
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 156
      StackMap locals:
      StackMap stack:
            aload 2 /* callback */
            getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* cell */
            invokevirtual com.oracle.truffle.js.runtime.builtins.FinalizationRecord.getHeldValue:()Ljava/lang/Object;
            aastore
            invokestatic com.oracle.truffle.js.runtime.JSRuntime.call:(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 3 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord cell
         6: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* finalizationRegistry */
            invokestatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.removeCellEmptyTarget:(Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;)Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;
            dup
            astore 3 /* cell */
        start local 3 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord cell
         7: ifnonnull 4
         8: .line 158
            return
        end local 3 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord cell
        end local 2 // java.lang.Object callback
        end local 1 // java.lang.Object callbackArg
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    9     0  finalizationRegistry  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
            0    9     1           callbackArg  Ljava/lang/Object;
            3    9     2              callback  Ljava/lang/Object;
            4    6     3                  cell  Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;
            7    9     3                  cell  Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                      Name  Flags
      finalizationRegistry  
      callbackArg           

  public static com.oracle.truffle.js.runtime.builtins.FinalizationRecord removeCellEmptyTarget(com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject);
    descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;)Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
         0: .line 162
            aload 0 /* finalizationRegistry */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.getCells:()Ljava/util/List;
            astore 1 /* cells */
        start local 1 // java.util.List cells
         1: .line 163
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 8
         3: .line 164
      StackMap locals: java.util.List int
      StackMap stack:
            aload 1 /* cells */
            iload 2 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.js.runtime.builtins.FinalizationRecord
            astore 3 /* record */
        start local 3 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord record
         4: .line 165
            aload 3 /* record */
            invokevirtual com.oracle.truffle.js.runtime.builtins.FinalizationRecord.getWeakRefTarget:()Ljava/lang/ref/WeakReference;
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            ifnonnull 7
         5: .line 166
            aload 1 /* cells */
            iload 2 /* i */
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
         6: .line 167
            aload 3 /* record */
            areturn
        end local 3 // com.oracle.truffle.js.runtime.builtins.FinalizationRecord record
         7: .line 163
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 2 /* i */
            aload 1 /* cells */
            invokeinterface java.util.List.size:()I
            if_icmplt 3
        end local 2 // int i
         9: .line 170
            aconst_null
            areturn
        end local 1 // java.util.List cells
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   10     0  finalizationRegistry  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
            1   10     1                 cells  Ljava/util/List<Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;>;
            2    9     2                     i  I
            4    7     3                record  Lcom/oracle/truffle/js/runtime/builtins/FinalizationRecord;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                      Name  Flags
      finalizationRegistry  

  public static void hostCleanupFinalizationRegistry(com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject);
    descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
         0: .line 178
            aload 0 /* finalizationRegistry */
            invokevirtual com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject.getReferenceQueue:()Ljava/lang/ref/ReferenceQueue;
            astore 1 /* queue */
        start local 1 // java.lang.ref.ReferenceQueue queue
         1: .line 179
            aload 1 /* queue */
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            ifnull 2
            iconst_1
            goto 3
      StackMap locals: java.lang.ref.ReferenceQueue
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: istore 2 /* queueNotEmpty */
        start local 2 // boolean queueNotEmpty
         4: .line 183
            iload 2 /* queueNotEmpty */
            ifne 5
            aload 0 /* finalizationRegistry */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getJSContext:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSContext;
            invokevirtual com.oracle.truffle.js.runtime.JSContext.getContextOptions:()Lcom/oracle/truffle/js/runtime/JSContextOptions;
            invokevirtual com.oracle.truffle.js.runtime.JSContextOptions.isTestV8Mode:()Z
            ifne 5
            iconst_0
            goto 6
      StackMap locals: int
      StackMap stack:
         5: iconst_1
      StackMap locals:
      StackMap stack: int
         6: istore 3 /* performCleanup */
        start local 3 // boolean performCleanup
         7: .line 184
            iload 3 /* performCleanup */
            ifeq 11
         8: .line 188
      StackMap locals: int
      StackMap stack:
            aload 1 /* queue */
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            astore 4 /* o */
        start local 4 // java.lang.Object o
         9: .line 189
            aload 4 /* o */
            ifnonnull 8
        10: .line 190
            aload 0 /* finalizationRegistry */
            getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
            invokestatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.cleanupFinalizationRegistry:(Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;Ljava/lang/Object;)V
        end local 4 // java.lang.Object o
        11: .line 192
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean performCleanup
        end local 2 // boolean queueNotEmpty
        end local 1 // java.lang.ref.ReferenceQueue queue
        end local 0 // com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject finalizationRegistry
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   12     0  finalizationRegistry  Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
            1   12     1                 queue  Ljava/lang/ref/ReferenceQueue<Ljava/lang/Object;>;
            4   12     2         queueNotEmpty  Z
            7   12     3        performCleanup  Z
            9   11     4                     o  Ljava/lang/Object;
    MethodParameters:
                      Name  Flags
      finalizationRegistry  
}
SourceFile: "JSFinalizationRegistry.java"
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  public abstract Default = com.oracle.truffle.js.runtime.builtins.JSConstructorFactory$Default of com.oracle.truffle.js.runtime.builtins.JSConstructorFactory