public final class com.sun.glass.ui.InvokeLaterDispatcher extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.InvokeLaterDispatcher
super_class: java.lang.Thread
{
private final java.util.concurrent.BlockingDeque<java.lang.Runnable> deque;
descriptor: Ljava/util/concurrent/BlockingDeque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/BlockingDeque<Ljava/lang/Runnable;>;
private final java.lang.Object LOCK;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean nestedEventLoopEntered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private volatile boolean leavingNestedEventLoop;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final com.sun.glass.ui.InvokeLaterDispatcher$InvokeLaterSubmitter invokeLaterSubmitter;
descriptor: Lcom/sun/glass/ui/InvokeLaterDispatcher$InvokeLaterSubmitter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.sun.glass.ui.InvokeLaterDispatcher$InvokeLaterSubmitter);
descriptor: (Lcom/sun/glass/ui/InvokeLaterDispatcher$InvokeLaterSubmitter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "InvokeLaterDispatcher"
invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.concurrent.LinkedBlockingDeque
dup
invokespecial java.util.concurrent.LinkedBlockingDeque.<init>:()V
putfield com.sun.glass.ui.InvokeLaterDispatcher.deque:Ljava/util/concurrent/BlockingDeque;
2: aload 0
new java.lang.StringBuilder
dup
ldc "InvokeLaterLock"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
putfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
3: aload 0
iconst_0
putfield com.sun.glass.ui.InvokeLaterDispatcher.nestedEventLoopEntered:Z
4: aload 0
iconst_0
putfield com.sun.glass.ui.InvokeLaterDispatcher.leavingNestedEventLoop:Z
5: aload 0
iconst_1
invokevirtual com.sun.glass.ui.InvokeLaterDispatcher.setDaemon:(Z)V
6: aload 0
aload 1
putfield com.sun.glass.ui.InvokeLaterDispatcher.invokeLaterSubmitter:Lcom/sun/glass/ui/InvokeLaterDispatcher$InvokeLaterSubmitter;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
0 8 1 invokeLaterSubmitter Lcom/sun/glass/ui/InvokeLaterDispatcher$InvokeLaterSubmitter;
MethodParameters:
Name Flags
invokeLaterSubmitter
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.deque:Ljava/util/concurrent/BlockingDeque;
invokeinterface java.util.concurrent.BlockingDeque.takeFirst:()Ljava/lang/Object;
checkcast java.lang.Runnable
astore 1
start local 1 1: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.leavingNestedEventLoop:Z
ifeq 11
2: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.deque:Ljava/util/concurrent/BlockingDeque;
aload 1
invokeinterface java.util.concurrent.BlockingDeque.addFirst:(Ljava/lang/Object;)V
3: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
4: goto 6
5: StackMap locals: java.lang.Runnable java.lang.Object
StackMap stack:
aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.leavingNestedEventLoop:Z
ifne 5
7: aload 2
monitorexit
8: goto 0
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
new com.sun.glass.ui.InvokeLaterDispatcher$Future
dup
aload 0
aload 1
invokespecial com.sun.glass.ui.InvokeLaterDispatcher$Future.<init>:(Lcom/sun/glass/ui/InvokeLaterDispatcher;Ljava/lang/Runnable;)V
astore 2
start local 2 12: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.invokeLaterSubmitter:Lcom/sun/glass/ui/InvokeLaterDispatcher$InvokeLaterSubmitter;
aload 2
invokeinterface com.sun.glass.ui.InvokeLaterDispatcher$InvokeLaterSubmitter.submitForLaterInvocation:(Ljava/lang/Runnable;)V
13: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
14: goto 16
15: StackMap locals: com.sun.glass.ui.InvokeLaterDispatcher$Future java.lang.Object
StackMap stack:
aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.glass.ui.InvokeLaterDispatcher$Future.isDone:()Z
ifne 21
aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.nestedEventLoopEntered:Z
ifeq 15
17: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 4
19: aload 0
iconst_0
putfield com.sun.glass.ui.InvokeLaterDispatcher.nestedEventLoopEntered:Z
20: aload 4
athrow
21: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.glass.ui.InvokeLaterDispatcher.nestedEventLoopEntered:Z
22: aload 3
monitorexit
23: goto 0
StackMap locals:
StackMap stack: java.lang.Throwable
24: aload 3
monitorexit
25: athrow
end local 2 end local 1 26: StackMap locals: com.sun.glass.ui.InvokeLaterDispatcher
StackMap stack: java.lang.InterruptedException
pop
27: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
1 26 1 r Ljava/lang/Runnable;
12 26 2 future Lcom/sun/glass/ui/InvokeLaterDispatcher$Future;
Exception table:
from to target type
4 8 9 any
9 10 9 any
14 18 18 any
14 23 24 any
24 25 24 any
0 26 26 Class java.lang.InterruptedException
public void invokeAndWait(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.glass.ui.InvokeLaterDispatcher$Future
dup
aload 0
aload 1
invokespecial com.sun.glass.ui.InvokeLaterDispatcher$Future.<init>:(Lcom/sun/glass/ui/InvokeLaterDispatcher;Ljava/lang/Runnable;)V
astore 2
start local 2 1: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.invokeLaterSubmitter:Lcom/sun/glass/ui/InvokeLaterDispatcher$InvokeLaterSubmitter;
aload 2
invokeinterface com.sun.glass.ui.InvokeLaterDispatcher$InvokeLaterSubmitter.submitForLaterInvocation:(Ljava/lang/Runnable;)V
2: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
3: goto 5
4: StackMap locals: com.sun.glass.ui.InvokeLaterDispatcher$Future java.lang.Object
StackMap stack:
aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.glass.ui.InvokeLaterDispatcher$Future.isDone:()Z
ifeq 4
6: goto 8
StackMap locals:
StackMap stack: java.lang.InterruptedException
7: pop
8: StackMap locals:
StackMap stack:
aload 3
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
0 13 1 runnable Ljava/lang/Runnable;
1 13 2 future Lcom/sun/glass/ui/InvokeLaterDispatcher$Future;
Exception table:
from to target type
3 6 7 Class java.lang.InterruptedException
3 9 10 any
10 11 10 any
MethodParameters:
Name Flags
runnable
public void invokeLater(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.deque:Ljava/util/concurrent/BlockingDeque;
aload 1
invokeinterface java.util.concurrent.BlockingDeque.addLast:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
0 2 1 command Ljava/lang/Runnable;
MethodParameters:
Name Flags
command
public void notifyEnteringNestedEventLoop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield com.sun.glass.ui.InvokeLaterDispatcher.nestedEventLoopEntered:Z
2: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
3: aload 1
monitorexit
4: goto 7
StackMap locals: com.sun.glass.ui.InvokeLaterDispatcher java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public void notifyLeavingNestedEventLoop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield com.sun.glass.ui.InvokeLaterDispatcher.leavingNestedEventLoop:Z
2: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
3: aload 1
monitorexit
4: goto 7
StackMap locals: com.sun.glass.ui.InvokeLaterDispatcher java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public void notifyLeftNestedEventLoop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_0
putfield com.sun.glass.ui.InvokeLaterDispatcher.leavingNestedEventLoop:Z
2: aload 0
getfield com.sun.glass.ui.InvokeLaterDispatcher.LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
3: aload 1
monitorexit
4: goto 7
StackMap locals: com.sun.glass.ui.InvokeLaterDispatcher java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/InvokeLaterDispatcher;
Exception table:
from to target type
1 4 5 any
5 6 5 any
}
SourceFile: "InvokeLaterDispatcher.java"
NestMembers:
com.sun.glass.ui.InvokeLaterDispatcher$Future com.sun.glass.ui.InvokeLaterDispatcher$InvokeLaterSubmitter
InnerClasses:
private Future = com.sun.glass.ui.InvokeLaterDispatcher$Future of com.sun.glass.ui.InvokeLaterDispatcher
public abstract InvokeLaterSubmitter = com.sun.glass.ui.InvokeLaterDispatcher$InvokeLaterSubmitter of com.sun.glass.ui.InvokeLaterDispatcher