class sun.awt.PostEventQueue
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.awt.PostEventQueue
  super_class: java.lang.Object
{
  private sun.awt.EventQueueItem queueHead;
    descriptor: Lsun/awt/EventQueueItem;
    flags: (0x0002) ACC_PRIVATE

  private sun.awt.EventQueueItem queueTail;
    descriptor: Lsun/awt/EventQueueItem;
    flags: (0x0002) ACC_PRIVATE

  private final java.awt.EventQueue eventQueue;
    descriptor: Ljava/awt/EventQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.Thread flushThread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.awt.EventQueue);
    descriptor: (Ljava/awt/EventQueue;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.awt.PostEventQueue this
        start local 1 // java.awt.EventQueue eq
         0: .line 2126
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 2120
            aload 0 /* this */
            aconst_null
            putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
         2: .line 2121
            aload 0 /* this */
            aconst_null
            putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
         3: .line 2124
            aload 0 /* this */
            aconst_null
            putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
         4: .line 2127
            aload 0 /* this */
            aload 1 /* eq */
            putfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
         5: .line 2128
            return
        end local 1 // java.awt.EventQueue eq
        end local 0 // sun.awt.PostEventQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/awt/PostEventQueue;
            0    6     1    eq  Ljava/awt/EventQueue;
    MethodParameters:
      Name  Flags
      eq    

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // sun.awt.PostEventQueue this
         0: .line 2141
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            astore 1 /* newThread */
        start local 1 // java.lang.Thread newThread
         1: .line 2145
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         2: .line 2147
            aload 1 /* newThread */
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
            if_acmpne 6
         3: .line 2148
            aload 3
            monitorexit
         4: return
         5: .line 2152
      StackMap locals: sun.awt.PostEventQueue java.lang.Thread top sun.awt.PostEventQueue
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.lang.Object.wait:()V
         6: .line 2151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
            ifnonnull 5
         7: .line 2155
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
            ifnonnull 10
         8: .line 2156
            aload 3
            monitorexit
         9: return
        10: .line 2159
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* newThread */
            putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
        11: .line 2161
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
            astore 2 /* tempQueue */
        start local 2 // sun.awt.EventQueueItem tempQueue
        12: .line 2162
            aload 0 /* this */
            aload 0 /* this */
            aconst_null
            dup_x1
            putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
            putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
        13: .line 2145
            aload 3
            monitorexit
        14: goto 19
        end local 2 // sun.awt.EventQueueItem tempQueue
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: aload 3
            monitorexit
        16: athrow
        start local 2 // sun.awt.EventQueueItem tempQueue
        17: .line 2166
      StackMap locals: sun.awt.PostEventQueue java.lang.Thread sun.awt.EventQueueItem
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
            aload 2 /* tempQueue */
            getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
            invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
        18: .line 2167
            aload 2 /* tempQueue */
            getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
            astore 2 /* tempQueue */
        19: .line 2165
      StackMap locals:
      StackMap stack:
            aload 2 /* tempQueue */
            ifnonnull 17
        20: .line 2169
            goto 30
        21: .line 2170
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        22: .line 2172
            aload 0 /* this */
            dup
            astore 4
            monitorenter
        23: .line 2174
            aload 0 /* this */
            aconst_null
            putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
        24: .line 2175
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
        25: .line 2172
            aload 4
            monitorexit
        26: goto 29
      StackMap locals: sun.awt.PostEventQueue java.lang.Thread sun.awt.EventQueueItem java.lang.Throwable sun.awt.PostEventQueue
      StackMap stack: java.lang.Throwable
        27: aload 4
            monitorexit
        28: athrow
        29: .line 2177
      StackMap locals:
      StackMap stack:
            aload 3
            athrow
        30: .line 2172
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 4
            monitorenter
        31: .line 2174
            aload 0 /* this */
            aconst_null
            putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
        32: .line 2175
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
        33: .line 2172
            aload 4
            monitorexit
        34: goto 39
      StackMap locals: sun.awt.PostEventQueue java.lang.Thread sun.awt.EventQueueItem top sun.awt.PostEventQueue
      StackMap stack: java.lang.Throwable
        35: aload 4
            monitorexit
        36: athrow
        end local 2 // sun.awt.EventQueueItem tempQueue
        37: .line 2179
      StackMap locals: sun.awt.PostEventQueue java.lang.Thread
      StackMap stack: java.lang.InterruptedException
            pop
        38: .line 2181
            aload 1 /* newThread */
            invokevirtual java.lang.Thread.interrupt:()V
        39: .line 2183
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Thread newThread
        end local 0 // sun.awt.PostEventQueue this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   40     0       this  Lsun/awt/PostEventQueue;
            1   40     1  newThread  Ljava/lang/Thread;
           12   15     2  tempQueue  Lsun/awt/EventQueueItem;
           17   37     2  tempQueue  Lsun/awt/EventQueueItem;
      Exception table:
        from    to  target  type
           2     4      15  any
           5     9      15  any
          10    14      15  any
          15    16      15  any
          17    21      21  any
          23    26      27  any
          27    28      27  any
          31    34      35  any
          35    36      35  any
           1     4      37  Class java.lang.InterruptedException
           5     9      37  Class java.lang.InterruptedException
          10    37      37  Class java.lang.InterruptedException

  void postEvent(java.awt.AWTEvent);
    descriptor: (Ljava/awt/AWTEvent;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // sun.awt.PostEventQueue this
        start local 1 // java.awt.AWTEvent event
         0: .line 2189
            new sun.awt.EventQueueItem
            dup
            aload 1 /* event */
            invokespecial sun.awt.EventQueueItem.<init>:(Ljava/awt/AWTEvent;)V
            astore 2 /* item */
        start local 2 // sun.awt.EventQueueItem item
         1: .line 2191
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         2: .line 2192
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
            ifnonnull 5
         3: .line 2193
            aload 0 /* this */
            aload 0 /* this */
            aload 2 /* item */
            dup_x1
            putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
            putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
         4: .line 2194
            goto 7
         5: .line 2195
      StackMap locals: sun.awt.EventQueueItem sun.awt.PostEventQueue
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
            aload 2 /* item */
            putfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
         6: .line 2196
            aload 0 /* this */
            aload 2 /* item */
            putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
         7: .line 2191
      StackMap locals:
      StackMap stack:
            aload 3
            monitorexit
         8: goto 11
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: aload 3
            monitorexit
        10: athrow
        11: .line 2199
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
            aload 1 /* event */
            invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
            invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
            if_acmpne 12
            iconst_1
            goto 13
      StackMap locals:
      StackMap stack: java.awt.EventQueue
        12: iconst_0
      StackMap locals: sun.awt.PostEventQueue java.awt.AWTEvent sun.awt.EventQueueItem
      StackMap stack: java.awt.EventQueue int
        13: invokestatic sun.awt.SunToolkit.wakeupEventQueue:(Ljava/awt/EventQueue;Z)V
        14: .line 2200
            return
        end local 2 // sun.awt.EventQueueItem item
        end local 1 // java.awt.AWTEvent event
        end local 0 // sun.awt.PostEventQueue this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0   this  Lsun/awt/PostEventQueue;
            0   15     1  event  Ljava/awt/AWTEvent;
            1   15     2   item  Lsun/awt/EventQueueItem;
      Exception table:
        from    to  target  type
           2     8       9  any
           9    10       9  any
    MethodParameters:
       Name  Flags
      event  
}
SourceFile: "SunToolkit.java"