class sun.nio.ch.NioSocketImpl$FileDescriptorCloser implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.ch.NioSocketImpl$FileDescriptorCloser
  super_class: java.lang.Object
{
  private static final java.lang.invoke.VarHandle CLOSED;
    descriptor: Ljava/lang/invoke/VarHandle;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.io.FileDescriptor fd;
    descriptor: Ljava/io/FileDescriptor;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean stream;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  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=4, locals=1, args_size=0
         0: .line 1200
            ldc Lsun/nio/ch/NioSocketImpl;
            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 sun.nio.ch.NioSocketImpl$FileDescriptorCloser.$assertionsDisabled:Z
         3: .line 1204
            invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
            astore 0 /* l */
        start local 0 // java.lang.invoke.MethodHandles$Lookup l
         4: .line 1205
            aload 0 /* l */
            ldc Lsun/nio/ch/NioSocketImpl$FileDescriptorCloser;
         5: .line 1206
            ldc "closed"
         6: .line 1207
            getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
         7: .line 1205
            invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
            putstatic sun.nio.ch.NioSocketImpl$FileDescriptorCloser.CLOSED:Ljava/lang/invoke/VarHandle;
        end local 0 // java.lang.invoke.MethodHandles$Lookup l
         8: .line 1208
            goto 11
      StackMap locals:
      StackMap stack: java.lang.Exception
         9: astore 0 /* e */
        start local 0 // java.lang.Exception e
        10: .line 1209
            new java.lang.InternalError
            dup
            aload 0 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.Exception e
        11: .line 1211
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            4    8     0     l  Ljava/lang/invoke/MethodHandles$Lookup;
           10   11     0     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           3     8       9  Class java.lang.Exception

  void <init>(java.io.FileDescriptor, boolean);
    descriptor: (Ljava/io/FileDescriptor;Z)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.nio.ch.NioSocketImpl$FileDescriptorCloser this
        start local 1 // java.io.FileDescriptor fd
        start local 2 // boolean stream
         0: .line 1217
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1218
            aload 0 /* this */
            aload 1 /* fd */
            putfield sun.nio.ch.NioSocketImpl$FileDescriptorCloser.fd:Ljava/io/FileDescriptor;
         2: .line 1219
            aload 0 /* this */
            iload 2 /* stream */
            putfield sun.nio.ch.NioSocketImpl$FileDescriptorCloser.stream:Z
         3: .line 1220
            return
        end local 2 // boolean stream
        end local 1 // java.io.FileDescriptor fd
        end local 0 // sun.nio.ch.NioSocketImpl$FileDescriptorCloser this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lsun/nio/ch/NioSocketImpl$FileDescriptorCloser;
            0    4     1      fd  Ljava/io/FileDescriptor;
            0    4     2  stream  Z
    MethodParameters:
        Name  Flags
      fd      
      stream  

  static sun.nio.ch.NioSocketImpl$FileDescriptorCloser create(sun.nio.ch.NioSocketImpl);
    descriptor: (Lsun/nio/ch/NioSocketImpl;)Lsun/nio/ch/NioSocketImpl$FileDescriptorCloser;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.nio.ch.NioSocketImpl impl
         0: .line 1223
            getstatic sun.nio.ch.NioSocketImpl$FileDescriptorCloser.$assertionsDisabled:Z
            ifne 1
            aload 0 /* impl */
            getfield sun.nio.ch.NioSocketImpl.stateLock:Ljava/lang/Object;
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 1224
      StackMap locals:
      StackMap stack:
            new sun.nio.ch.NioSocketImpl$FileDescriptorCloser
            dup
            aload 0 /* impl */
            invokestatic sun.nio.ch.NioSocketImpl.access$0:(Lsun/nio/ch/NioSocketImpl;)Ljava/io/FileDescriptor;
            aload 0 /* impl */
            getfield sun.nio.ch.NioSocketImpl.stream:Z
            invokespecial sun.nio.ch.NioSocketImpl$FileDescriptorCloser.<init>:(Ljava/io/FileDescriptor;Z)V
            astore 1 /* closer */
        start local 1 // sun.nio.ch.NioSocketImpl$FileDescriptorCloser closer
         2: .line 1225
            invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
            aload 0 /* impl */
            aload 1 /* closer */
            invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
            pop
         3: .line 1226
            aload 1 /* closer */
            areturn
        end local 1 // sun.nio.ch.NioSocketImpl$FileDescriptorCloser closer
        end local 0 // sun.nio.ch.NioSocketImpl impl
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    impl  Lsun/nio/ch/NioSocketImpl;
            2    4     1  closer  Lsun/nio/ch/NioSocketImpl$FileDescriptorCloser;
    MethodParameters:
      Name  Flags
      impl  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // sun.nio.ch.NioSocketImpl$FileDescriptorCloser this
         0: .line 1231
            getstatic sun.nio.ch.NioSocketImpl$FileDescriptorCloser.CLOSED:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            iconst_0
            iconst_1
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Lsun/nio/ch/NioSocketImpl$FileDescriptorCloser;ZZ)Z
            ifeq 11
         1: .line 1233
            getstatic sun.nio.ch.NioSocketImpl.nd:Lsun/nio/ch/NativeDispatcher;
            aload 0 /* this */
            getfield sun.nio.ch.NioSocketImpl$FileDescriptorCloser.fd:Ljava/io/FileDescriptor;
            invokevirtual sun.nio.ch.NativeDispatcher.close:(Ljava/io/FileDescriptor;)V
         2: .line 1234
            goto 9
      StackMap locals:
      StackMap stack: java.io.IOException
         3: astore 1 /* ioe */
        start local 1 // java.io.IOException ioe
         4: .line 1235
            new java.io.UncheckedIOException
            dup
            aload 1 /* ioe */
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 1 // java.io.IOException ioe
         5: .line 1236
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2
         6: .line 1237
            aload 0 /* this */
            getfield sun.nio.ch.NioSocketImpl$FileDescriptorCloser.stream:Z
            ifne 8
         7: .line 1239
            invokestatic sun.net.ResourceManager.afterUdpClose:()V
         8: .line 1241
      StackMap locals: sun.nio.ch.NioSocketImpl$FileDescriptorCloser top java.lang.Throwable
      StackMap stack:
            aload 2
            athrow
         9: .line 1237
      StackMap locals: sun.nio.ch.NioSocketImpl$FileDescriptorCloser
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.NioSocketImpl$FileDescriptorCloser.stream:Z
            ifne 11
        10: .line 1239
            invokestatic sun.net.ResourceManager.afterUdpClose:()V
        11: .line 1243
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.NioSocketImpl$FileDescriptorCloser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lsun/nio/ch/NioSocketImpl$FileDescriptorCloser;
            4    5     1   ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.IOException
           1     5       5  any
}
SourceFile: "NioSocketImpl.java"
NestHost: sun.nio.ch.NioSocketImpl
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
  private FileDescriptorCloser = sun.nio.ch.NioSocketImpl$FileDescriptorCloser of sun.nio.ch.NioSocketImpl