final class com.sun.javafx.tk.quantum.PaintCollector implements com.sun.javafx.tk.CompletionListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.tk.quantum.PaintCollector
super_class: java.lang.Object
{
private static volatile com.sun.javafx.tk.quantum.PaintCollector collector;
descriptor: Lcom/sun/javafx/tk/quantum/PaintCollector;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final java.util.Comparator<com.sun.javafx.tk.quantum.GlassScene> DIRTY_SCENE_SORTER;
descriptor: Ljava/util/Comparator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Lcom/sun/javafx/tk/quantum/GlassScene;>;
private final java.util.List<com.sun.javafx.tk.quantum.GlassScene> dirtyScenes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/javafx/tk/quantum/GlassScene;>;
private volatile java.util.concurrent.CountDownLatch allWorkCompletedLatch;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean hasDirty;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final com.sun.javafx.tk.quantum.QuantumToolkit toolkit;
descriptor: Lcom/sun/javafx/tk/quantum/QuantumToolkit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean needsHint;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/javafx/tk/quantum/PaintCollector;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
3: invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
com/sun/javafx/tk/quantum/PaintCollector.lambda$0(Lcom/sun/javafx/tk/quantum/GlassScene;Lcom/sun/javafx/tk/quantum/GlassScene;)I (6)
(Lcom/sun/javafx/tk/quantum/GlassScene;Lcom/sun/javafx/tk/quantum/GlassScene;)I
putstatic com.sun.javafx.tk.quantum.PaintCollector.DIRTY_SCENE_SORTER:Ljava/util/Comparator;
4: return
LocalVariableTable:
Start End Slot Name Signature
static com.sun.javafx.tk.quantum.PaintCollector createInstance(com.sun.javafx.tk.quantum.QuantumToolkit);
descriptor: (Lcom/sun/javafx/tk/quantum/QuantumToolkit;)Lcom/sun/javafx/tk/quantum/PaintCollector;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.javafx.tk.quantum.PaintCollector
dup
aload 0
invokespecial com.sun.javafx.tk.quantum.PaintCollector.<init>:(Lcom/sun/javafx/tk/quantum/QuantumToolkit;)V
dup
putstatic com.sun.javafx.tk.quantum.PaintCollector.collector:Lcom/sun/javafx/tk/quantum/PaintCollector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 toolkit Lcom/sun/javafx/tk/quantum/QuantumToolkit;
MethodParameters:
Name Flags
toolkit
static com.sun.javafx.tk.quantum.PaintCollector getInstance();
descriptor: ()Lcom/sun/javafx/tk/quantum/PaintCollector;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.tk.quantum.PaintCollector.collector:Lcom/sun/javafx/tk/quantum/PaintCollector;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.sun.javafx.tk.quantum.QuantumToolkit);
descriptor: (Lcom/sun/javafx/tk/quantum/QuantumToolkit;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
2: aload 0
new java.util.concurrent.CountDownLatch
dup
iconst_0
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield com.sun.javafx.tk.quantum.PaintCollector.allWorkCompletedLatch:Ljava/util/concurrent/CountDownLatch;
3: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.PaintCollector.toolkit:Lcom/sun/javafx/tk/quantum/QuantumToolkit;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
0 5 1 qt Lcom/sun/javafx/tk/quantum/QuantumToolkit;
MethodParameters:
Name Flags
qt
void waitForRenderingToComplete();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.allWorkCompletedLatch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.await:()V
1: return
2: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
3: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
final boolean hasDirty();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.hasDirty:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
private final void setDirty(boolean);
descriptor: (Z)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.javafx.tk.quantum.PaintCollector.hasDirty:Z
1: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.hasDirty:Z
ifeq 3
2: invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.requestNextPulse:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
0 4 1 value Z
MethodParameters:
Name Flags
value
final void addDirtyScene(com.sun.javafx.tk.quantum.GlassScene);
descriptor: (Lcom/sun/javafx/tk/quantum/GlassScene;)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.getFxUserThread:()Ljava/lang/Thread;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumToolkit.verbose:Z
ifeq 4
3: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PC.addDirtyScene: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.lang.System.nanoTime:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 7
5: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 0
iconst_1
invokevirtual com.sun.javafx.tk.quantum.PaintCollector.setDirty:(Z)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
0 8 1 scene Lcom/sun/javafx/tk/quantum/GlassScene;
MethodParameters:
Name Flags
scene
final void removeDirtyScene(com.sun.javafx.tk.quantum.GlassScene);
descriptor: (Lcom/sun/javafx/tk/quantum/GlassScene;)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.getFxUserThread:()Ljava/lang/Thread;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumToolkit.verbose:Z
ifeq 4
3: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PC.removeDirtyScene: "
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 java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
5: aload 0
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack: com.sun.javafx.tk.quantum.PaintCollector
6: iconst_1
StackMap locals: com.sun.javafx.tk.quantum.PaintCollector com.sun.javafx.tk.quantum.GlassScene
StackMap stack: com.sun.javafx.tk.quantum.PaintCollector int
7: invokevirtual com.sun.javafx.tk.quantum.PaintCollector.setDirty:(Z)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
0 9 1 scene Lcom/sun/javafx/tk/quantum/GlassScene;
MethodParameters:
Name Flags
scene
final com.sun.javafx.tk.CompletionListener getRendered();
descriptor: ()Lcom/sun/javafx/tk/CompletionListener;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
public void done(com.sun.javafx.tk.RenderJob);
descriptor: (Lcom/sun/javafx/tk/RenderJob;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.getFxUserThread:()Ljava/lang/Thread;
if_acmpne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.javafx.tk.quantum.PaintRenderJob
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "PaintCollector: invalid RenderJob"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.javafx.tk.quantum.PaintRenderJob
astore 2
start local 2 4: aload 2
invokevirtual com.sun.javafx.tk.quantum.PaintRenderJob.getScene:()Lcom/sun/javafx/tk/quantum/GlassScene;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "PaintCollector: null scene"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: com.sun.javafx.tk.quantum.PaintRenderJob com.sun.javafx.tk.quantum.GlassScene
StackMap stack:
aload 3
invokevirtual com.sun.javafx.tk.quantum.GlassScene.frameRendered:()V
8: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.allWorkCompletedLatch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
lconst_1
lcmp
ifne 14
9: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.needsHint:Z
ifeq 11
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.toolkit:Lcom/sun/javafx/tk/quantum/QuantumToolkit;
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit.hasNativeSystemVsync:()Z
ifne 11
10: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.toolkit:Lcom/sun/javafx/tk/quantum/QuantumToolkit;
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit.vsyncHint:()V
11: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
invokevirtual com.sun.glass.ui.Application.notifyRenderingFinished:()V
12: getstatic com.sun.javafx.logging.PulseLogger.PULSE_LOGGING_ENABLED:Z
ifeq 14
13: invokestatic com.sun.javafx.logging.PulseLogger.renderEnd:()V
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.allWorkCompletedLatch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
0 16 1 job Lcom/sun/javafx/tk/RenderJob;
4 16 2 paintjob Lcom/sun/javafx/tk/quantum/PaintRenderJob;
5 16 3 scene Lcom/sun/javafx/tk/quantum/GlassScene;
MethodParameters:
Name Flags
job
final void liveRepaintRenderJob(com.sun.javafx.tk.quantum.ViewScene);
descriptor: (Lcom/sun/javafx/tk/quantum/ViewScene;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.javafx.tk.quantum.ViewScene.getPainter:()Lcom/sun/javafx/tk/quantum/ViewPainter;
astore 2
start local 2 1: invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
checkcast com.sun.javafx.tk.quantum.QuantumToolkit
astore 3
start local 3 2: aload 3
iconst_0
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit.pulse:(Z)V
3: new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
astore 4
start local 4 4: aload 3
aload 2
aload 4
invokedynamic get(Lcom/sun/javafx/tk/quantum/QuantumToolkit;Lcom/sun/javafx/tk/quantum/ViewPainter;Ljava/util/concurrent/CountDownLatch;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/tk/quantum/PaintCollector.lambda$1(Lcom/sun/javafx/tk/quantum/QuantumToolkit;Lcom/sun/javafx/tk/quantum/ViewPainter;Ljava/util/concurrent/CountDownLatch;)Ljava/lang/Object; (6)
()Ljava/lang/Object;
invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock:(Ljava/util/function/Supplier;)Ljava/lang/Object;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
0 6 1 scene Lcom/sun/javafx/tk/quantum/ViewScene;
1 6 2 viewPainter Lcom/sun/javafx/tk/quantum/ViewPainter;
2 6 3 quantum Lcom/sun/javafx/tk/quantum/QuantumToolkit;
4 6 4 latch Ljava/util/concurrent/CountDownLatch;
MethodParameters:
Name Flags
scene final
final void renderAll();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=8, args_size=1
start local 0 0: getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic com.sun.javafx.tk.quantum.QuantumToolkit.getFxUserThread:()Ljava/lang/Thread;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.QuantumToolkit.pulseDebug:Z
ifeq 3
2: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PC.renderAll("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.nanoTime:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.hasDirty:Z
ifne 5
4: return
5: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.quantum.PaintCollector.$assertionsDisabled:Z
ifne 6
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
getstatic com.sun.javafx.tk.quantum.PaintCollector.DIRTY_SCENE_SORTER:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
7: aload 0
iconst_0
invokevirtual com.sun.javafx.tk.quantum.PaintCollector.setDirty:(Z)V
8: aload 0
iconst_0
putfield com.sun.javafx.tk.quantum.PaintCollector.needsHint:Z
9: getstatic com.sun.javafx.logging.PulseLogger.PULSE_LOGGING_ENABLED:Z
ifeq 11
10: invokestatic com.sun.javafx.logging.PulseLogger.renderStart:()V
11: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
invokevirtual com.sun.glass.ui.Application.hasWindowManager:()Z
ifne 35
12: invokestatic com.sun.glass.ui.Window.getWindows:()Ljava/util/List;
astore 1
start local 1 13: aload 0
new java.util.concurrent.CountDownLatch
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield com.sun.javafx.tk.quantum.PaintCollector.allWorkCompletedLatch:Ljava/util/concurrent/CountDownLatch;
14: iconst_0
istore 2
start local 2 15: aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 16: goto 33
17: StackMap locals: java.util.List int int
StackMap stack:
aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.glass.ui.Window
astore 4
start local 4 18: aload 4
invokestatic com.sun.javafx.tk.quantum.WindowStage.findWindowStage:(Lcom/sun/glass/ui/Window;)Lcom/sun/javafx/tk/quantum/WindowStage;
astore 5
start local 5 19: aload 5
ifnull 32
20: aload 5
invokevirtual com.sun.javafx.tk.quantum.WindowStage.getViewScene:()Lcom/sun/javafx/tk/quantum/ViewScene;
astore 6
start local 6 21: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
aload 6
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
iconst_m1
if_icmpeq 24
22: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.needsHint:Z
ifne 24
23: aload 0
aload 6
invokevirtual com.sun.javafx.tk.quantum.ViewScene.isSynchronous:()Z
putfield com.sun.javafx.tk.quantum.PaintCollector.needsHint:Z
24: StackMap locals: com.sun.glass.ui.Window com.sun.javafx.tk.quantum.WindowStage com.sun.javafx.tk.quantum.ViewScene
StackMap stack:
invokestatic com.sun.javafx.PlatformUtil.useEGL:()Z
ifeq 25
iload 2
iload 3
iconst_1
isub
if_icmpne 27
25: StackMap locals:
StackMap stack:
aload 6
iconst_1
invokevirtual com.sun.javafx.tk.quantum.ViewScene.setDoPresent:(Z)V
26: goto 28
27: StackMap locals:
StackMap stack:
aload 6
iconst_0
invokevirtual com.sun.javafx.tk.quantum.ViewScene.setDoPresent:(Z)V
28: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.javafx.tk.quantum.ViewScene.repaint:()V
29: goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
30: astore 7
start local 7 31: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 7 end local 6 end local 5 end local 4 32: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
33: iload 2
iload 3
if_icmplt 17
end local 3 end local 2 end local 1 34: goto 46
35: StackMap locals:
StackMap stack:
aload 0
new java.util.concurrent.CountDownLatch
dup
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield com.sun.javafx.tk.quantum.PaintCollector.allWorkCompletedLatch:Ljava/util/concurrent/CountDownLatch;
36: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 45
StackMap locals: com.sun.javafx.tk.quantum.PaintCollector top java.util.Iterator
StackMap stack:
37: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.javafx.tk.quantum.GlassScene
astore 1
start local 1 38: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.needsHint:Z
ifne 40
39: aload 0
aload 1
invokevirtual com.sun.javafx.tk.quantum.GlassScene.isSynchronous:()Z
putfield com.sun.javafx.tk.quantum.PaintCollector.needsHint:Z
40: StackMap locals: com.sun.javafx.tk.quantum.PaintCollector com.sun.javafx.tk.quantum.GlassScene java.util.Iterator
StackMap stack:
aload 1
iconst_1
invokevirtual com.sun.javafx.tk.quantum.GlassScene.setDoPresent:(Z)V
41: aload 1
invokevirtual com.sun.javafx.tk.quantum.GlassScene.repaint:()V
42: goto 45
StackMap locals:
StackMap stack: java.lang.Throwable
43: astore 3
start local 3 44: aload 3
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 3 end local 1 45: StackMap locals: com.sun.javafx.tk.quantum.PaintCollector top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
46: StackMap locals: com.sun.javafx.tk.quantum.PaintCollector
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.dirtyScenes:Ljava/util/List;
invokeinterface java.util.List.clear:()V
47: aload 0
getfield com.sun.javafx.tk.quantum.PaintCollector.toolkit:Lcom/sun/javafx/tk/quantum/QuantumToolkit;
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit.shouldWaitForRenderingToComplete:()Z
ifeq 49
48: aload 0
invokevirtual com.sun.javafx.tk.quantum.PaintCollector.waitForRenderingToComplete:()V
49: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lcom/sun/javafx/tk/quantum/PaintCollector;
13 34 1 glassWindowList Ljava/util/List<Lcom/sun/glass/ui/Window;>;
15 34 2 i I
16 34 3 n I
18 32 4 w Lcom/sun/glass/ui/Window;
19 32 5 ws Lcom/sun/javafx/tk/quantum/WindowStage;
21 32 6 vs Lcom/sun/javafx/tk/quantum/ViewScene;
31 32 7 t Ljava/lang/Throwable;
38 45 1 gs Lcom/sun/javafx/tk/quantum/GlassScene;
44 45 3 t Ljava/lang/Throwable;
Exception table:
from to target type
28 29 30 Class java.lang.Throwable
41 42 43 Class java.lang.Throwable
private static int lambda$0(com.sun.javafx.tk.quantum.GlassScene, com.sun.javafx.tk.quantum.GlassScene);
descriptor: (Lcom/sun/javafx/tk/quantum/GlassScene;Lcom/sun/javafx/tk/quantum/GlassScene;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.tk.quantum.GlassScene.isSynchronous:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 1
invokevirtual com.sun.javafx.tk.quantum.GlassScene.isSynchronous:()Z
ifeq 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 2
iload 3
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 o1 Lcom/sun/javafx/tk/quantum/GlassScene;
0 7 1 o2 Lcom/sun/javafx/tk/quantum/GlassScene;
3 7 2 i1 I
6 7 3 i2 I
private static java.lang.Object lambda$1(com.sun.javafx.tk.quantum.QuantumToolkit, com.sun.javafx.tk.quantum.ViewPainter, java.util.concurrent.CountDownLatch);
descriptor: (Lcom/sun/javafx/tk/quantum/QuantumToolkit;Lcom/sun/javafx/tk/quantum/ViewPainter;Ljava/util/concurrent/CountDownLatch;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
0: aload 0
new com.sun.javafx.tk.RenderJob
dup
aload 1
aload 2
invokedynamic done(Ljava/util/concurrent/CountDownLatch;)Lcom/sun/javafx/tk/CompletionListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/sun/javafx/tk/RenderJob;)V
com/sun/javafx/tk/quantum/PaintCollector.lambda$2(Ljava/util/concurrent/CountDownLatch;Lcom/sun/javafx/tk/RenderJob;)V (6)
(Lcom/sun/javafx/tk/RenderJob;)V
invokespecial com.sun.javafx.tk.RenderJob.<init>:(Ljava/lang/Runnable;Lcom/sun/javafx/tk/CompletionListener;)V
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit.addRenderJob:(Lcom/sun/javafx/tk/RenderJob;)Ljava/util/concurrent/Future;
pop
1: aload 2
invokevirtual java.util.concurrent.CountDownLatch.await:()V
2: goto 4
StackMap locals:
StackMap stack: java.lang.InterruptedException
3: pop
4: StackMap locals:
StackMap stack:
aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 2 3 Class java.lang.InterruptedException
private static void lambda$2(java.util.concurrent.CountDownLatch, com.sun.javafx.tk.RenderJob);
descriptor: (Ljava/util/concurrent/CountDownLatch;Lcom/sun/javafx/tk/RenderJob;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 rj Lcom/sun/javafx/tk/RenderJob;
}
SourceFile: "PaintCollector.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles