public class java.awt.EventQueue
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.EventQueue
super_class: java.lang.Object
{
private static final java.util.concurrent.atomic.AtomicInteger threadInitNumber;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int LOW_PRIORITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int NORM_PRIORITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int HIGH_PRIORITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ULTIMATE_PRIORITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int NUM_PRIORITIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private java.awt.Queue[] queues;
descriptor: [Ljava/awt/Queue;
flags: (0x0002) ACC_PRIVATE
private java.awt.EventQueue nextQueue;
descriptor: Ljava/awt/EventQueue;
flags: (0x0002) ACC_PRIVATE
private java.awt.EventQueue previousQueue;
descriptor: Ljava/awt/EventQueue;
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.locks.Lock pushPopLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.Condition pushPopCond;
descriptor: Ljava/util/concurrent/locks/Condition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.Runnable dummyRunnable;
descriptor: Ljava/lang/Runnable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.awt.EventDispatchThread dispatchThread;
descriptor: Ljava/awt/EventDispatchThread;
flags: (0x0002) ACC_PRIVATE
private final java.lang.ThreadGroup threadGroup;
descriptor: Ljava/lang/ThreadGroup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long mostRecentEventTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long mostRecentKeyEventTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.ref.WeakReference<java.awt.AWTEvent> currentEvent;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljava/awt/AWTEvent;>;
private volatile int waitForID;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final sun.awt.AppContext appContext;
descriptor: Lsun/awt/AppContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private sun.awt.FwDispatcher fwDispatcher;
descriptor: Lsun/awt/FwDispatcher;
flags: (0x0002) ACC_PRIVATE
private static volatile sun.util.logging.PlatformLogger eventLog;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static boolean fxAppThreadIsDispatchThread;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int PAINT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int UPDATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int MOVE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DRAG;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int PEER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int CACHE_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final jdk.internal.access.JavaSecurityAccess javaSecurityAccess;
descriptor: Ljdk/internal/access/JavaSecurityAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putstatic java.awt.EventQueue.threadInitNumber:Ljava/util/concurrent/atomic/AtomicInteger;
1: new java.awt.EventQueue$1
dup
invokespecial java.awt.EventQueue$1.<init>:()V
putstatic java.awt.EventQueue.dummyRunnable:Ljava/lang/Runnable;
2: new java.awt.EventQueue$2
dup
invokespecial java.awt.EventQueue$2.<init>:()V
3: invokestatic sun.awt.AWTAccessor.setEventQueueAccessor:(Lsun/awt/AWTAccessor$EventQueueAccessor;)V
4: new java.awt.EventQueue$3
dup
invokespecial java.awt.EventQueue$3.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: invokestatic jdk.internal.access.SharedSecrets.getJavaSecurityAccess:()Ljdk/internal/access/JavaSecurityAccess;
6: putstatic java.awt.EventQueue.javaSecurityAccess:Ljdk/internal/access/JavaSecurityAccess;
7: return
LocalVariableTable:
Start End Slot Name Signature
private static final sun.util.logging.PlatformLogger getEventLog();
descriptor: ()Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: getstatic java.awt.EventQueue.eventLog:Lsun/util/logging/PlatformLogger;
ifnonnull 2
1: ldc "java.awt.event.EventQueue"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic java.awt.EventQueue.eventLog:Lsun/util/logging/PlatformLogger;
2: StackMap locals:
StackMap stack:
getstatic java.awt.EventQueue.eventLog:Lsun/util/logging/PlatformLogger;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_4
anewarray java.awt.Queue
putfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
2: aload 0
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
putfield java.awt.EventQueue.threadGroup:Ljava/lang/ThreadGroup;
4: aload 0
5: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
putfield java.awt.EventQueue.classLoader:Ljava/lang/ClassLoader;
6: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield java.awt.EventQueue.mostRecentEventTime:J
7: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield java.awt.EventQueue.mostRecentKeyEventTime:J
8: aload 0
new java.lang.StringBuilder
dup
ldc "AWT-EventQueue-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.awt.EventQueue.threadInitNumber:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield java.awt.EventQueue.name:Ljava/lang/String;
9: iconst_0
istore 1
start local 1 10: goto 13
11: StackMap locals: java.awt.EventQueue int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
new java.awt.Queue
dup
invokespecial java.awt.Queue.<init>:()V
aastore
12: iinc 1 1
StackMap locals:
StackMap stack:
13: iload 1
iconst_4
if_icmplt 11
end local 1 14: aload 0
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
putfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
15: aload 0
aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
getstatic sun.awt.AppContext.EVENT_QUEUE_LOCK_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.locks.Lock
putfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
16: aload 0
aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
getstatic sun.awt.AppContext.EVENT_QUEUE_COND_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.locks.Condition
putfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/awt/EventQueue;
10 14 1 i I
public void postEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
1: aload 0
aload 1
invokevirtual java.awt.EventQueue.postEventPrivate:(Ljava/awt/AWTEvent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/EventQueue;
0 3 1 theEvent Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
theEvent
private void postEventPrivate(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
putfield java.awt.AWTEvent.isPosted:Z
1: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
ifnull 6
3: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
aload 1
invokevirtual java.awt.EventQueue.postEventPrivate:(Ljava/awt/AWTEvent;)V
4: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnonnull 11
7: aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
if_acmpne 10
8: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
9: return
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.EventQueue.initDispatchThread:()V
11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
invokestatic java.awt.EventQueue.getPriority:(Ljava/awt/AWTEvent;)I
invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;I)V
12: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
14: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
15: aload 2
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/awt/EventQueue;
0 18 1 theEvent Ljava/awt/AWTEvent;
Exception table:
from to target type
2 4 13 any
6 8 13 any
10 13 13 any
MethodParameters:
Name Flags
theEvent
private static int getPriority(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
instanceof sun.awt.PeerEvent
ifeq 8
1: aload 0
checkcast sun.awt.PeerEvent
astore 1
start local 1 2: aload 1
invokevirtual sun.awt.PeerEvent.getFlags:()J
ldc 2
land
lconst_0
lcmp
ifeq 4
3: iconst_3
ireturn
4: StackMap locals: sun.awt.PeerEvent
StackMap stack:
aload 1
invokevirtual sun.awt.PeerEvent.getFlags:()J
lconst_1
land
lconst_0
lcmp
ifeq 6
5: iconst_2
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.PeerEvent.getFlags:()J
ldc 4
land
lconst_0
lcmp
ifeq 8
7: iconst_0
ireturn
end local 1 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.AWTEvent.getID:()I
istore 1
start local 1 9: iload 1
sipush 800
if_icmplt 11
iload 1
sipush 801
if_icmpgt 11
10: iconst_0
ireturn
11: StackMap locals: int
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 theEvent Ljava/awt/AWTEvent;
2 8 1 peerEvent Lsun/awt/PeerEvent;
9 12 1 id I
MethodParameters:
Name Flags
theEvent
private void postEvent(java.awt.AWTEvent, int);
descriptor: (Ljava/awt/AWTEvent;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual java.awt.EventQueue.coalesceEvent:(Ljava/awt/AWTEvent;I)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new sun.awt.EventQueueItem
dup
aload 1
invokespecial sun.awt.EventQueueItem.<init>:(Ljava/awt/AWTEvent;)V
astore 3
start local 3 3: aload 0
aload 3
invokevirtual java.awt.EventQueue.cacheEQItem:(Lsun/awt/EventQueueItem;)V
4: aload 1
invokevirtual java.awt.AWTEvent.getID:()I
aload 0
getfield java.awt.EventQueue.waitForID:I
if_icmpne 5
iconst_1
goto 6
StackMap locals: sun.awt.EventQueueItem
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
ifnonnull 18
8: aload 0
invokevirtual java.awt.EventQueue.noEvents:()Z
istore 5
start local 5 9: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
aload 3
dup_x1
putfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
putfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
10: iload 5
ifeq 15
11: aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
if_acmpeq 13
12: invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
invokevirtual sun.awt.AWTAutoShutdown.notifyThreadBusy:(Ljava/lang/Thread;)V
13: StackMap locals: int int
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signalAll:()V
14: goto 22
StackMap locals:
StackMap stack:
15: iload 4
ifeq 22
16: aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signalAll:()V
end local 5 17: goto 22
18: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
getfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
aload 3
putfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
19: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
aload 3
putfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
20: iload 4
ifeq 22
21: aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signalAll:()V
22: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljava/awt/EventQueue;
0 23 1 theEvent Ljava/awt/AWTEvent;
0 23 2 priority I
3 23 3 newItem Lsun/awt/EventQueueItem;
7 23 4 notifyID Z
9 17 5 shouldNotify Z
MethodParameters:
Name Flags
theEvent
priority
private boolean coalescePaintEvent(java.awt.event.PaintEvent);
descriptor: (Ljava/awt/event/PaintEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.PaintEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
getfield java.awt.Component.peer:Ljava/awt/peer/ComponentPeer;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.peer.ComponentPeer.coalescePaintEvent:(Ljava/awt/event/PaintEvent;)V
3: StackMap locals: java.awt.peer.ComponentPeer
StackMap stack:
aload 1
invokevirtual java.awt.event.PaintEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals: sun.awt.EventQueueItem[]
StackMap stack:
aload 1
invokestatic java.awt.EventQueue.eventToCacheIndex:(Ljava/awt/AWTEvent;)I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpeq 12
aload 3
iload 4
aaload
ifnull 12
8: aload 0
aload 1
aload 3
iload 4
aaload
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
checkcast java.awt.event.PaintEvent
invokevirtual java.awt.EventQueue.mergePaintEvents:(Ljava/awt/event/PaintEvent;Ljava/awt/event/PaintEvent;)Ljava/awt/event/PaintEvent;
astore 5
start local 5 9: aload 5
ifnull 12
10: aload 3
iload 4
aaload
aload 5
putfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
11: iconst_1
ireturn
end local 5 12: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/EventQueue;
0 13 1 e Ljava/awt/event/PaintEvent;
1 13 2 sourcePeer Ljava/awt/peer/ComponentPeer;
4 13 3 cache [Lsun/awt/EventQueueItem;
7 13 4 index I
9 12 5 merged Ljava/awt/event/PaintEvent;
MethodParameters:
Name Flags
e
private java.awt.event.PaintEvent mergePaintEvents(java.awt.event.PaintEvent, java.awt.event.PaintEvent);
descriptor: (Ljava/awt/event/PaintEvent;Ljava/awt/event/PaintEvent;)Ljava/awt/event/PaintEvent;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.awt.event.PaintEvent.getUpdateRect:()Ljava/awt/Rectangle;
astore 3
start local 3 1: aload 2
invokevirtual java.awt.event.PaintEvent.getUpdateRect:()Ljava/awt/Rectangle;
astore 4
start local 4 2: aload 4
aload 3
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Rectangle;)Z
ifeq 4
3: aload 2
areturn
4: StackMap locals: java.awt.Rectangle java.awt.Rectangle
StackMap stack:
aload 3
aload 4
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Rectangle;)Z
ifeq 6
5: aload 1
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
0 7 1 a Ljava/awt/event/PaintEvent;
0 7 2 b Ljava/awt/event/PaintEvent;
1 7 3 aRect Ljava/awt/Rectangle;
2 7 4 bRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
a
b
private boolean coalesceMouseEvent(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: sun.awt.EventQueueItem[]
StackMap stack:
aload 1
invokestatic java.awt.EventQueue.eventToCacheIndex:(Ljava/awt/AWTEvent;)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpeq 7
aload 2
iload 3
aaload
ifnull 7
5: aload 2
iload 3
aaload
aload 1
putfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
6: iconst_1
ireturn
7: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/EventQueue;
0 8 1 e Ljava/awt/event/MouseEvent;
1 8 2 cache [Lsun/awt/EventQueueItem;
4 8 3 index I
MethodParameters:
Name Flags
e
private boolean coalescePeerEvent(sun.awt.PeerEvent);
descriptor: (Lsun/awt/PeerEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.PeerEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: sun.awt.EventQueueItem[]
StackMap stack:
aload 1
invokestatic java.awt.EventQueue.eventToCacheIndex:(Ljava/awt/AWTEvent;)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpeq 10
aload 2
iload 3
aaload
ifnull 10
5: aload 1
aload 2
iload 3
aaload
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
checkcast sun.awt.PeerEvent
invokevirtual sun.awt.PeerEvent.coalesceEvents:(Lsun/awt/PeerEvent;)Lsun/awt/PeerEvent;
astore 1
6: aload 1
ifnull 9
7: aload 2
iload 3
aaload
aload 1
putfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
8: iconst_1
ireturn
9: StackMap locals: int
StackMap stack:
aload 2
iload 3
aconst_null
aastore
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/awt/EventQueue;
0 11 1 e Lsun/awt/PeerEvent;
1 11 2 cache [Lsun/awt/EventQueueItem;
4 11 3 index I
MethodParameters:
Name Flags
e
private boolean coalesceOtherEvent(java.awt.AWTEvent, int);
descriptor: (Ljava/awt/AWTEvent;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.awt.AWTEvent.getID:()I
istore 3
start local 3 1: aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
astore 4
start local 4 2: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
astore 5
start local 5 3: goto 12
4: StackMap locals: int java.awt.Component sun.awt.EventQueueItem
StackMap stack:
aload 5
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
aload 4
if_acmpne 11
aload 5
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getID:()I
iload 3
if_icmpne 11
5: aload 4
6: aload 5
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
aload 1
7: invokevirtual java.awt.Component.coalesceEvents:(Ljava/awt/AWTEvent;Ljava/awt/AWTEvent;)Ljava/awt/AWTEvent;
astore 6
start local 6 8: aload 6
ifnull 11
9: aload 5
aload 6
putfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
10: iconst_1
ireturn
end local 6 11: StackMap locals:
StackMap stack:
aload 5
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
astore 5
StackMap locals:
StackMap stack:
12: aload 5
ifnonnull 4
end local 5 13: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/awt/EventQueue;
0 14 1 e Ljava/awt/AWTEvent;
0 14 2 priority I
1 14 3 id I
2 14 4 source Ljava/awt/Component;
3 13 5 entry Lsun/awt/EventQueueItem;
8 11 6 coalescedEvent Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
priority
private boolean coalesceEvent(java.awt.AWTEvent, int);
descriptor: (Ljava/awt/AWTEvent;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
instanceof java.awt.Component
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.awt.PeerEvent
ifeq 4
3: aload 0
aload 1
checkcast sun.awt.PeerEvent
invokevirtual java.awt.EventQueue.coalescePeerEvent:(Lsun/awt/PeerEvent;)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
invokevirtual java.awt.Component.isCoalescingEnabled:()Z
ifeq 7
5: aload 0
aload 1
iload 2
invokevirtual java.awt.EventQueue.coalesceOtherEvent:(Ljava/awt/AWTEvent;I)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 1
instanceof java.awt.event.PaintEvent
ifeq 9
8: aload 0
aload 1
checkcast java.awt.event.PaintEvent
invokevirtual java.awt.EventQueue.coalescePaintEvent:(Ljava/awt/event/PaintEvent;)Z
ireturn
9: StackMap locals:
StackMap stack:
aload 1
instanceof java.awt.event.MouseEvent
ifeq 11
10: aload 0
aload 1
checkcast java.awt.event.MouseEvent
invokevirtual java.awt.EventQueue.coalesceMouseEvent:(Ljava/awt/event/MouseEvent;)Z
ireturn
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/EventQueue;
0 12 1 e Ljava/awt/AWTEvent;
0 12 2 priority I
MethodParameters:
Name Flags
e
priority
private void cacheEQItem(sun.awt.EventQueueItem);
descriptor: (Lsun/awt/EventQueueItem;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokestatic java.awt.EventQueue.eventToCacheIndex:(Ljava/awt/AWTEvent;)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpeq 6
aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
instanceof java.awt.Component
ifeq 6
2: aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
astore 3
start local 3 3: aload 3
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
ifnonnull 5
4: aload 3
iconst_5
anewarray sun.awt.EventQueueItem
putfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
5: StackMap locals: int java.awt.Component
StackMap stack:
aload 3
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
iload 2
aload 1
aastore
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
0 7 1 entry Lsun/awt/EventQueueItem;
1 7 2 index I
3 6 3 source Ljava/awt/Component;
MethodParameters:
Name Flags
entry
private void uncacheEQItem(sun.awt.EventQueueItem);
descriptor: (Lsun/awt/EventQueueItem;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokestatic java.awt.EventQueue.eventToCacheIndex:(Ljava/awt/AWTEvent;)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpeq 6
aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
instanceof java.awt.Component
ifeq 6
2: aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
astore 3
start local 3 3: aload 3
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
ifnonnull 5
4: return
5: StackMap locals: int java.awt.Component
StackMap stack:
aload 3
getfield java.awt.Component.eventCache:[Lsun/awt/EventQueueItem;
iload 2
aconst_null
aastore
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
0 7 1 entry Lsun/awt/EventQueueItem;
1 7 2 index I
3 6 3 source Ljava/awt/Component;
MethodParameters:
Name Flags
entry
private static int eventToCacheIndex(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.AWTEvent.getID:()I
lookupswitch { // 4
503: 3
506: 4
800: 1
801: 2
default: 7
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof sun.awt.dnd.SunDropTargetEvent
ifeq 5
iconst_m1
goto 6
StackMap locals:
StackMap stack:
5: iconst_3
StackMap locals:
StackMap stack: int
6: ireturn
7: StackMap locals:
StackMap stack:
aload 0
instanceof sun.awt.PeerEvent
ifeq 8
iconst_4
goto 9
StackMap locals:
StackMap stack:
8: iconst_m1
StackMap locals:
StackMap stack: int
9: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
private boolean noEvents();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
ifnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
iconst_4
if_icmplt 2
end local 1 6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
1 6 1 i I
public java.awt.AWTEvent getNextEvent();
descriptor: ()Ljava/awt/AWTEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
1: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
invokevirtual java.awt.EventQueue.getNextEventPrivate:()Ljava/awt/AWTEvent;
astore 1
start local 1 3: aload 1
ifnull 7
4: aload 1
astore 3
5: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 3
areturn
7: StackMap locals: java.awt.AWTEvent
StackMap stack:
invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
invokevirtual sun.awt.AWTAutoShutdown.notifyThreadFree:(Ljava/lang/Thread;)V
8: aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.await:()V
end local 1 9: goto 13
StackMap locals: java.awt.EventQueue
StackMap stack: java.lang.Throwable
10: astore 2
11: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: aload 2
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/awt/EventQueue;
3 9 1 event Ljava/awt/AWTEvent;
Exception table:
from to target type
2 5 10 any
7 10 10 any
Exceptions:
throws java.lang.InterruptedException
java.awt.AWTEvent getNextEventPrivate();
descriptor: ()Ljava/awt/AWTEvent;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_3
istore 1
start local 1 1: goto 10
2: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
ifnull 9
3: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
astore 2
start local 2 4: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
aload 2
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
putfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
5: aload 2
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
ifnonnull 7
6: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
aconst_null
putfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
7: StackMap locals: sun.awt.EventQueueItem
StackMap stack:
aload 0
aload 2
invokevirtual java.awt.EventQueue.uncacheEQItem:(Lsun/awt/EventQueueItem;)V
8: aload 2
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
areturn
end local 2 9: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
10: iload 1
ifge 2
end local 1 11: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/EventQueue;
1 11 1 i I
4 9 2 entry Lsun/awt/EventQueueItem;
Exceptions:
throws java.lang.InterruptedException
java.awt.AWTEvent getNextEvent(int);
descriptor: (I)Ljava/awt/AWTEvent;
flags: (0x0000)
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
1: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: iconst_0
istore 2
start local 2 3: goto 21
4: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: goto 19
7: StackMap locals: sun.awt.EventQueueItem sun.awt.EventQueueItem
StackMap stack:
aload 3
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getID:()I
iload 1
if_icmpne 18
8: aload 4
ifnonnull 11
9: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
aload 3
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
putfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
10: goto 12
11: StackMap locals:
StackMap stack:
aload 4
aload 3
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
putfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
12: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
getfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
aload 3
if_acmpne 14
13: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
aload 4
putfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
14: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.awt.EventQueue.uncacheEQItem:(Lsun/awt/EventQueueItem;)V
15: aload 3
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
astore 6
16: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
17: aload 6
areturn
18: StackMap locals:
StackMap stack:
aload 3
astore 4
aload 3
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
astore 3
StackMap locals:
StackMap stack:
19: aload 3
ifnonnull 7
end local 4 end local 3 20: iinc 2 1
StackMap locals:
StackMap stack:
21: iload 2
iconst_4
if_icmplt 4
end local 2 22: aload 0
iload 1
putfield java.awt.EventQueue.waitForID:I
23: aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.await:()V
24: aload 0
iconst_0
putfield java.awt.EventQueue.waitForID:I
25: goto 29
StackMap locals: java.awt.EventQueue int
StackMap stack: java.lang.Throwable
26: astore 5
27: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
28: aload 5
athrow
29: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
30: goto 0
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljava/awt/EventQueue;
0 31 1 id I
3 22 2 i I
5 20 3 entry Lsun/awt/EventQueueItem;
6 20 4 prev Lsun/awt/EventQueueItem;
Exception table:
from to target type
2 16 26 any
18 26 26 any
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
id
public java.awt.AWTEvent peekEvent();
descriptor: ()Ljava/awt/AWTEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: iconst_3
istore 1
start local 1 2: goto 8
3: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
ifnull 7
4: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 1
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
astore 3
5: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 3
areturn
7: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
8: iload 1
ifge 3
end local 1 9: goto 13
StackMap locals: java.awt.EventQueue
StackMap stack: java.lang.Throwable
10: astore 2
11: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: aload 2
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/awt/EventQueue;
2 9 1 i I
Exception table:
from to target type
1 5 10 any
7 10 10 any
public java.awt.AWTEvent peekEvent(int);
descriptor: (I)Ljava/awt/AWTEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: iconst_3
istore 2
start local 2 2: goto 12
3: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 2
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
astore 3
start local 3 4: goto 10
5: StackMap locals: sun.awt.EventQueueItem
StackMap stack:
aload 3
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getID:()I
iload 1
if_icmpne 9
6: aload 3
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
astore 5
7: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 5
areturn
9: StackMap locals:
StackMap stack:
aload 3
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
astore 3
StackMap locals:
StackMap stack:
10: aload 3
ifnonnull 5
end local 3 11: iinc 2 -1
StackMap locals:
StackMap stack:
12: iload 2
ifge 3
end local 2 13: goto 17
StackMap locals: java.awt.EventQueue int
StackMap stack: java.lang.Throwable
14: astore 4
15: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
16: aload 4
athrow
17: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
18: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/awt/EventQueue;
0 19 1 id I
2 13 2 i I
4 11 3 q Lsun/awt/EventQueueItem;
Exception table:
from to target type
1 7 14 any
9 14 14 any
MethodParameters:
Name Flags
id
protected void dispatchEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
astore 2
start local 2 1: new java.awt.EventQueue$4
dup
aload 0
aload 1
aload 2
invokespecial java.awt.EventQueue$4.<init>:(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V
astore 3
start local 3 2: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 4
start local 4 3: aload 2
invokestatic java.awt.EventQueue.getAccessControlContextFrom:(Ljava/lang/Object;)Ljava/security/AccessControlContext;
astore 5
start local 5 4: aload 1
invokevirtual java.awt.AWTEvent.getAccessControlContext:()Ljava/security/AccessControlContext;
astore 6
start local 6 5: aload 5
ifnonnull 8
6: getstatic java.awt.EventQueue.javaSecurityAccess:Ljdk/internal/access/JavaSecurityAccess;
aload 3
aload 4
aload 6
invokeinterface jdk.internal.access.JavaSecurityAccess.doIntersectionPrivilege:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
7: goto 12
8: StackMap locals: java.awt.EventQueue java.awt.AWTEvent java.lang.Object java.security.PrivilegedAction java.security.AccessControlContext java.security.AccessControlContext java.security.AccessControlContext
StackMap stack:
getstatic java.awt.EventQueue.javaSecurityAccess:Ljdk/internal/access/JavaSecurityAccess;
9: new java.awt.EventQueue$5
dup
aload 0
aload 3
aload 6
invokespecial java.awt.EventQueue$5.<init>:(Ljava/awt/EventQueue;Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)V
10: aload 4
aload 5
11: invokeinterface jdk.internal.access.JavaSecurityAccess.doIntersectionPrivilege:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/EventQueue;
0 13 1 event Ljava/awt/AWTEvent;
1 13 2 src Ljava/lang/Object;
2 13 3 action Ljava/security/PrivilegedAction<Ljava/lang/Void;>;
3 13 4 stack Ljava/security/AccessControlContext;
4 13 5 srcAcc Ljava/security/AccessControlContext;
5 13 6 eventAcc Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
event final
private static java.security.AccessControlContext getAccessControlContextFrom(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/security/AccessControlContext;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.awt.Component
ifeq 2
1: aload 0
checkcast java.awt.Component
invokevirtual java.awt.Component.getAccessControlContext:()Ljava/security/AccessControlContext;
goto 7
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.awt.MenuComponent
ifeq 4
3: aload 0
checkcast java.awt.MenuComponent
invokevirtual java.awt.MenuComponent.getAccessControlContext:()Ljava/security/AccessControlContext;
goto 7
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.awt.TrayIcon
ifeq 6
5: aload 0
checkcast java.awt.TrayIcon
invokevirtual java.awt.TrayIcon.getAccessControlContext:()Ljava/security/AccessControlContext;
goto 7
6: StackMap locals:
StackMap stack:
aconst_null
7: StackMap locals:
StackMap stack: java.security.AccessControlContext
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 src Ljava/lang/Object;
MethodParameters:
Name Flags
src
private void dispatchEventImpl(java.awt.AWTEvent, java.lang.Object);
descriptor: (Ljava/awt/AWTEvent;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_1
putfield java.awt.AWTEvent.isPosted:Z
1: aload 1
instanceof java.awt.ActiveEvent
ifeq 5
2: aload 0
aload 1
invokevirtual java.awt.EventQueue.setCurrentEventAndMostRecentTimeImpl:(Ljava/awt/AWTEvent;)V
3: aload 1
checkcast java.awt.ActiveEvent
invokeinterface java.awt.ActiveEvent.dispatch:()V
4: goto 21
StackMap locals:
StackMap stack:
5: aload 2
instanceof java.awt.Component
ifeq 9
6: aload 2
checkcast java.awt.Component
aload 1
invokevirtual java.awt.Component.dispatchEvent:(Ljava/awt/AWTEvent;)V
7: aload 1
invokevirtual java.awt.AWTEvent.dispatched:()V
8: goto 21
StackMap locals:
StackMap stack:
9: aload 2
instanceof java.awt.MenuComponent
ifeq 12
10: aload 2
checkcast java.awt.MenuComponent
aload 1
invokevirtual java.awt.MenuComponent.dispatchEvent:(Ljava/awt/AWTEvent;)V
11: goto 21
StackMap locals:
StackMap stack:
12: aload 2
instanceof java.awt.TrayIcon
ifeq 15
13: aload 2
checkcast java.awt.TrayIcon
aload 1
invokevirtual java.awt.TrayIcon.dispatchEvent:(Ljava/awt/AWTEvent;)V
14: goto 21
StackMap locals:
StackMap stack:
15: aload 2
instanceof sun.awt.AWTAutoShutdown
ifeq 19
16: aload 0
invokevirtual java.awt.EventQueue.noEvents:()Z
ifeq 21
17: aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
invokevirtual java.awt.EventDispatchThread.stopDispatching:()V
18: goto 21
19: StackMap locals:
StackMap stack:
invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 21
20: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Unable to dispatch event: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/awt/EventQueue;
0 22 1 event Ljava/awt/AWTEvent;
0 22 2 src Ljava/lang/Object;
MethodParameters:
Name Flags
event final
src final
public static long getMostRecentEventTime();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
invokevirtual java.awt.EventQueue.getMostRecentEventTimeImpl:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
private long getMostRecentEventTimeImpl();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
if_acmpne 3
2: aload 0
getfield java.awt.EventQueue.mostRecentEventTime:J
goto 4
3: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
StackMap locals:
StackMap stack: long
4: lstore 2
5: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: lload 2
lreturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
8: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
9: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/awt/EventQueue;
Exception table:
from to target type
1 5 7 any
long getMostRecentEventTimeEx();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield java.awt.EventQueue.mostRecentEventTime:J
lstore 2
2: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
3: lload 2
lreturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
Exception table:
from to target type
1 2 4 any
public static java.awt.AWTEvent getCurrentEvent();
descriptor: ()Ljava/awt/AWTEvent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
invokevirtual java.awt.EventQueue.getCurrentEventImpl:()Ljava/awt/AWTEvent;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.awt.AWTEvent getCurrentEventImpl();
descriptor: ()Ljava/awt/AWTEvent;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
if_acmpeq 3
2: getstatic java.awt.EventQueue.fxAppThreadIsDispatchThread:Z
ifeq 9
3: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.currentEvent:Ljava/lang/ref/WeakReference;
ifnull 5
4: aload 0
getfield java.awt.EventQueue.currentEvent:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.awt.AWTEvent
goto 6
5: StackMap locals:
StackMap stack:
aconst_null
StackMap locals:
StackMap stack: java.awt.AWTEvent
6: astore 2
7: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 2
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: aconst_null
areturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
12: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
13: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/awt/EventQueue;
Exception table:
from to target type
1 7 11 any
public void push(java.awt.EventQueue);
descriptor: (Ljava/awt/EventQueue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 2
1: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "EventQueue.push("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
3: aload 0
astore 2
start local 2 4: goto 6
5: StackMap locals: java.awt.EventQueue
StackMap stack:
aload 2
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
ifnonnull 5
7: aload 2
getfield java.awt.EventQueue.fwDispatcher:Lsun/awt/FwDispatcher;
ifnull 9
8: new java.lang.RuntimeException
dup
ldc "push() to queue with fwDispatcher"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnull 19
10: aload 2
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
invokevirtual java.awt.EventDispatchThread.getEventQueue:()Ljava/awt/EventQueue;
aload 0
if_acmpne 19
11: aload 1
aload 2
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
putfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
12: aload 2
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
aload 1
invokevirtual java.awt.EventDispatchThread.setEventQueue:(Ljava/awt/EventQueue;)V
13: goto 19
14: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.awt.EventQueue.getNextEventPrivate:()Ljava/awt/AWTEvent;
invokevirtual java.awt.EventQueue.postEventPrivate:(Ljava/awt/AWTEvent;)V
15: goto 19
StackMap locals:
StackMap stack: java.lang.InterruptedException
16: astore 3
start local 3 17: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 19
18: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
ldc "Interrupted push"
aload 3
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 19: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.EventQueue.peekEvent:()Ljava/awt/AWTEvent;
ifnonnull 14
20: aload 2
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnull 22
21: aload 2
new java.awt.event.InvocationEvent
dup
aload 2
getstatic java.awt.EventQueue.dummyRunnable:Ljava/lang/Runnable;
invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;)V
invokevirtual java.awt.EventQueue.postEventPrivate:(Ljava/awt/AWTEvent;)V
22: StackMap locals:
StackMap stack:
aload 1
aload 2
putfield java.awt.EventQueue.previousQueue:Ljava/awt/EventQueue;
23: aload 2
aload 1
putfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
24: aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
getstatic sun.awt.AppContext.EVENT_QUEUE_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
if_acmpne 26
25: aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
getstatic sun.awt.AppContext.EVENT_QUEUE_KEY:Ljava/lang/Object;
aload 1
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
26: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signalAll:()V
end local 2 27: goto 31
StackMap locals: java.awt.EventQueue java.awt.EventQueue
StackMap stack: java.lang.Throwable
28: astore 4
29: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
30: aload 4
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
32: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljava/awt/EventQueue;
0 33 1 newEventQueue Ljava/awt/EventQueue;
4 27 2 topQueue Ljava/awt/EventQueue;
17 19 3 ie Ljava/lang/InterruptedException;
Exception table:
from to target type
14 15 16 Class java.lang.InterruptedException
3 28 28 any
MethodParameters:
Name Flags
newEventQueue
protected void pop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=1
start local 0 0: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 2
1: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "EventQueue.pop("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
3: aload 0
astore 1
start local 1 4: goto 6
5: StackMap locals: java.awt.EventQueue
StackMap stack:
aload 1
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
ifnonnull 5
7: aload 1
getfield java.awt.EventQueue.previousQueue:Ljava/awt/EventQueue;
astore 2
start local 2 8: aload 2
ifnonnull 10
9: new java.util.EmptyStackException
dup
invokespecial java.util.EmptyStackException.<init>:()V
athrow
10: StackMap locals: java.awt.EventQueue
StackMap stack:
aload 1
aconst_null
putfield java.awt.EventQueue.previousQueue:Ljava/awt/EventQueue;
11: aload 2
aconst_null
putfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
12: goto 18
13: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.awt.EventQueue.getNextEventPrivate:()Ljava/awt/AWTEvent;
invokevirtual java.awt.EventQueue.postEventPrivate:(Ljava/awt/AWTEvent;)V
14: goto 18
StackMap locals:
StackMap stack: java.lang.InterruptedException
15: astore 3
start local 3 16: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 18
17: invokestatic java.awt.EventQueue.getEventLog:()Lsun/util/logging/PlatformLogger;
ldc "Interrupted pop"
aload 3
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 18: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.EventQueue.peekEvent:()Ljava/awt/AWTEvent;
ifnonnull 13
19: aload 1
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnull 23
20: aload 1
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
invokevirtual java.awt.EventDispatchThread.getEventQueue:()Ljava/awt/EventQueue;
aload 0
if_acmpne 23
21: aload 2
aload 1
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
putfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
22: aload 1
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
aload 2
invokevirtual java.awt.EventDispatchThread.setEventQueue:(Ljava/awt/EventQueue;)V
23: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
getstatic sun.awt.AppContext.EVENT_QUEUE_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 0
if_acmpne 25
24: aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
getstatic sun.awt.AppContext.EVENT_QUEUE_KEY:Ljava/lang/Object;
aload 2
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: StackMap locals:
StackMap stack:
aload 1
new java.awt.event.InvocationEvent
dup
aload 1
getstatic java.awt.EventQueue.dummyRunnable:Ljava/lang/Runnable;
invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;)V
invokevirtual java.awt.EventQueue.postEventPrivate:(Ljava/awt/AWTEvent;)V
26: aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signalAll:()V
end local 2 end local 1 27: goto 31
StackMap locals: java.awt.EventQueue
StackMap stack: java.lang.Throwable
28: astore 4
29: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
30: aload 4
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
32: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljava/awt/EventQueue;
4 27 1 topQueue Ljava/awt/EventQueue;
8 27 2 prevQueue Ljava/awt/EventQueue;
16 18 3 ie Ljava/lang/InterruptedException;
Exception table:
from to target type
13 14 15 Class java.lang.InterruptedException
3 28 28 any
Exceptions:
throws java.util.EmptyStackException
public java.awt.SecondaryLoop createSecondaryLoop();
descriptor: ()Ljava/awt/SecondaryLoop;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
lconst_0
invokevirtual java.awt.EventQueue.createSecondaryLoop:(Ljava/awt/Conditional;Ljava/awt/EventFilter;J)Ljava/awt/SecondaryLoop;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/EventQueue;
java.awt.SecondaryLoop createSecondaryLoop(java.awt.Conditional, java.awt.EventFilter, long);
descriptor: (Ljava/awt/Conditional;Ljava/awt/EventFilter;J)Ljava/awt/SecondaryLoop;
flags: (0x0000)
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
ifnull 5
2: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
aload 1
aload 2
lload 3
invokevirtual java.awt.EventQueue.createSecondaryLoop:(Ljava/awt/Conditional;Ljava/awt/EventFilter;J)Ljava/awt/SecondaryLoop;
astore 6
3: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
4: aload 6
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.fwDispatcher:Lsun/awt/FwDispatcher;
ifnull 9
6: new java.awt.EventQueue$FwSecondaryLoopWrapper
dup
aload 0
aload 0
getfield java.awt.EventQueue.fwDispatcher:Lsun/awt/FwDispatcher;
invokeinterface sun.awt.FwDispatcher.createSecondaryLoop:()Ljava/awt/SecondaryLoop;
aload 2
invokespecial java.awt.EventQueue$FwSecondaryLoopWrapper.<init>:(Ljava/awt/EventQueue;Ljava/awt/SecondaryLoop;Ljava/awt/EventFilter;)V
astore 6
7: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 6
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnonnull 11
10: aload 0
invokevirtual java.awt.EventQueue.initDispatchThread:()V
11: StackMap locals:
StackMap stack:
new java.awt.WaitDispatchSupport
dup
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
aload 1
aload 2
lload 3
invokespecial java.awt.WaitDispatchSupport.<init>:(Ljava/awt/EventDispatchThread;Ljava/awt/Conditional;Ljava/awt/EventFilter;J)V
astore 6
12: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
13: aload 6
areturn
14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
15: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
16: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/awt/EventQueue;
0 17 1 cond Ljava/awt/Conditional;
0 17 2 filter Ljava/awt/EventFilter;
0 17 3 interval J
Exception table:
from to target type
1 3 14 any
5 7 14 any
9 12 14 any
MethodParameters:
Name Flags
cond
filter
interval
public static boolean isDispatchThread();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
astore 0
start local 0 1: aload 0
invokevirtual java.awt.EventQueue.isDispatchThreadImpl:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 eq Ljava/awt/EventQueue;
final boolean isDispatchThreadImpl();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 1
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
astore 2
start local 2 3: goto 6
4: StackMap locals: java.awt.EventQueue java.awt.EventQueue
StackMap stack:
aload 2
astore 1
5: aload 1
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
7: aload 1
getfield java.awt.EventQueue.fwDispatcher:Lsun/awt/FwDispatcher;
ifnull 11
8: aload 1
getfield java.awt.EventQueue.fwDispatcher:Lsun/awt/FwDispatcher;
invokeinterface sun.awt.FwDispatcher.isDispatchThread:()Z
istore 4
9: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: iload 4
ireturn
11: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 1
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
if_acmpne 12
iconst_1
goto 13
StackMap locals:
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 4
14: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
15: iload 4
ireturn
end local 2 16: StackMap locals: java.awt.EventQueue java.awt.EventQueue
StackMap stack: java.lang.Throwable
astore 3
17: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
18: aload 3
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/awt/EventQueue;
1 19 1 eq Ljava/awt/EventQueue;
3 16 2 next Ljava/awt/EventQueue;
Exception table:
from to target type
2 9 16 any
11 14 16 any
final void initDispatchThread();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnonnull 10
aload 0
getfield java.awt.EventQueue.threadGroup:Ljava/lang/ThreadGroup;
invokevirtual java.lang.ThreadGroup.isDestroyed:()Z
ifne 10
aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
invokevirtual sun.awt.AppContext.isDisposed:()Z
ifne 10
2: aload 0
3: new java.awt.EventQueue$6
dup
aload 0
invokespecial java.awt.EventQueue$6.<init>:(Ljava/awt/EventQueue;)V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.awt.EventDispatchThread
putfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
5: aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
invokevirtual java.awt.EventDispatchThread.start:()V
6: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 1
8: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/EventQueue;
Exception table:
from to target type
1 7 7 any
final void detachDispatchThread(java.awt.EventDispatchThread);
descriptor: (Ljava/awt/EventDispatchThread;)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
1: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 1
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
if_acmpne 4
3: aload 0
aconst_null
putfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
4: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
aload 1
invokevirtual sun.awt.AWTAutoShutdown.notifyThreadFree:(Ljava/lang/Thread;)V
5: aload 0
invokevirtual java.awt.EventQueue.peekEvent:()Ljava/awt/AWTEvent;
ifnull 11
6: aload 0
invokevirtual java.awt.EventQueue.initDispatchThread:()V
7: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
9: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/EventQueue;
0 13 1 edt Ljava/awt/EventDispatchThread;
Exception table:
from to target type
2 8 8 any
MethodParameters:
Name Flags
edt
final java.awt.EventDispatchThread getDispatchThread();
descriptor: ()Ljava/awt/EventDispatchThread;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
astore 2
2: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
3: aload 2
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
Exception table:
from to target type
1 2 4 any
final void removeSourceEvents(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.awt.EventQueue.appContext:Lsun/awt/AppContext;
invokestatic sun.awt.SunToolkit.flushPendingEvents:(Lsun/awt/AppContext;)V
1: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: iconst_0
istore 3
start local 3 3: goto 35
4: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 3
aaload
getfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: goto 32
7: StackMap locals: sun.awt.EventQueueItem sun.awt.EventQueueItem
StackMap stack:
aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
aload 1
if_acmpne 30
8: iload 2
ifne 15
9: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.SequencedEvent
ifne 30
10: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.SentEvent
ifne 30
11: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.event.FocusEvent
ifne 30
12: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.event.WindowEvent
ifne 30
13: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.event.KeyEvent
ifne 30
14: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.event.InputMethodEvent
ifne 30
15: StackMap locals:
StackMap stack:
aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.SequencedEvent
ifeq 17
16: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
checkcast java.awt.SequencedEvent
invokevirtual java.awt.SequencedEvent.dispose:()V
17: StackMap locals:
StackMap stack:
aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.SentEvent
ifeq 19
18: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
checkcast java.awt.SentEvent
invokevirtual java.awt.SentEvent.dispose:()V
19: StackMap locals:
StackMap stack:
aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof java.awt.event.InvocationEvent
ifeq 22
20: invokestatic sun.awt.AWTAccessor.getInvocationEventAccessor:()Lsun/awt/AWTAccessor$InvocationEventAccessor;
21: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
checkcast java.awt.event.InvocationEvent
invokeinterface sun.awt.AWTAccessor$InvocationEventAccessor.dispose:(Ljava/awt/event/InvocationEvent;)V
22: StackMap locals:
StackMap stack:
aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
instanceof sun.awt.dnd.SunDropTargetEvent
ifeq 24
23: aload 4
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
checkcast sun.awt.dnd.SunDropTargetEvent
invokevirtual sun.awt.dnd.SunDropTargetEvent.dispose:()V
24: StackMap locals:
StackMap stack:
aload 5
ifnonnull 27
25: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 3
aaload
aload 4
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
putfield java.awt.Queue.head:Lsun/awt/EventQueueItem;
26: goto 28
27: StackMap locals:
StackMap stack:
aload 5
aload 4
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
putfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
28: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual java.awt.EventQueue.uncacheEQItem:(Lsun/awt/EventQueueItem;)V
29: goto 31
30: StackMap locals:
StackMap stack:
aload 4
astore 5
31: StackMap locals:
StackMap stack:
aload 4
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
astore 4
32: StackMap locals:
StackMap stack:
aload 4
ifnonnull 7
33: aload 0
getfield java.awt.EventQueue.queues:[Ljava/awt/Queue;
iload 3
aaload
aload 5
putfield java.awt.Queue.tail:Lsun/awt/EventQueueItem;
end local 5 end local 4 34: iinc 3 1
StackMap locals:
StackMap stack:
35: iload 3
iconst_4
if_icmplt 4
end local 3 36: goto 40
StackMap locals: java.awt.EventQueue java.lang.Object int
StackMap stack: java.lang.Throwable
37: astore 6
38: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
39: aload 6
athrow
40: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
41: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljava/awt/EventQueue;
0 42 1 source Ljava/lang/Object;
0 42 2 removeAllEvents Z
3 36 3 i I
5 34 4 entry Lsun/awt/EventQueueItem;
6 34 5 prev Lsun/awt/EventQueueItem;
Exception table:
from to target type
2 37 37 any
MethodParameters:
Name Flags
source
removeAllEvents
synchronized long getMostRecentKeyEventTime();
descriptor: ()J
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield java.awt.EventQueue.mostRecentKeyEventTime:J
lstore 2
2: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
3: lload 2
lreturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/EventQueue;
Exception table:
from to target type
1 2 4 any
static void setCurrentEventAndMostRecentTime(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
aload 0
invokevirtual java.awt.EventQueue.setCurrentEventAndMostRecentTimeImpl:(Ljava/awt/AWTEvent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
private void setCurrentEventAndMostRecentTimeImpl(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: getstatic java.awt.EventQueue.fxAppThreadIsDispatchThread:Z
ifne 4
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
if_acmpeq 4
2: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
3: return
4: StackMap locals:
StackMap stack:
aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield java.awt.EventQueue.currentEvent:Ljava/lang/ref/WeakReference;
5: ldc -9223372036854775808
lstore 2
start local 2 6: aload 1
instanceof java.awt.event.InputEvent
ifeq 12
7: aload 1
checkcast java.awt.event.InputEvent
astore 4
start local 4 8: aload 4
invokevirtual java.awt.event.InputEvent.getWhen:()J
lstore 2
9: aload 1
instanceof java.awt.event.KeyEvent
ifeq 23
10: aload 0
aload 4
invokevirtual java.awt.event.InputEvent.getWhen:()J
putfield java.awt.EventQueue.mostRecentKeyEventTime:J
end local 4 11: goto 23
StackMap locals: long
StackMap stack:
12: aload 1
instanceof java.awt.event.InputMethodEvent
ifeq 16
13: aload 1
checkcast java.awt.event.InputMethodEvent
astore 4
start local 4 14: aload 4
invokevirtual java.awt.event.InputMethodEvent.getWhen:()J
lstore 2
end local 4 15: goto 23
StackMap locals:
StackMap stack:
16: aload 1
instanceof java.awt.event.ActionEvent
ifeq 20
17: aload 1
checkcast java.awt.event.ActionEvent
astore 4
start local 4 18: aload 4
invokevirtual java.awt.event.ActionEvent.getWhen:()J
lstore 2
end local 4 19: goto 23
StackMap locals:
StackMap stack:
20: aload 1
instanceof java.awt.event.InvocationEvent
ifeq 23
21: aload 1
checkcast java.awt.event.InvocationEvent
astore 4
start local 4 22: aload 4
invokevirtual java.awt.event.InvocationEvent.getWhen:()J
lstore 2
end local 4 23: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.EventQueue.mostRecentEventTime:J
lload 2
invokestatic java.lang.Math.max:(JJ)J
putfield java.awt.EventQueue.mostRecentEventTime:J
end local 2 24: goto 28
StackMap locals: java.awt.EventQueue java.awt.AWTEvent
StackMap stack: java.lang.Throwable
25: astore 5
26: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
27: aload 5
athrow
28: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
29: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljava/awt/EventQueue;
0 30 1 e Ljava/awt/AWTEvent;
6 24 2 mostRecentEventTime2 J
8 11 4 ie Ljava/awt/event/InputEvent;
14 15 4 ime Ljava/awt/event/InputMethodEvent;
18 19 4 ae Ljava/awt/event/ActionEvent;
22 23 4 ie Ljava/awt/event/InvocationEvent;
Exception table:
from to target type
1 2 25 any
4 25 25 any
MethodParameters:
Name Flags
e
public static void invokeLater(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
1: new java.awt.event.InvocationEvent
dup
invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
aload 0
invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;)V
2: invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
runnable
public static void invokeAndWait(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
aload 0
invokestatic java.awt.EventQueue.invokeAndWait:(Ljava/lang/Object;Ljava/lang/Runnable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runnable Ljava/lang/Runnable;
Exceptions:
throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
runnable
static void invokeAndWait(java.lang.Object, java.lang.Runnable);
descriptor: (Ljava/lang/Object;Ljava/lang/Runnable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.awt.EventQueue.isDispatchThread:()Z
ifeq 2
1: new java.lang.Error
dup
ldc "Cannot call invokeAndWait from the event dispatcher thread"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.awt.EventQueue$1AWTInvocationLock
dup
invokespecial java.awt.EventQueue$1AWTInvocationLock.<init>:()V
astore 2
start local 2 3: new java.awt.event.InvocationEvent
dup
aload 0
aload 1
aload 2
iconst_1
invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;Ljava/lang/Object;Z)V
4: astore 3
start local 3 5: aload 2
dup
astore 4
monitorenter
6: invokestatic java.awt.Toolkit.getEventQueue:()Ljava/awt/EventQueue;
aload 3
invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
7: goto 9
8: StackMap locals: java.lang.Object java.awt.event.InvocationEvent java.lang.Object
StackMap stack:
aload 2
invokevirtual java.lang.Object.wait:()V
9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.event.InvocationEvent.isDispatched:()Z
ifeq 8
10: aload 4
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 4
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.event.InvocationEvent.getThrowable:()Ljava/lang/Throwable;
astore 4
start local 4 15: aload 4
ifnull 17
16: new java.lang.reflect.InvocationTargetException
dup
aload 4
invokespecial java.lang.reflect.InvocationTargetException.<init>:(Ljava/lang/Throwable;)V
athrow
17: StackMap locals: java.lang.Throwable
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 source Ljava/lang/Object;
0 18 1 runnable Ljava/lang/Runnable;
3 18 2 lock Ljava/lang/Object;
5 18 3 event Ljava/awt/event/InvocationEvent;
15 18 4 eventThrowable Ljava/lang/Throwable;
Exception table:
from to target type
6 11 12 any
12 13 12 any
Exceptions:
throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
source
runnable
private void wakeup(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
ifnull 4
2: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
iload 1
invokevirtual java.awt.EventQueue.wakeup:(Z)V
3: goto 13
StackMap locals:
StackMap stack:
4: aload 0
getfield java.awt.EventQueue.dispatchThread:Ljava/awt/EventDispatchThread;
ifnull 7
5: aload 0
getfield java.awt.EventQueue.pushPopCond:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signalAll:()V
6: goto 13
StackMap locals:
StackMap stack:
7: iload 1
ifne 13
8: aload 0
invokevirtual java.awt.EventQueue.initDispatchThread:()V
9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
11: aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: aload 2
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.EventQueue.pushPopLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/awt/EventQueue;
0 15 1 isShutdown Z
Exception table:
from to target type
1 10 10 any
MethodParameters:
Name Flags
isShutdown
private void setFwDispatcher(sun.awt.FwDispatcher);
descriptor: (Lsun/awt/FwDispatcher;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
ifnull 3
1: aload 0
getfield java.awt.EventQueue.nextQueue:Ljava/awt/EventQueue;
aload 1
invokevirtual java.awt.EventQueue.setFwDispatcher:(Lsun/awt/FwDispatcher;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.awt.EventQueue.fwDispatcher:Lsun/awt/FwDispatcher;
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/EventQueue;
0 5 1 dispatcher Lsun/awt/FwDispatcher;
MethodParameters:
Name Flags
dispatcher
}
SourceFile: "EventQueue.java"
NestMembers:
java.awt.EventQueue$1 java.awt.EventQueue$1AWTInvocationLock java.awt.EventQueue$2 java.awt.EventQueue$3 java.awt.EventQueue$4 java.awt.EventQueue$4$1 java.awt.EventQueue$5 java.awt.EventQueue$6 java.awt.EventQueue$FwSecondaryLoopWrapper
InnerClasses:
java.awt.EventQueue$1
AWTInvocationLock = java.awt.EventQueue$1AWTInvocationLock
java.awt.EventQueue$2
java.awt.EventQueue$3
java.awt.EventQueue$4
java.awt.EventQueue$5
java.awt.EventQueue$6
private FwSecondaryLoopWrapper = java.awt.EventQueue$FwSecondaryLoopWrapper of java.awt.EventQueue
public abstract EventQueueAccessor = sun.awt.AWTAccessor$EventQueueAccessor of sun.awt.AWTAccessor
public abstract InvocationEventAccessor = sun.awt.AWTAccessor$InvocationEventAccessor of sun.awt.AWTAccessor
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger