public class sun.nio.ch.ThreadPool
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.nio.ch.ThreadPool
  super_class: java.lang.Object
{
  private static final java.lang.String DEFAULT_THREAD_POOL_THREAD_FACTORY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "java.nio.channels.DefaultThreadPool.threadFactory"

  private static final java.lang.String DEFAULT_THREAD_POOL_INITIAL_SIZE;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "java.nio.channels.DefaultThreadPool.initialSize"

  private final java.util.concurrent.ExecutorService executor;
    descriptor: Ljava/util/concurrent/ExecutorService;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final int poolSize;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private void <init>(java.util.concurrent.ExecutorService, boolean, int);
    descriptor: (Ljava/util/concurrent/ExecutorService;ZI)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // sun.nio.ch.ThreadPool this
        start local 1 // java.util.concurrent.ExecutorService executor
        start local 2 // boolean isFixed
        start local 3 // int poolSize
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 58
            aload 0 /* this */
            aload 1 /* executor */
            putfield sun.nio.ch.ThreadPool.executor:Ljava/util/concurrent/ExecutorService;
         2: .line 59
            aload 0 /* this */
            iload 2 /* isFixed */
            putfield sun.nio.ch.ThreadPool.isFixed:Z
         3: .line 60
            aload 0 /* this */
            iload 3 /* poolSize */
            putfield sun.nio.ch.ThreadPool.poolSize:I
         4: .line 61
            return
        end local 3 // int poolSize
        end local 2 // boolean isFixed
        end local 1 // java.util.concurrent.ExecutorService executor
        end local 0 // sun.nio.ch.ThreadPool this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lsun/nio/ch/ThreadPool;
            0    5     1  executor  Ljava/util/concurrent/ExecutorService;
            0    5     2   isFixed  Z
            0    5     3  poolSize  I
    MethodParameters:
          Name  Flags
      executor  
      isFixed   
      poolSize  

  java.util.concurrent.ExecutorService executor();
    descriptor: ()Ljava/util/concurrent/ExecutorService;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.ThreadPool this
         0: .line 64
            aload 0 /* this */
            getfield sun.nio.ch.ThreadPool.executor:Ljava/util/concurrent/ExecutorService;
            areturn
        end local 0 // sun.nio.ch.ThreadPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/ThreadPool;

  boolean isFixedThreadPool();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.ThreadPool this
         0: .line 68
            aload 0 /* this */
            getfield sun.nio.ch.ThreadPool.isFixed:Z
            ireturn
        end local 0 // sun.nio.ch.ThreadPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/ThreadPool;

  int poolSize();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.ch.ThreadPool this
         0: .line 72
            aload 0 /* this */
            getfield sun.nio.ch.ThreadPool.poolSize:I
            ireturn
        end local 0 // sun.nio.ch.ThreadPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/ch/ThreadPool;

  static java.util.concurrent.ThreadFactory defaultThreadFactory();
    descriptor: ()Ljava/util/concurrent/ThreadFactory;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 76
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnonnull 2
         1: .line 77
            invokedynamic newThread()Ljava/util/concurrent/ThreadFactory;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Runnable;)Ljava/lang/Thread;
                  sun/nio/ch/ThreadPool.lambda$0(Ljava/lang/Runnable;)Ljava/lang/Thread; (6)
                  (Ljava/lang/Runnable;)Ljava/lang/Thread;
            areturn
         2: .line 83
      StackMap locals:
      StackMap stack:
            invokedynamic newThread()Ljava/util/concurrent/ThreadFactory;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Runnable;)Ljava/lang/Thread;
                  sun/nio/ch/ThreadPool.lambda$1(Ljava/lang/Runnable;)Ljava/lang/Thread; (6)
                  (Ljava/lang/Runnable;)Ljava/lang/Thread;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static sun.nio.ch.ThreadPool getDefault();
    descriptor: ()Lsun/nio/ch/ThreadPool;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 100
            getstatic sun.nio.ch.ThreadPool$DefaultThreadPoolHolder.defaultThreadPool:Lsun/nio/ch/ThreadPool;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static sun.nio.ch.ThreadPool createDefault();
    descriptor: ()Lsun/nio/ch/ThreadPool;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=3, args_size=0
         0: .line 106
            invokestatic sun.nio.ch.ThreadPool.getDefaultThreadPoolInitialSize:()I
            istore 0 /* initialSize */
        start local 0 // int initialSize
         1: .line 107
            iload 0 /* initialSize */
            ifge 3
         2: .line 108
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
            istore 0 /* initialSize */
         3: .line 110
      StackMap locals: int
      StackMap stack:
            invokestatic sun.nio.ch.ThreadPool.getDefaultThreadPoolThreadFactory:()Ljava/util/concurrent/ThreadFactory;
            astore 1 /* threadFactory */
        start local 1 // java.util.concurrent.ThreadFactory threadFactory
         4: .line 111
            aload 1 /* threadFactory */
            ifnonnull 6
         5: .line 112
            invokestatic sun.nio.ch.ThreadPool.defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
            astore 1 /* threadFactory */
         6: .line 114
      StackMap locals: java.util.concurrent.ThreadFactory
      StackMap stack:
            aload 1 /* threadFactory */
            invokestatic java.util.concurrent.Executors.newCachedThreadPool:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
            astore 2 /* executor */
        start local 2 // java.util.concurrent.ExecutorService executor
         7: .line 115
            new sun.nio.ch.ThreadPool
            dup
            aload 2 /* executor */
            iconst_0
            iload 0 /* initialSize */
            invokespecial sun.nio.ch.ThreadPool.<init>:(Ljava/util/concurrent/ExecutorService;ZI)V
            areturn
        end local 2 // java.util.concurrent.ExecutorService executor
        end local 1 // java.util.concurrent.ThreadFactory threadFactory
        end local 0 // int initialSize
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            1    8     0    initialSize  I
            4    8     1  threadFactory  Ljava/util/concurrent/ThreadFactory;
            7    8     2       executor  Ljava/util/concurrent/ExecutorService;

  static sun.nio.ch.ThreadPool create(int, java.util.concurrent.ThreadFactory);
    descriptor: (ILjava/util/concurrent/ThreadFactory;)Lsun/nio/ch/ThreadPool;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // int nThreads
        start local 1 // java.util.concurrent.ThreadFactory factory
         0: .line 120
            iload 0 /* nThreads */
            ifgt 2
         1: .line 121
            new java.lang.IllegalArgumentException
            dup
            ldc "'nThreads' must be > 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 122
      StackMap locals:
      StackMap stack:
            iload 0 /* nThreads */
            aload 1 /* factory */
            invokestatic java.util.concurrent.Executors.newFixedThreadPool:(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
            astore 2 /* executor */
        start local 2 // java.util.concurrent.ExecutorService executor
         3: .line 123
            new sun.nio.ch.ThreadPool
            dup
            aload 2 /* executor */
            iconst_1
            iload 0 /* nThreads */
            invokespecial sun.nio.ch.ThreadPool.<init>:(Ljava/util/concurrent/ExecutorService;ZI)V
            areturn
        end local 2 // java.util.concurrent.ExecutorService executor
        end local 1 // java.util.concurrent.ThreadFactory factory
        end local 0 // int nThreads
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0  nThreads  I
            0    4     1   factory  Ljava/util/concurrent/ThreadFactory;
            3    4     2  executor  Ljava/util/concurrent/ExecutorService;
    MethodParameters:
          Name  Flags
      nThreads  
      factory   

  public static sun.nio.ch.ThreadPool wrap(java.util.concurrent.ExecutorService, int);
    descriptor: (Ljava/util/concurrent/ExecutorService;I)Lsun/nio/ch/ThreadPool;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.util.concurrent.ExecutorService executor
        start local 1 // int initialSize
         0: .line 128
            aload 0 /* executor */
            ifnonnull 2
         1: .line 129
            new java.lang.NullPointerException
            dup
            ldc "'executor' is null"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* executor */
            instanceof java.util.concurrent.ThreadPoolExecutor
            ifeq 10
         3: .line 132
            aload 0 /* executor */
            checkcast java.util.concurrent.ThreadPoolExecutor
            invokevirtual java.util.concurrent.ThreadPoolExecutor.getMaximumPoolSize:()I
            istore 2 /* max */
        start local 2 // int max
         4: .line 133
            iload 2 /* max */
            ldc 2147483647
            if_icmpne 12
         5: .line 134
            iload 1 /* initialSize */
            ifge 8
         6: .line 135
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
            istore 1 /* initialSize */
         7: .line 136
            goto 12
         8: .line 138
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 1 /* initialSize */
        end local 2 // int max
         9: .line 141
            goto 12
        10: .line 143
      StackMap locals:
      StackMap stack:
            iload 1 /* initialSize */
            ifge 12
        11: .line 144
            iconst_0
            istore 1 /* initialSize */
        12: .line 146
      StackMap locals:
      StackMap stack:
            new sun.nio.ch.ThreadPool
            dup
            aload 0 /* executor */
            iconst_0
            iload 1 /* initialSize */
            invokespecial sun.nio.ch.ThreadPool.<init>:(Ljava/util/concurrent/ExecutorService;ZI)V
            areturn
        end local 1 // int initialSize
        end local 0 // java.util.concurrent.ExecutorService executor
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   13     0     executor  Ljava/util/concurrent/ExecutorService;
            0   13     1  initialSize  I
            4    9     2          max  I
    MethodParameters:
             Name  Flags
      executor     
      initialSize  

  private static int getDefaultThreadPoolInitialSize();
    descriptor: ()I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=0
         0: .line 151
            new sun.security.action.GetPropertyAction
            dup
            ldc "java.nio.channels.DefaultThreadPool.initialSize"
         1: .line 150
            invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* propValue */
        start local 0 // java.lang.String propValue
         2: .line 152
            aload 0 /* propValue */
            ifnull 9
         3: .line 154
            aload 0 /* propValue */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
         4: ireturn
         5: .line 155
      StackMap locals: java.lang.String
      StackMap stack: java.lang.NumberFormatException
            astore 1 /* x */
        start local 1 // java.lang.NumberFormatException x
         6: .line 156
            new java.lang.Error
            dup
            new java.lang.StringBuilder
            dup
            ldc "Value of property 'java.nio.channels.DefaultThreadPool.initialSize' is invalid: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         7: .line 157
            aload 1 /* x */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         8: .line 156
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.NumberFormatException x
         9: .line 160
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        end local 0 // java.lang.String propValue
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            2   10     0  propValue  Ljava/lang/String;
            6    9     1          x  Ljava/lang/NumberFormatException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.NumberFormatException

  private static java.util.concurrent.ThreadFactory getDefaultThreadPoolThreadFactory();
    descriptor: ()Ljava/util/concurrent/ThreadFactory;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=0
         0: .line 165
            new sun.security.action.GetPropertyAction
            dup
            ldc "java.nio.channels.DefaultThreadPool.threadFactory"
         1: .line 164
            invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* propValue */
        start local 0 // java.lang.String propValue
         2: .line 166
            aload 0 /* propValue */
            ifnull 9
         3: .line 170
            aload 0 /* propValue */
            iconst_1
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
            invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
            invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
         4: .line 169
            astore 1 /* tmp */
        start local 1 // java.lang.Object tmp
         5: .line 171
            aload 1 /* tmp */
            checkcast java.util.concurrent.ThreadFactory
         6: areturn
        end local 1 // java.lang.Object tmp
         7: .line 172
      StackMap locals: java.lang.String
      StackMap stack: java.lang.ReflectiveOperationException
            astore 1 /* x */
        start local 1 // java.lang.ReflectiveOperationException x
         8: .line 173
            new java.lang.Error
            dup
            aload 1 /* x */
            invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.ReflectiveOperationException x
         9: .line 176
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.String propValue
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            2   10     0  propValue  Ljava/lang/String;
            5    7     1        tmp  Ljava/lang/Object;
            8    9     1          x  Ljava/lang/ReflectiveOperationException;
      Exception table:
        from    to  target  type
           3     6       7  Class java.lang.ClassNotFoundException
           3     6       7  Class java.lang.InstantiationException
           3     6       7  Class java.lang.IllegalAccessException

  private static java.lang.Thread lambda$0(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.Runnable r
         0: .line 78
            new java.lang.Thread
            dup
            aload 0 /* r */
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            astore 1 /* t */
        start local 1 // java.lang.Thread t
         1: .line 79
            aload 1 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         2: .line 80
            aload 1 /* t */
            areturn
        end local 1 // java.lang.Thread t
        end local 0 // java.lang.Runnable r
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     r  Ljava/lang/Runnable;
            1    3     1     t  Ljava/lang/Thread;

  private static java.lang.Thread lambda$1(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // java.lang.Runnable r
         0: .line 84
            aload 0 /* r */
            invokedynamic run(Ljava/lang/Runnable;)Ljava/security/PrivilegedAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  sun/nio/ch/ThreadPool.lambda$2(Ljava/lang/Runnable;)Ljava/lang/Thread; (6)
                  ()Ljava/lang/Thread;
            astore 1 /* action */
        start local 1 // java.security.PrivilegedAction action
         1: .line 89
            aload 1 /* action */
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.Thread
            areturn
        end local 1 // java.security.PrivilegedAction action
        end local 0 // java.lang.Runnable r
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0       r  Ljava/lang/Runnable;
            1    2     1  action  Ljava/security/PrivilegedAction<Ljava/lang/Thread;>;

  private static java.lang.Thread lambda$2(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=1
         0: .line 85
            aload 0
            invokestatic jdk.internal.misc.InnocuousThread.newThread:(Ljava/lang/Runnable;)Ljava/lang/Thread;
            astore 1 /* t */
        start local 1 // java.lang.Thread t
         1: .line 86
            aload 1 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         2: .line 87
            aload 1 /* t */
            areturn
        end local 1 // java.lang.Thread t
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    3     1     t  Ljava/lang/Thread;
}
SourceFile: "ThreadPool.java"
NestMembers:
  sun.nio.ch.ThreadPool$DefaultThreadPoolHolder
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private DefaultThreadPoolHolder = sun.nio.ch.ThreadPool$DefaultThreadPoolHolder of sun.nio.ch.ThreadPool