final class jdk.internal.foreign.MemoryScope$Root$Child extends jdk.internal.foreign.MemoryScope
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.foreign.MemoryScope$Root$Child
  super_class: jdk.internal.foreign.MemoryScope
{
  final jdk.internal.foreign.MemoryScope$Root this$1;
    descriptor: Ljdk/internal/foreign/MemoryScope$Root;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  private void <init>(jdk.internal.foreign.MemoryScope$Root, java.lang.Thread);
    descriptor: (Ljdk/internal/foreign/MemoryScope$Root;Ljava/lang/Thread;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
        start local 2 // java.lang.Thread owner
         0: .line 284
            aload 0 /* this */
            aload 1
            putfield jdk.internal.foreign.MemoryScope$Root$Child.this$1:Ljdk/internal/foreign/MemoryScope$Root;
         1: .line 285
            aload 0 /* this */
            aload 2 /* owner */
            invokespecial jdk.internal.foreign.MemoryScope.<init>:(Ljava/lang/Thread;)V
         2: .line 286
            return
        end local 2 // java.lang.Thread owner
        end local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljdk/internal/foreign/MemoryScope$Root$Child;
            0    3     2  owner  Ljava/lang/Thread;
    MethodParameters:
        Name  Flags
      this$0  final
      owner   

  jdk.internal.foreign.MemoryScope acquire();
    descriptor: ()Ljdk/internal/foreign/MemoryScope;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
         0: .line 290
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryScope$Root$Child.this$1:Ljdk/internal/foreign/MemoryScope$Root;
            invokevirtual jdk.internal.foreign.MemoryScope$Root.acquire:()Ljdk/internal/foreign/MemoryScope;
            areturn
        end local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/MemoryScope$Root$Child;

  jdk.internal.foreign.MemoryScope dup(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)Ljdk/internal/foreign/MemoryScope;
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
        start local 1 // java.lang.Thread newOwner
         0: .line 295
            aload 0 /* this */
            invokevirtual jdk.internal.foreign.MemoryScope$Root$Child.checkValidState:()V
         1: .line 297
            new jdk.internal.foreign.MemoryScope$Root$Child
            dup
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryScope$Root$Child.this$1:Ljdk/internal/foreign/MemoryScope$Root;
            aload 1 /* newOwner */
            invokespecial jdk.internal.foreign.MemoryScope$Root$Child.<init>:(Ljdk/internal/foreign/MemoryScope$Root;Ljava/lang/Thread;)V
            astore 2 /* duped */
        start local 2 // jdk.internal.foreign.MemoryScope$Root$Child duped
         2: .line 298
            getstatic jdk.internal.foreign.MemoryScope.CLOSED:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            iconst_1
            invokevirtual java.lang.invoke.VarHandle.setVolatile:(Ljdk/internal/foreign/MemoryScope$Root$Child;Z)V
         3: .line 299
            aload 2 /* duped */
            areturn
        end local 2 // jdk.internal.foreign.MemoryScope$Root$Child duped
        end local 1 // java.lang.Thread newOwner
        end local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljdk/internal/foreign/MemoryScope$Root$Child;
            0    4     1  newOwner  Ljava/lang/Thread;
            2    4     2     duped  Ljdk/internal/foreign/MemoryScope$Root$Child;
    MethodParameters:
          Name  Flags
      newOwner  

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
         0: .line 304
            aload 0 /* this */
            invokevirtual jdk.internal.foreign.MemoryScope$Root$Child.checkValidState:()V
         1: .line 305
            getstatic jdk.internal.foreign.MemoryScope.CLOSED:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            iconst_1
            invokevirtual java.lang.invoke.VarHandle.set:(Ljdk/internal/foreign/MemoryScope$Root$Child;Z)V
         2: .line 308
            aload 0 /* this */
            getfield jdk.internal.foreign.MemoryScope$Root$Child.this$1:Ljdk/internal/foreign/MemoryScope$Root;
            getfield jdk.internal.foreign.MemoryScope$Root.acquired:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.decrement:()V
         3: .line 309
            return
        end local 0 // jdk.internal.foreign.MemoryScope$Root$Child this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/foreign/MemoryScope$Root$Child;
}
SourceFile: "MemoryScope.java"
NestHost: jdk.internal.foreign.MemoryScope
InnerClasses:
  private final Root = jdk.internal.foreign.MemoryScope$Root of jdk.internal.foreign.MemoryScope
  private final Child = jdk.internal.foreign.MemoryScope$Root$Child of jdk.internal.foreign.MemoryScope$Root