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 53
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            aload 0 /* this */
            aload 1 /* executor */
            putfield sun.nio.ch.ThreadPool.executor:Ljava/util/concurrent/ExecutorService;
         2: .line 58
            aload 0 /* this */
            iload 2 /* isFixed */
            putfield sun.nio.ch.ThreadPool.isFixed:Z
         3: .line 59
            aload 0 /* this */
            iload 3 /* poolSize */
            putfield sun.nio.ch.ThreadPool.poolSize:I
         4: .line 60
            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 63
            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 67
            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 71
            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 75
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnonnull 2
         1: .line 76
            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 82
      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 99
            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 105
            invokestatic sun.nio.ch.ThreadPool.getDefaultThreadPoolInitialSize:()I
            istore 0 /* initialSize */
        start local 0 // int initialSize
         1: .line 106
            iload 0 /* initialSize */
            ifge 3
         2: .line 107
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
            istore 0 /* initialSize */
         3: .line 109
      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 110
            aload 1 /* threadFactory */
            ifnonnull 6
         5: .line 111
            invokestatic sun.nio.ch.ThreadPool.defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
            astore 1 /* threadFactory */
         6: .line 113
      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 114
            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 119
            iload 0 /* nThreads */
            ifgt 2
         1: .line 120
            new java.lang.IllegalArgumentException
            dup
            ldc "'nThreads' must be > 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 121
      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 122
            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 127
            aload 0 /* executor */
            ifnonnull 2
         1: .line 128
            new java.lang.NullPointerException
            dup
            ldc "'executor' is null"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 130
      StackMap locals:
      StackMap stack:
            aload 0 /* executor */
            instanceof java.util.concurrent.ThreadPoolExecutor
            ifeq 10
         3: .line 131
            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 132
            iload 2 /* max */
            ldc 2147483647
            if_icmpne 12
         5: .line 133
            iload 1 /* initialSize */
            ifge 8
         6: .line 134
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
            istore 1 /* initialSize */
         7: .line 135
            goto 12
         8: .line 137
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 1 /* initialSize */
        end local 2 // int max
         9: .line 140
            goto 12
        10: .line 142
      StackMap locals:
      StackMap stack:
            iload 1 /* initialSize */
            ifge 12
        11: .line 143
            iconst_0
            istore 1 /* initialSize */
        12: .line 145
      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 150
            new sun.security.action.GetPropertyAction
            dup
            ldc "java.nio.channels.DefaultThreadPool.initialSize"
         1: .line 149
            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 151
            aload 0 /* propValue */
            ifnull 9
         3: .line 153
            aload 0 /* propValue */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
         4: ireturn
         5: .line 154
      StackMap locals: java.lang.String
      StackMap stack: java.lang.NumberFormatException
            astore 1 /* x */
        start local 1 // java.lang.NumberFormatException x
         6: .line 155
            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 156
            aload 1 /* x */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         8: .line 155
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.NumberFormatException x
         9: .line 159
      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 164
            new sun.security.action.GetPropertyAction
            dup
            ldc "java.nio.channels.DefaultThreadPool.threadFactory"
         1: .line 163
            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 165
            aload 0 /* propValue */
            ifnull 13
         3: .line 168
            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;
         4: .line 167
            astore 1 /* c */
        start local 1 // java.lang.Class c
         5: .line 169
            aload 1 /* c */
            invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
            checkcast java.util.concurrent.ThreadFactory
         6: areturn
        end local 1 // java.lang.Class c
         7: .line 170
      StackMap locals: java.lang.String
      StackMap stack: java.lang.ClassNotFoundException
            astore 1 /* x */
        start local 1 // java.lang.ClassNotFoundException x
         8: .line 171
            new java.lang.Error
            dup
            aload 1 /* x */
            invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.ClassNotFoundException x
         9: .line 172
      StackMap locals:
      StackMap stack: java.lang.InstantiationException
            astore 1 /* x */
        start local 1 // java.lang.InstantiationException x
        10: .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.InstantiationException x
        11: .line 174
      StackMap locals:
      StackMap stack: java.lang.IllegalAccessException
            astore 1 /* x */
        start local 1 // java.lang.IllegalAccessException x
        12: .line 175
            new java.lang.Error
            dup
            aload 1 /* x */
            invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.IllegalAccessException x
        13: .line 178
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.String propValue
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            2   14     0  propValue  Ljava/lang/String;
            5    7     1          c  Ljava/lang/Class<*>;
            8    9     1          x  Ljava/lang/ClassNotFoundException;
           10   11     1          x  Ljava/lang/InstantiationException;
           12   13     1          x  Ljava/lang/IllegalAccessException;
      Exception table:
        from    to  target  type
           3     6       7  Class java.lang.ClassNotFoundException
           3     6       9  Class java.lang.InstantiationException
           3     6      11  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 77
            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 78
            aload 1 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         2: .line 79
            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 83
            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 88
            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=3, locals=2, args_size=1
         0: .line 84
            new sun.misc.InnocuousThread
            dup
            aload 0
            invokespecial sun.misc.InnocuousThread.<init>:(Ljava/lang/Runnable;)V
            astore 1 /* t */
        start local 1 // java.lang.Thread t
         1: .line 85
            aload 1 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
         2: .line 86
            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