public class io.vertx.core.impl.TaskQueue
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.core.impl.TaskQueue
  super_class: java.lang.Object
{
  static final io.vertx.core.logging.Logger log;
    descriptor: Lio/vertx/core/logging/Logger;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  private final java.util.LinkedList<io.vertx.core.impl.TaskQueue$Task> tasks;
    descriptor: Ljava/util/LinkedList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/LinkedList<Lio/vertx/core/impl/TaskQueue$Task;>;

  private java.util.concurrent.Executor current;
    descriptor: Ljava/util/concurrent/Executor;
    flags: (0x0002) ACC_PRIVATE

  private final java.lang.Runnable runner;
    descriptor: Ljava/lang/Runnable;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 34
            ldc Lio/vertx/core/impl/TaskQueue;
            invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
            putstatic io.vertx.core.impl.TaskQueue.log:Lio/vertx/core/logging/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.vertx.core.impl.TaskQueue this
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield io.vertx.core.impl.TaskQueue.tasks:Ljava/util/LinkedList;
         2: .line 56
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic run(Lio/vertx/core/impl/TaskQueue;)Ljava/lang/Runnable;
              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:
                  ()V
                  io/vertx/core/impl/TaskQueue.run()V (7)
                  ()V
            putfield io.vertx.core.impl.TaskQueue.runner:Ljava/lang/Runnable;
         3: .line 57
            return
        end local 0 // io.vertx.core.impl.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/vertx/core/impl/TaskQueue;

  private void run();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // io.vertx.core.impl.TaskQueue this
         0: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.tasks:Ljava/util/LinkedList;
            dup
            astore 2
            monitorenter
         1: .line 63
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.tasks:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.poll:()Ljava/lang/Object;
            checkcast io.vertx.core.impl.TaskQueue$Task
            astore 1 /* task */
        start local 1 // io.vertx.core.impl.TaskQueue$Task task
         2: .line 64
            aload 1 /* task */
            ifnonnull 6
         3: .line 65
            aload 0 /* this */
            aconst_null
            putfield io.vertx.core.impl.TaskQueue.current:Ljava/util/concurrent/Executor;
         4: .line 66
            aload 2
            monitorexit
         5: return
         6: .line 68
      StackMap locals: io.vertx.core.impl.TaskQueue$Task java.util.LinkedList
      StackMap stack:
            aload 1 /* task */
            getfield io.vertx.core.impl.TaskQueue$Task.exec:Ljava/util/concurrent/Executor;
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.current:Ljava/util/concurrent/Executor;
            if_acmpeq 12
         7: .line 69
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.tasks:Ljava/util/LinkedList;
            aload 1 /* task */
            invokevirtual java.util.LinkedList.addFirst:(Ljava/lang/Object;)V
         8: .line 70
            aload 1 /* task */
            getfield io.vertx.core.impl.TaskQueue$Task.exec:Ljava/util/concurrent/Executor;
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.runner:Ljava/lang/Runnable;
            invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
         9: .line 71
            aload 0 /* this */
            aload 1 /* task */
            getfield io.vertx.core.impl.TaskQueue$Task.exec:Ljava/util/concurrent/Executor;
            putfield io.vertx.core.impl.TaskQueue.current:Ljava/util/concurrent/Executor;
        10: .line 72
            aload 2
            monitorexit
        11: return
        12: .line 62
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        13: goto 16
        end local 1 // io.vertx.core.impl.TaskQueue$Task task
      StackMap locals: io.vertx.core.impl.TaskQueue top java.util.LinkedList
      StackMap stack: java.lang.Throwable
        14: aload 2
            monitorexit
        15: athrow
        start local 1 // io.vertx.core.impl.TaskQueue$Task task
        16: .line 76
      StackMap locals: io.vertx.core.impl.TaskQueue io.vertx.core.impl.TaskQueue$Task
      StackMap stack:
            aload 1 /* task */
            getfield io.vertx.core.impl.TaskQueue$Task.runnable:Ljava/lang/Runnable;
            invokeinterface java.lang.Runnable.run:()V
        17: .line 77
            goto 0
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 2 /* t */
        start local 2 // java.lang.Throwable t
        19: .line 78
            getstatic io.vertx.core.impl.TaskQueue.log:Lio/vertx/core/logging/Logger;
            ldc "Caught unexpected Throwable"
            aload 2 /* t */
            invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable t
        end local 1 // io.vertx.core.impl.TaskQueue$Task task
        20: .line 60
            goto 0
        end local 0 // io.vertx.core.impl.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0  this  Lio/vertx/core/impl/TaskQueue;
            2   14     1  task  Lio/vertx/core/impl/TaskQueue$Task;
           16   20     1  task  Lio/vertx/core/impl/TaskQueue$Task;
           19   20     2     t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     5      14  any
           6    11      14  any
          12    13      14  any
          14    15      14  any
          16    17      18  Class java.lang.Throwable

  public void execute(java.lang.Runnable, java.util.concurrent.Executor);
    descriptor: (Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // io.vertx.core.impl.TaskQueue this
        start local 1 // java.lang.Runnable task
        start local 2 // java.util.concurrent.Executor executor
         0: .line 89
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.tasks:Ljava/util/LinkedList;
            dup
            astore 3
            monitorenter
         1: .line 90
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.tasks:Ljava/util/LinkedList;
            new io.vertx.core.impl.TaskQueue$Task
            dup
            aload 1 /* task */
            aload 2 /* executor */
            invokespecial io.vertx.core.impl.TaskQueue$Task.<init>:(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
         2: .line 91
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.current:Ljava/util/concurrent/Executor;
            ifnonnull 5
         3: .line 92
            aload 0 /* this */
            aload 2 /* executor */
            putfield io.vertx.core.impl.TaskQueue.current:Ljava/util/concurrent/Executor;
         4: .line 93
            aload 2 /* executor */
            aload 0 /* this */
            getfield io.vertx.core.impl.TaskQueue.runner:Ljava/lang/Runnable;
            invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
         5: .line 89
      StackMap locals: java.util.LinkedList
      StackMap stack:
            aload 3
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 3
            monitorexit
         8: athrow
         9: .line 96
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.concurrent.Executor executor
        end local 1 // java.lang.Runnable task
        end local 0 // io.vertx.core.impl.TaskQueue this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lio/vertx/core/impl/TaskQueue;
            0   10     1      task  Ljava/lang/Runnable;
            0   10     2  executor  Ljava/util/concurrent/Executor;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    MethodParameters:
          Name  Flags
      task      
      executor  
}
SourceFile: "TaskQueue.java"
NestMembers:
  io.vertx.core.impl.TaskQueue$Task
InnerClasses:
  private Task = io.vertx.core.impl.TaskQueue$Task of io.vertx.core.impl.TaskQueue
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles