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 36
            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 47
            aload 0 /* this */
            aload 1 /* config */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.<init>:(Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;)V
         1: .line 39
            aload 0 /* this */
            iconst_m1
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
         2: .line 48
            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 49
            new java.lang.IllegalArgumentException
            dup
            ldc "keepAliveTime < 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 52
      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 6
         5: .line 53
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueue:()Ljava/util/Queue;
            goto 7
         6: .line 54
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.threadpool.SyncThreadPool
            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;
         7: .line 52
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool org.glassfish.grizzly.threadpool.ThreadPoolConfig
      StackMap stack: org.glassfish.grizzly.threadpool.SyncThreadPool java.util.Queue
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.workQueue:Ljava/util/Queue;
         8: .line 56
            aload 0 /* this */
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getQueueLimit:()I
            putfield org.glassfish.grizzly.threadpool.SyncThreadPool.maxQueuedTasks:I
         9: .line 57
            aload 1 /* config */
            invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.getCorePoolSize:()I
            istore 2 /* corePoolSize */
        start local 2 // int corePoolSize
        10: .line 58
            goto 12
        11: .line 59
      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
        12: .line 58
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            iload 2 /* corePoolSize */
            if_icmplt 11
        13: .line 61
            aload 0 /* this */
            invokestatic org.glassfish.grizzly.threadpool.ProbeNotifier.notifyThreadPoolStarted:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool;)V
        14: .line 62
            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   15     0          this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
            0   15     1        config  Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
           10   15     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 67
            aload 1 /* task */
            ifnonnull 2
         1: .line 68
            new java.lang.IllegalArgumentException
            dup
            ldc "Runnable task is null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         3: .line 72
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.running:Z
            ifne 5
         4: .line 73
            new java.util.concurrent.RejectedExecutionException
            dup
            ldc "ThreadPool is not running"
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 76
      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 78
            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
         7: .line 79
      StackMap locals: int
      StackMap stack:
            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 80
            aload 0 /* this */
            aload 1 /* task */
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.onTaskQueued:(Ljava/lang/Runnable;)V
         9: .line 81
            goto 12
        10: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.threadpool.SyncThreadPool.onTaskQueueOverflow:()V
        11: .line 83
            getstatic org.glassfish.grizzly.threadpool.SyncThreadPool.$assertionsDisabled:Z
            ifne 12
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        12: .line 86
      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 88
            iload 4 /* idleThreadsNumber */
            iload 3 /* workQueueSize */
            if_icmplt 17
        14: .line 89
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            invokevirtual java.lang.Object.notify:()V
        15: .line 90
            aload 2
            monitorexit
        16: return
        17: .line 93
      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 94
            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 95
            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 97
            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 98
            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 71
      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 102
      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 106
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         1: .line 107
            aload 0 /* this */
            aload 1 /* worker */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.startWorker:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
         2: .line 108
            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 109
            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 106
            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 111
      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 115
            aload 0 /* this */
            aload 1 /* worker */
            invokespecial org.glassfish.grizzly.threadpool.AbstractThreadPool.onWorkerExit:(Lorg/glassfish/grizzly/threadpool/AbstractThreadPool$Worker;)V
         1: .line 117
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         2: .line 118
            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 119
            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 117
            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 121
      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 125
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.currentPoolSize:I
            istore 1 /* size */
        start local 1 // int size
         1: .line 126
            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 127
            goto 4
         3: .line 128
      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 127
      StackMap locals:
      StackMap stack:
            iload 1 /* size */
            iinc 1 /* size */ -1
            ifgt 3
         5: .line 130
            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 134
            aload 0 /* this */
            getfield org.glassfish.grizzly.threadpool.SyncThreadPool.stateLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 135
            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
         2: .line 136
            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;
         3: .line 135
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 1
            monitorexit
         4: areturn
         5: .line 134
      StackMap locals: org.glassfish.grizzly.threadpool.SyncThreadPool java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         6: athrow
        end local 0 // org.glassfish.grizzly.threadpool.SyncThreadPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/glassfish/grizzly/threadpool/SyncThreadPool;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  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