public class sun.tools.jconsole.Worker extends java.lang.Thread
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.tools.jconsole.Worker
  super_class: java.lang.Thread
{
  java.util.ArrayList<java.lang.Runnable> jobs;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0000) 
    Signature: Ljava/util/ArrayList<Ljava/lang/Runnable;>;

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

  public void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.tools.jconsole.Worker this
        start local 1 // java.lang.String name
         0: .line 35
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "Worker-"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
         1: .line 31
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
         2: .line 32
            aload 0 /* this */
            iconst_0
            putfield sun.tools.jconsole.Worker.stopped:Z
         3: .line 37
            aload 0 /* this */
            iconst_4
            invokevirtual sun.tools.jconsole.Worker.setPriority:(I)V
         4: .line 38
            return
        end local 1 // java.lang.String name
        end local 0 // sun.tools.jconsole.Worker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/tools/jconsole/Worker;
            0    5     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // sun.tools.jconsole.Worker this
         0: .line 41
            goto 15
         1: .line 43
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         2: .line 44
            goto 6
         3: .line 46
      StackMap locals: sun.tools.jconsole.Worker top java.util.ArrayList
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            invokevirtual java.lang.Object.wait:()V
         4: .line 47
            goto 6
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         5: pop
         6: .line 44
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.stopped:Z
            ifne 7
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            ifeq 3
         7: .line 51
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.stopped:Z
            ifeq 9
            aload 2
            monitorexit
         8: goto 16
         9: .line 53
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            iconst_0
            invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
            checkcast java.lang.Runnable
            astore 1 /* job */
        start local 1 // java.lang.Runnable job
        10: .line 43
            aload 2
            monitorexit
        11: goto 14
        end local 1 // java.lang.Runnable job
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 2
            monitorexit
        13: athrow
        start local 1 // java.lang.Runnable job
        14: .line 55
      StackMap locals: sun.tools.jconsole.Worker java.lang.Runnable
      StackMap stack:
            aload 1 /* job */
            invokeinterface java.lang.Runnable.run:()V
        end local 1 // java.lang.Runnable job
        15: .line 41
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.stopped:Z
            ifeq 1
        16: .line 57
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.tools.jconsole.Worker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lsun/tools/jconsole/Worker;
           10   12     1   job  Ljava/lang/Runnable;
           14   15     1   job  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.InterruptedException
           2     8      12  any
           9    11      12  any
          12    13      12  any

  public void stopWorker();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.tools.jconsole.Worker this
         0: .line 60
            aload 0 /* this */
            iconst_1
            putfield sun.tools.jconsole.Worker.stopped:Z
         1: .line 61
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            dup
            astore 1
            monitorenter
         2: .line 62
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            invokevirtual java.lang.Object.notify:()V
         3: .line 61
            aload 1
            monitorexit
         4: goto 7
      StackMap locals: sun.tools.jconsole.Worker java.util.ArrayList
      StackMap stack: java.lang.Throwable
         5: aload 1
            monitorexit
         6: athrow
         7: .line 64
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.tools.jconsole.Worker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/tools/jconsole/Worker;
      Exception table:
        from    to  target  type
           2     4       5  any
           5     6       5  any

  public void add(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.tools.jconsole.Worker this
        start local 1 // java.lang.Runnable job
         0: .line 67
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         1: .line 68
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            aload 1 /* job */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         2: .line 69
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            invokevirtual java.lang.Object.notify:()V
         3: .line 67
            aload 2
            monitorexit
         4: goto 7
      StackMap locals: sun.tools.jconsole.Worker java.lang.Runnable java.util.ArrayList
      StackMap stack: java.lang.Throwable
         5: aload 2
            monitorexit
         6: athrow
         7: .line 71
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Runnable job
        end local 0 // sun.tools.jconsole.Worker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/tools/jconsole/Worker;
            0    8     1   job  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    MethodParameters:
      Name  Flags
      job   

  public boolean queueFull();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.tools.jconsole.Worker this
         0: .line 74
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            dup
            astore 1
            monitorenter
         1: .line 75
            aload 0 /* this */
            getfield sun.tools.jconsole.Worker.jobs:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            ifle 2
            iconst_1
            goto 3
      StackMap locals: java.util.ArrayList
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: aload 1
            monitorexit
         4: ireturn
         5: .line 74
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         6: athrow
        end local 0 // sun.tools.jconsole.Worker this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/tools/jconsole/Worker;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
}
SourceFile: "Worker.java"