public class org.glassfish.grizzly.threadpool.SyncThreadPool extends org.glassfish.grizzly.threadpool.AbstractThreadPool
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.glassfish.grizzly.threadpool.SyncThreadPool
  super_class: org.glassfish.grizzly.threadpool.AbstractThreadPool
{
  private final java.util.Queue<java.lang.Runnable> workQueue;
    descriptor: Ljava/util/Queue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Queue<Ljava/lang/Runnable;>;

  protected int maxQueuedTasks;
    descriptor: I
    flags: (0x0004) ACC_PROTECTED

  private int currentPoolSize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int activeThreadsCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  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=1, locals=0, args_size=0
         0: .line 35
            ldc Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            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 org.glassfish.grizzly.threadpool.SyncThreadPool.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.glassfish.grizzly.threadpool.ThreadPoolConfig);
    descriptor: (Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
        start local 1 // org.glassfish.grizzly.threadpool.ThreadPoolConfig config
         0: .line 46
            aload 0 /* this */
            aload 1 /* config */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.<init>:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
         1: .line 38
            aload 0 /* this */
            iconst_m1
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
         2: .line 47
            aload 1 /* config */
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getKeepAliveTime:(Ljava/util/concurrent/TimeUnit;)J
            lconst_0
            lcmp
            ifge 4
         3: .line 48
            new java.lang.IllegalArgumentException
            dup
            ldc "keepAliveTime < 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 51
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool org.glassfish.grizzly.threadpool.ThreadPoolConfig
      StackMap stack:
            aload 0 /* this */
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
            ifnull 5
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
            goto 6
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.threadpool.SyncThreadPool
         5: aload 1 /* config */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.setQueue:(Ljava/util/Queue;)Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool org.glassfish.grizzly.threadpool.ThreadPoolConfig
      StackMap stack: org.glassfish.grizzly.threadpool.SyncThreadPool java.util.Queue
         6: putfield org.glassfish.grizzly.threadpool.SyncThreadPool.workQueue:Ljava/util/Queue;
         7: .line 53
            aload 0 /* this */
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueueLimit:()I
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
         8: .line 54
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getCorePoolSize:()I
            istore 2 /* corePoolSize */
        start local 2 // int corePoolSize
         9: .line 55
            goto 11
        10: .line 56
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            new org.glassfish.grizzly.threadpool.SyncThreadPool$SyncThreadWorker
            dup
            aload 0 /* this */
            iconst_1
            invokespecial org.glassfish.grizzly.threadpool.SyncThreadPool$SyncThreadWorker.<init>:(Lorg/glassfish/grizzly/threadpool/SyncThreadPool;Z)V
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.startWorker:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
        11: .line 55
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            iload 2 /* corePoolSize */
            if_icmplt 10
        12: .line 58
            aload 0 /* this */
            invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyThreadPoolStarted:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;)V
        13: .line 59
            return
        end local 2 // int corePoolSize
        end local 1 // org.glassfish.grizzly.threadpool.ThreadPoolConfig config
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   14     0          this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            0   14     1        config  Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
            9   14     2  corePoolSize  I
    MethodParameters:
        Name  Flags
      config  

  public void execute(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
        start local 1 // java.lang.Runnable task
         0: .line 64
            aload 1 /* task */
            ifnonnull 2
         1: .line 65
            new java.lang.IllegalArgumentException
            dup
            ldc "Runnable task is null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 68
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         3: .line 69
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.running:Z
            ifne 5
         4: .line 70
            new java.util.concurrent.RejectedExecutionException
            dup
            ldc "ThreadPool is not running"
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 73
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.workQueue:Ljava/util/Queue;
            invokeinterface java.util.Queue.size:()I
            iconst_1
            iadd
            istore 3 /* workQueueSize */
        start local 3 // int workQueueSize
         6: .line 75
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
            iflt 7
            iload 3 /* workQueueSize */
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
            if_icmpgt 10
      StackMap locals: int
      StackMap stack:
         7: aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.workQueue:Ljava/util/Queue;
            aload 1 /* task */
            invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
            ifeq 10
         8: .line 76
            aload 0 /* this */
            aload 1 /* task */
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.onTaskQueued:(Ljava/lang/Runnable;)V
         9: .line 77
            goto 12
        10: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.onTaskQueueOverflow:()V
        11: .line 79
            getstatic org.glassfish.grizzly.threadpool.SyncThreadPool.$assertionsDisabled:Z
            ifne 12
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        12: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.activeThreadsCount:I
            isub
            istore 4 /* idleThreadsNumber */
        start local 4 // int idleThreadsNumber
        13: .line 84
            iload 4 /* idleThreadsNumber */
            iload 3 /* workQueueSize */
            if_icmplt 17
        14: .line 85
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            invokevirtual java.lang.Object.notify:()V
        15: .line 86
            aload 2
            monitorexit
        16: return
        17: .line 89
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMaxPoolSize:()I
            if_icmpge 24
        18: .line 90
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getCorePoolSize:()I
            if_icmpge 19
            iconst_1
            goto 20
      StackMap locals:
      StackMap stack:
        19: iconst_0
      StackMap locals:
      StackMap stack: int
        20: istore 5 /* isCore */
        start local 5 // boolean isCore
        21: .line 91
            aload 0 /* this */
            new org.glassfish.grizzly.threadpool.SyncThreadPool$SyncThreadWorker
            dup
            aload 0 /* this */
            iload 5 /* isCore */
            invokespecial org.glassfish.grizzly.threadpool.SyncThreadPool$SyncThreadWorker.<init>:(Lorg/glassfish/grizzly/threadpool/SyncThreadPool;Z)V
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.startWorker:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
        22: .line 93
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.config:Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getMaxPoolSize:()I
            if_icmpne 24
        23: .line 94
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.onMaxNumberOfThreadsReached:()V
        end local 5 // boolean isCore
        end local 4 // int idleThreadsNumber
        end local 3 // int workQueueSize
        24: .line 68
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        25: goto 28
      StackMap locals:
      StackMap stack: java.lang.Throwable
        26: aload 2
            monitorexit
        27: athrow
        28: .line 98
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Runnable task
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   29     0               this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            0   29     1               task  Ljava/lang/Runnable;
            6   24     3      workQueueSize  I
           13   24     4  idleThreadsNumber  I
           21   24     5             isCore  Z
      Exception table:
        from    to  target  type
           3    16      26  any
          17    25      26  any
          26    27      26  any
    MethodParameters:
      Name  Flags
      task  

  protected void startWorker(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker);
    descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
        start local 1 // org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker worker
         0: .line 102
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         1: .line 103
            aload 0 /* this */
            aload 1 /* worker */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.startWorker:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
         2: .line 104
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.activeThreadsCount:I
            iconst_1
            iadd
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.activeThreadsCount:I
         3: .line 105
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            iconst_1
            iadd
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
         4: .line 102
            aload 2
            monitorexit
         5: goto 8
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker java.lang.Object
      StackMap stack: java.lang.Throwable
         6: aload 2
            monitorexit
         7: athrow
         8: .line 107
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker worker
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            0    9     1  worker  Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    MethodParameters:
        Name  Flags
      worker  

  protected void onWorkerExit(org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker);
    descriptor: (Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
        start local 1 // org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker worker
         0: .line 111
            aload 0 /* this */
            aload 1 /* worker */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.onWorkerExit:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
         1: .line 113
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         2: .line 114
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            iconst_1
            isub
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
         3: .line 115
            aload 0 /* this */
            dup
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.activeThreadsCount:I
            iconst_1
            isub
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.activeThreadsCount:I
         4: .line 113
            aload 2
            monitorexit
         5: goto 8
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker java.lang.Object
      StackMap stack: java.lang.Throwable
         6: aload 2
            monitorexit
         7: athrow
         8: .line 117
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker worker
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            0    9     1  worker  Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    MethodParameters:
        Name  Flags
      worker  

  protected void poisonAll();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
         0: .line 121
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            istore 1 /* size */
        start local 1 // int size
         1: .line 122
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.getQueue:()Ljava/util/Queue;
            astore 2 /* q */
        start local 2 // java.util.Queue q
         2: .line 123
            goto 4
         3: .line 124
      StackMap locals: int java.util.Queue
      StackMap stack:
            aload 2 /* q */
            getstatic org.glassfish.grizzly.threadpool.SyncThreadPool.poison:Ljava/lang/Runnable;
            invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
            pop
         4: .line 123
      StackMap locals:
      StackMap stack:
            iload 1 /* size */
            iinc 1 /* size */ -1
            ifgt 3
         5: .line 126
            return
        end local 2 // java.util.Queue q
        end local 1 // int size
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            1    6     1  size  I
            2    6     2     q  Ljava/util/Queue<Ljava/lang/Runnable;>;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
         0: .line 130
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 131
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ", max-queue-size="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 1
            monitorexit
         2: areturn
         3: .line 130
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any
}
SourceFile: "SyncThreadPool.java"
NestMembers:
  org.glassfish.grizzly.threadpool.SyncThreadPool$SyncThreadWorker
InnerClasses:
  public abstract Worker = org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker of org.glassfish.grizzly.threadpool.AbstractThreadPool
  protected SyncThreadWorker = org.glassfish.grizzly.threadpool.SyncThreadPool$SyncThreadWorker of org.glassfish.grizzly.threadpool.SyncThreadPool