class com.sun.glass.ui.monocle.RunnableProcessor implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.glass.ui.monocle.RunnableProcessor
  super_class: java.lang.Object
{
  private com.sun.glass.ui.monocle.RunnableQueue queue;
    descriptor: Lcom/sun/glass/ui/monocle/RunnableQueue;
    flags: (0x0002) ACC_PRIVATE

  private java.util.LinkedList<com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl> activeRunLoops;
    descriptor: Ljava/util/LinkedList;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/LinkedList<Lcom/sun/glass/ui/monocle/RunnableProcessor$RunLoopControl;>;

  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 37
            ldc Lcom/sun/glass/ui/monocle/RunnableProcessor;
            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 com.sun.glass.ui.monocle.RunnableProcessor.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
         0: .line 37
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 39
            aload 0 /* this */
            new com.sun.glass.ui.monocle.RunnableQueue
            dup
            invokespecial com.sun.glass.ui.monocle.RunnableQueue.<init>:()V
            putfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
         2: .line 47
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield com.sun.glass.ui.monocle.RunnableProcessor.activeRunLoops:Ljava/util/LinkedList;
         3: .line 37
            return
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/glass/ui/monocle/RunnableProcessor;

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
         0: .line 51
            aload 0 /* this */
            invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.runLoop:()Ljava/lang/Object;
            pop
         1: .line 52
            return
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/glass/ui/monocle/RunnableProcessor;

  void invokeLater(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
        start local 1 // java.lang.Runnable r
         0: .line 60
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
            aload 1 /* r */
            invokevirtual com.sun.glass.ui.monocle.RunnableQueue.postRunnable:(Ljava/lang/Runnable;)V
         1: .line 61
            return
        end local 1 // java.lang.Runnable r
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/glass/ui/monocle/RunnableProcessor;
            0    2     1     r  Ljava/lang/Runnable;
    MethodParameters:
      Name  Flags
      r     

  void invokeAndWait(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
        start local 1 // java.lang.Runnable r
         0: .line 70
            new java.util.concurrent.CountDownLatch
            dup
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
            astore 2 /* latch */
        start local 2 // java.util.concurrent.CountDownLatch latch
         1: .line 71
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
            aload 2 /* latch */
            aload 1 /* r */
            invokedynamic run(Ljava/util/concurrent/CountDownLatch;Ljava/lang/Runnable;)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
                  com/sun/glass/ui/monocle/RunnableProcessor.lambda$0(Ljava/util/concurrent/CountDownLatch;Ljava/lang/Runnable;)V (6)
                  ()V
            invokevirtual com.sun.glass.ui.monocle.RunnableQueue.postRunnable:(Ljava/lang/Runnable;)V
         2: .line 79
            aload 2 /* latch */
            invokevirtual java.util.concurrent.CountDownLatch.await:()V
         3: .line 80
            goto 5
      StackMap locals: com.sun.glass.ui.monocle.RunnableProcessor java.lang.Runnable java.util.concurrent.CountDownLatch
      StackMap stack: java.lang.InterruptedException
         4: pop
         5: .line 81
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.concurrent.CountDownLatch latch
        end local 1 // java.lang.Runnable r
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lcom/sun/glass/ui/monocle/RunnableProcessor;
            0    6     1      r  Ljava/lang/Runnable;
            1    6     2  latch  Ljava/util/concurrent/CountDownLatch;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.InterruptedException
    MethodParameters:
      Name  Flags
      r     final

  private java.lang.Object runLoop();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
         0: .line 84
            new com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl
            dup
            invokespecial com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.<init>:()V
            astore 1 /* control */
        start local 1 // com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl control
         1: .line 87
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.activeRunLoops:Ljava/util/LinkedList;
            aload 1 /* control */
            invokevirtual java.util.LinkedList.push:(Ljava/lang/Object;)V
         2: .line 89
            aload 1 /* control */
            iconst_1
            putfield com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.active:Z
         3: .line 90
            goto 8
         4: .line 92
      StackMap locals: com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
            invokevirtual com.sun.glass.ui.monocle.RunnableQueue.getNextRunnable:()Ljava/lang/Runnable;
            invokeinterface java.lang.Runnable.run:()V
         5: .line 93
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 2 /* e */
        start local 2 // java.lang.Throwable e
         7: .line 94
            aload 2 /* e */
            invokestatic com.sun.glass.ui.Application.reportException:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable e
         8: .line 90
      StackMap locals:
      StackMap stack:
            aload 1 /* control */
            getfield com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.active:Z
            ifne 4
         9: .line 98
            aload 1 /* control */
            getfield com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.release:Ljava/lang/Object;
            areturn
        end local 1 // com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl control
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lcom/sun/glass/ui/monocle/RunnableProcessor;
            1   10     1  control  Lcom/sun/glass/ui/monocle/RunnableProcessor$RunLoopControl;
            7    8     2        e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.Throwable

  java.lang.Object enterNestedEventLoop();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0000) 
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
         0: .line 107
            aload 0 /* this */
            invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.runLoop:()Ljava/lang/Object;
            astore 1 /* ret */
        start local 1 // java.lang.Object ret
         1: .line 110
            aload 1 /* ret */
            areturn
        end local 1 // java.lang.Object ret
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/glass/ui/monocle/RunnableProcessor;
            1    2     1   ret  Ljava/lang/Object;

  void leaveNestedEventLoop(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
        start local 1 // java.lang.Object retValue
         0: .line 118
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.activeRunLoops:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.pop:()Ljava/lang/Object;
            checkcast com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl
            astore 2 /* current */
        start local 2 // com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl current
         1: .line 119
            getstatic com.sun.glass.ui.monocle.RunnableProcessor.$assertionsDisabled:Z
            ifne 2
            aload 2 /* current */
            ifnonnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 122
      StackMap locals: com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl
      StackMap stack:
            aload 2 /* current */
            iconst_0
            putfield com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.active:Z
         3: .line 125
            aload 2 /* current */
            aload 1 /* retValue */
            putfield com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.release:Ljava/lang/Object;
         4: .line 130
            return
        end local 2 // com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl current
        end local 1 // java.lang.Object retValue
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lcom/sun/glass/ui/monocle/RunnableProcessor;
            0    5     1  retValue  Ljava/lang/Object;
            1    5     2   current  Lcom/sun/glass/ui/monocle/RunnableProcessor$RunLoopControl;
    MethodParameters:
          Name  Flags
      retValue  

  void shutdown();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
         0: .line 133
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
            dup
            astore 1
            monitorenter
         1: .line 134
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
            invokevirtual com.sun.glass.ui.monocle.RunnableQueue.clear:()V
         2: .line 135
            goto 5
         3: .line 136
      StackMap locals: com.sun.glass.ui.monocle.RunnableQueue
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.activeRunLoops:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.pop:()Ljava/lang/Object;
            checkcast com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl
            astore 2 /* control */
        start local 2 // com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl control
         4: .line 137
            aload 2 /* control */
            iconst_0
            putfield com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl.active:Z
        end local 2 // com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl control
         5: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.activeRunLoops:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ifeq 3
         6: .line 139
            aload 0 /* this */
            getfield com.sun.glass.ui.monocle.RunnableProcessor.queue:Lcom/sun/glass/ui/monocle/RunnableQueue;
            invokevirtual java.lang.Object.notifyAll:()V
         7: .line 133
            aload 1
            monitorexit
         8: goto 11
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: aload 1
            monitorexit
        10: athrow
        11: .line 141
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.sun.glass.ui.monocle.RunnableProcessor this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lcom/sun/glass/ui/monocle/RunnableProcessor;
            4    5     2  control  Lcom/sun/glass/ui/monocle/RunnableProcessor$RunLoopControl;
      Exception table:
        from    to  target  type
           1     8       9  any
           9    10       9  any

  static void runLater(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Runnable r
         0: .line 149
            invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
         1: .line 150
            invokevirtual com.sun.glass.ui.monocle.NativePlatform.getRunnableProcessor:()Lcom/sun/glass/ui/monocle/RunnableProcessor;
         2: .line 151
            aload 0 /* r */
            invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.invokeLater:(Ljava/lang/Runnable;)V
         3: .line 152
            return
        end local 0 // java.lang.Runnable r
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0     r  Ljava/lang/Runnable;
    MethodParameters:
      Name  Flags
      r     

  private static void lambda$0(java.util.concurrent.CountDownLatch, java.lang.Runnable);
    descriptor: (Ljava/util/concurrent/CountDownLatch;Ljava/lang/Runnable;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=3, args_size=2
         0: .line 73
            aload 1
            invokeinterface java.lang.Runnable.run:()V
         1: .line 74
            goto 5
      StackMap locals:
      StackMap stack: java.lang.Throwable
         2: astore 2
         3: .line 75
            aload 0
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         4: .line 76
            aload 2
            athrow
         5: .line 75
      StackMap locals:
      StackMap stack:
            aload 0
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         6: .line 77
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           0     2       2  any
}
SourceFile: "RunnableProcessor.java"
NestMembers:
  com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl
InnerClasses:
  private RunLoopControl = com.sun.glass.ui.monocle.RunnableProcessor$RunLoopControl of com.sun.glass.ui.monocle.RunnableProcessor
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles