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 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
2: aload 0
aconst_null
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
3: aload 0
aconst_null
putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
4: aload 0
aload 1
putfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
5: return
end local 1 end local 0 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 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 0
dup
astore 3
monitorenter
2: aload 1
aload 0
getfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
if_acmpne 6
3: aload 3
monitorexit
4: return
5: StackMap locals: sun.awt.PostEventQueue java.lang.Thread top sun.awt.PostEventQueue
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
ifnonnull 5
7: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
ifnonnull 10
8: aload 3
monitorexit
9: return
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
11: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
astore 2
start local 2 12: aload 0
aload 0
aconst_null
dup_x1
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
13: aload 3
monitorexit
14: goto 19
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 3
monitorexit
16: athrow
start local 2 17: StackMap locals: sun.awt.PostEventQueue java.lang.Thread sun.awt.EventQueueItem
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
aload 2
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
18: aload 2
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
astore 2
19: StackMap locals:
StackMap stack:
aload 2
ifnonnull 17
20: goto 30
21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
22: aload 0
dup
astore 4
monitorenter
23: aload 0
aconst_null
putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
24: aload 0
invokevirtual java.lang.Object.notifyAll:()V
25: 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: StackMap locals:
StackMap stack:
aload 3
athrow
30: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
monitorenter
31: aload 0
aconst_null
putfield sun.awt.PostEventQueue.flushThread:Ljava/lang/Thread;
32: aload 0
invokevirtual java.lang.Object.notifyAll:()V
33: 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 37: StackMap locals: sun.awt.PostEventQueue java.lang.Thread
StackMap stack: java.lang.InterruptedException
pop
38: aload 1
invokevirtual java.lang.Thread.interrupt:()V
39: StackMap locals:
StackMap stack:
return
end local 1 end local 0 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 start local 1 0: new sun.awt.EventQueueItem
dup
aload 1
invokespecial sun.awt.EventQueueItem.<init>:(Ljava/awt/AWTEvent;)V
astore 2
start local 2 1: aload 0
dup
astore 3
monitorenter
2: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
ifnonnull 5
3: aload 0
aload 0
aload 2
dup_x1
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
4: goto 7
5: StackMap locals: sun.awt.EventQueueItem sun.awt.PostEventQueue
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
aload 2
putfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
6: aload 0
aload 2
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
7: StackMap locals:
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
aload 1
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: return
end local 2 end local 1 end local 0 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"