public class sun.java2d.d3d.D3DScreenUpdateManager extends sun.java2d.ScreenUpdateManager implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.d3d.D3DScreenUpdateManager
super_class: sun.java2d.ScreenUpdateManager
{
private static final int MIN_WIN_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 150
private volatile boolean done;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Thread screenUpdater;
descriptor: Ljava/lang/Thread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean needsUpdateNow;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Object runLock;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData> d3dwSurfaces;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;>;
private java.util.HashMap<sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData, sun.java2d.windows.GDIWindowSurfaceData> gdiSurfaces;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;Lsun/java2d/windows/GDIWindowSurfaceData;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.java2d.ScreenUpdateManager.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
2: aload 0
iconst_0
putfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
3: aload 0
invokedynamic run(Lsun/java2d/d3d/D3DScreenUpdateManager;)Ljava/security/PrivilegedAction;
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;
sun/java2d/d3d/D3DScreenUpdateManager.lambda$0()Ljava/lang/Void; (7)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
public sun.java2d.SurfaceData createScreenSurface(sun.awt.Win32GraphicsConfig, sun.awt.windows.WComponentPeer, int, boolean);
descriptor: (Lsun/awt/Win32GraphicsConfig;Lsun/awt/windows/WComponentPeer;IZ)Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
ifne 1
aload 1
instanceof sun.java2d.d3d.D3DGraphicsConfig
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial sun.java2d.ScreenUpdateManager.createScreenSurface:(Lsun/awt/Win32GraphicsConfig;Lsun/awt/windows/WComponentPeer;IZ)Lsun/java2d/SurfaceData;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 3: aload 2
aload 1
iload 3
invokestatic sun.java2d.d3d.D3DScreenUpdateManager.canUseD3DOnScreen:(Lsun/awt/windows/WComponentPeer;Lsun/awt/Win32GraphicsConfig;I)Z
ifeq 8
4: aload 2
invokestatic sun.java2d.d3d.D3DSurfaceData.createData:(Lsun/awt/windows/WComponentPeer;)Lsun/java2d/d3d/D3DSurfaceData;
astore 5
5: goto 8
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.awt.Win32GraphicsConfig sun.awt.windows.WComponentPeer int int sun.java2d.SurfaceData
StackMap stack: sun.java2d.InvalidPipeException
6: pop
7: aconst_null
astore 5
8: StackMap locals:
StackMap stack:
aload 5
ifnonnull 10
9: aload 2
invokestatic sun.java2d.windows.GDIWindowSurfaceData.createData:(Lsun/awt/windows/WComponentPeer;)Lsun/java2d/windows/GDIWindowSurfaceData;
astore 5
10: StackMap locals:
StackMap stack:
iload 4
ifeq 12
11: aload 0
aload 2
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.repaintPeerTarget:(Lsun/awt/windows/WComponentPeer;)V
12: StackMap locals:
StackMap stack:
aload 5
areturn
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 Lsun/java2d/d3d/D3DScreenUpdateManager;
0 13 1 gc Lsun/awt/Win32GraphicsConfig;
0 13 2 peer Lsun/awt/windows/WComponentPeer;
0 13 3 bbNum I
0 13 4 isResize Z
3 13 5 sd Lsun/java2d/SurfaceData;
Exception table:
from to target type
4 5 6 Class sun.java2d.InvalidPipeException
MethodParameters:
Name Flags
gc
peer
bbNum
isResize
public static boolean canUseD3DOnScreen(sun.awt.windows.WComponentPeer, sun.awt.Win32GraphicsConfig, int);
descriptor: (Lsun/awt/windows/WComponentPeer;Lsun/awt/Win32GraphicsConfig;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.java2d.d3d.D3DGraphicsConfig
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast sun.java2d.d3d.D3DGraphicsConfig
astore 3
start local 3 3: aload 3
invokevirtual sun.java2d.d3d.D3DGraphicsConfig.getD3DDevice:()Lsun/java2d/d3d/D3DGraphicsDevice;
astore 4
start local 4 4: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 5
start local 5 5: aload 0
invokevirtual sun.awt.windows.WComponentPeer.getBounds:()Ljava/awt/Rectangle;
astore 6
start local 6 6: aload 0
invokevirtual sun.awt.windows.WComponentPeer.getTarget:()Ljava/lang/Object;
checkcast java.awt.Component
astore 7
start local 7 7: aload 4
invokevirtual sun.java2d.d3d.D3DGraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
astore 8
start local 8 8: invokestatic sun.java2d.windows.WindowsFlags.isD3DOnScreenEnabled:()Z
ifeq 21
9: aload 4
invokevirtual sun.java2d.d3d.D3DGraphicsDevice.isD3DEnabledOnDevice:()Z
ifeq 21
10: aload 0
invokevirtual sun.awt.windows.WComponentPeer.isAccelCapable:()Z
ifeq 21
11: aload 6
getfield java.awt.Rectangle.width:I
sipush 150
if_icmpgt 12
aload 6
getfield java.awt.Rectangle.height:I
sipush 150
if_icmple 21
12: StackMap locals: sun.awt.windows.WComponentPeer sun.awt.Win32GraphicsConfig int sun.java2d.d3d.D3DGraphicsConfig sun.java2d.d3d.D3DGraphicsDevice java.lang.String java.awt.Rectangle java.awt.Component java.awt.Window
StackMap stack:
iload 2
ifne 21
13: aload 8
ifnull 14
aload 8
aload 7
if_acmpne 21
aload 7
invokestatic sun.java2d.d3d.D3DScreenUpdateManager.hasHWChildren:(Ljava/awt/Component;)Z
ifne 21
14: StackMap locals:
StackMap stack:
aload 5
ldc "sun.awt.windows.WCanvasPeer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
15: aload 5
ldc "sun.awt.windows.WDialogPeer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
16: aload 5
ldc "sun.awt.windows.WPanelPeer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
17: aload 5
ldc "sun.awt.windows.WWindowPeer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
18: aload 5
ldc "sun.awt.windows.WFramePeer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
19: aload 5
ldc "sun.awt.windows.WEmbeddedFramePeer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
20: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
21: iconst_0
ireturn
end local 8 end local 7 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 22 0 peer Lsun/awt/windows/WComponentPeer;
0 22 1 gc Lsun/awt/Win32GraphicsConfig;
0 22 2 bbNum I
3 22 3 d3dgc Lsun/java2d/d3d/D3DGraphicsConfig;
4 22 4 d3dgd Lsun/java2d/d3d/D3DGraphicsDevice;
5 22 5 peerName Ljava/lang/String;
6 22 6 r Ljava/awt/Rectangle;
7 22 7 target Ljava/awt/Component;
8 22 8 fsw Ljava/awt/Window;
MethodParameters:
Name Flags
peer final
gc final
bbNum final
public java.awt.Graphics2D createGraphics(sun.java2d.SurfaceData, sun.awt.windows.WComponentPeer, java.awt.Color, java.awt.Color, java.awt.Font);
descriptor: (Lsun/java2d/SurfaceData;Lsun/awt/windows/WComponentPeer;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)Ljava/awt/Graphics2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
ifne 6
aload 1
instanceof sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
ifeq 6
1: aload 1
checkcast sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
astore 6
start local 6 2: aload 6
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.isSurfaceLost:()Z
ifeq 3
aload 0
aload 6
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.validate:(Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)Z
ifeq 5
3: StackMap locals: sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
StackMap stack:
aload 0
aload 6
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.trackScreenSurface:(Lsun/java2d/SurfaceData;)V
4: new sun.java2d.SunGraphics2D
dup
aload 1
aload 3
aload 4
aload 5
invokespecial sun.java2d.SunGraphics2D.<init>:(Lsun/java2d/SurfaceData;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)V
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.getGdiSurface:(Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)Lsun/java2d/SurfaceData;
astore 1
end local 6 6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial sun.java2d.ScreenUpdateManager.createGraphics:(Lsun/java2d/SurfaceData;Lsun/awt/windows/WComponentPeer;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)Ljava/awt/Graphics2D;
areturn
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 7 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 7 1 sd Lsun/java2d/SurfaceData;
0 7 2 peer Lsun/awt/windows/WComponentPeer;
0 7 3 fgColor Ljava/awt/Color;
0 7 4 bgColor Ljava/awt/Color;
0 7 5 font Ljava/awt/Font;
2 6 6 d3dw Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
MethodParameters:
Name Flags
sd
peer
fgColor
bgColor
font
private void repaintPeerTarget(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.windows.WComponentPeer.getTarget:()Ljava/lang/Object;
checkcast java.awt.Component
astore 2
start local 2 1: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 2
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getBounds:(Ljava/awt/Component;)Ljava/awt/Rectangle;
astore 3
start local 3 2: aload 1
iconst_0
iconst_0
aload 3
getfield java.awt.Rectangle.width:I
aload 3
getfield java.awt.Rectangle.height:I
invokevirtual sun.awt.windows.WComponentPeer.handlePaint:(IIII)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 4 1 peer Lsun/awt/windows/WComponentPeer;
1 4 2 target Ljava/awt/Component;
2 4 3 bounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
peer
private void trackScreenSurface(sun.java2d.SurfaceData);
descriptor: (Lsun/java2d/SurfaceData;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
ifne 12
aload 1
instanceof sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
ifeq 12
1: aload 0
dup
astore 2
monitorenter
2: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
ifnonnull 4
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
4: StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager
StackMap stack:
aload 1
checkcast sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
astore 3
start local 3 5: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.startUpdateThread:()V
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 13 1 sd Lsun/java2d/SurfaceData;
5 7 3 d3dw Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
Exception table:
from to target type
2 8 9 any
9 10 9 any
MethodParameters:
Name Flags
sd
public synchronized void dropScreenSurface(sun.java2d.SurfaceData);
descriptor: (Lsun/java2d/SurfaceData;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
ifnull 4
aload 1
instanceof sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
ifeq 4
1: aload 1
checkcast sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.removeGdiSurface:(Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)V
3: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.remove:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 5 1 sd Lsun/java2d/SurfaceData;
2 4 2 d3dw Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
MethodParameters:
Name Flags
sd
public sun.java2d.SurfaceData getReplacementScreenSurface(sun.awt.windows.WComponentPeer, sun.java2d.SurfaceData);
descriptor: (Lsun/awt/windows/WComponentPeer;Lsun/java2d/SurfaceData;)Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.java2d.ScreenUpdateManager.getReplacementScreenSurface:(Lsun/awt/windows/WComponentPeer;Lsun/java2d/SurfaceData;)Lsun/java2d/SurfaceData;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.trackScreenSurface:(Lsun/java2d/SurfaceData;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 3 1 peer Lsun/awt/windows/WComponentPeer;
0 3 2 sd Lsun/java2d/SurfaceData;
1 3 3 newSurface Lsun/java2d/SurfaceData;
MethodParameters:
Name Flags
peer
sd
private void removeGdiSurface(sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData);
descriptor: (Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
ifnull 5
1: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.java2d.windows.GDIWindowSurfaceData
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 2
invokevirtual sun.java2d.windows.GDIWindowSurfaceData.invalidate:()V
4: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 6 1 d3dw Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
2 5 2 gdisd Lsun/java2d/windows/GDIWindowSurfaceData;
MethodParameters:
Name Flags
d3dw final
private synchronized void startUpdateThread();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.screenUpdater:Ljava/lang/Thread;
ifnonnull 4
1: aload 0
aload 0
invokedynamic run(Lsun/java2d/d3d/D3DScreenUpdateManager;)Ljava/security/PrivilegedAction;
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;
sun/java2d/d3d/D3DScreenUpdateManager.lambda$2()Ljava/lang/Thread; (7)
()Ljava/lang/Thread;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Thread
putfield sun.java2d.d3d.D3DScreenUpdateManager.screenUpdater:Ljava/lang/Thread;
2: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.screenUpdater:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.wakeUpUpdateThread:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
public void wakeUpUpdateThread();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void runUpdateNow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
ifne 3
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.screenUpdater:Ljava/lang/Thread;
ifnull 3
2: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
ifnull 3
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 5
3: StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager
StackMap stack:
aload 1
monitorexit
4: return
5: StackMap locals:
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
dup
astore 1
monitorenter
10: aload 0
iconst_1
putfield sun.java2d.d3d.D3DScreenUpdateManager.needsUpdateNow:Z
11: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
12: goto 16
13: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
14: goto 16
StackMap locals:
StackMap stack: java.lang.InterruptedException
15: pop
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.needsUpdateNow:Z
ifne 13
17: aload 1
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 1
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
Exception table:
from to target type
1 4 7 any
5 6 7 any
7 8 7 any
13 14 15 Class java.lang.InterruptedException
10 18 19 any
19 20 19 any
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: goto 48
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 3
bipush 100
goto 4
StackMap locals: java.lang.Object
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: i2l
lstore 2
start local 2 5: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.needsUpdateNow:Z
ifne 9
6: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
lload 2
invokevirtual java.lang.Object.wait:(J)V
7: goto 9
8: StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager java.lang.Object long
StackMap stack: java.lang.InterruptedException
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 1
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 1
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
iconst_0
anewarray sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData
astore 1
start local 1 14: aload 0
dup
astore 2
monitorenter
15: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.d3dwSurfaces:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[]
astore 1
16: aload 2
monitorexit
17: goto 20
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] sun.java2d.d3d.D3DScreenUpdateManager
StackMap stack: java.lang.Throwable
18: aload 2
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 40
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] top int int sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[]
StackMap stack:
21: aload 5
iload 3
aaload
astore 2
start local 2 22: aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.isValid:()Z
ifeq 39
aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.isDirty:()Z
ifne 23
aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.isSurfaceLost:()Z
ifeq 39
23: StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData int int sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[]
StackMap stack:
aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.isSurfaceLost:()Z
ifne 37
24: invokestatic sun.java2d.d3d.D3DRenderQueue.getInstance:()Lsun/java2d/d3d/D3DRenderQueue;
astore 6
start local 6 25: aload 6
invokevirtual sun.java2d.d3d.D3DRenderQueue.lock:()V
26: aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getBounds:()Ljava/awt/Rectangle;
astore 7
start local 7 27: aload 2
iconst_0
iconst_0
28: aload 7
getfield java.awt.Rectangle.width:I
aload 7
getfield java.awt.Rectangle.height:I
29: invokestatic sun.java2d.d3d.D3DSurfaceData.swapBuffers:(Lsun/java2d/d3d/D3DSurfaceData;IIII)V
30: aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.markClean:()V
end local 7 31: goto 35
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData int int sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] sun.java2d.d3d.D3DRenderQueue
StackMap stack: java.lang.Throwable
32: astore 8
33: aload 6
invokevirtual sun.java2d.d3d.D3DRenderQueue.unlock:()V
34: aload 8
athrow
35: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.java2d.d3d.D3DRenderQueue.unlock:()V
end local 6 36: goto 39
StackMap locals:
StackMap stack:
37: aload 0
aload 2
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.validate:(Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)Z
ifne 39
38: aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getPeer:()Lsun/awt/windows/WComponentPeer;
invokevirtual sun.awt.windows.WComponentPeer.replaceSurfaceDataLater:()V
end local 2 39: StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] top int int sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
40: iload 3
iload 4
if_icmplt 21
41: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
dup
astore 2
monitorenter
42: aload 0
iconst_0
putfield sun.java2d.d3d.D3DScreenUpdateManager.needsUpdateNow:Z
43: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.runLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
44: aload 2
monitorexit
45: goto 48
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData[] java.lang.Object
StackMap stack: java.lang.Throwable
46: aload 2
monitorexit
47: athrow
end local 1 48: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
ifeq 1
49: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
5 9 2 timeout J
14 48 1 surfaces [Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
22 39 2 sd Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
25 36 6 rq Lsun/java2d/d3d/D3DRenderQueue;
27 31 7 r Ljava/awt/Rectangle;
Exception table:
from to target type
6 7 8 Class java.lang.InterruptedException
2 10 11 any
11 12 11 any
15 17 18 any
18 19 18 any
26 32 32 any
42 45 46 any
46 47 46 any
private boolean validate(sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData);
descriptor: (Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.isSurfaceLost:()Z
ifeq 11
1: aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.restoreSurface:()V
2: aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getPeer:()Lsun/awt/windows/WComponentPeer;
invokevirtual sun.awt.windows.WComponentPeer.getBackgroundNoSync:()Ljava/awt/Color;
astore 2
start local 2 3: new sun.java2d.SunGraphics2D
dup
aload 1
aload 2
aload 2
aconst_null
invokespecial sun.java2d.SunGraphics2D.<init>:(Lsun/java2d/SurfaceData;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)V
astore 3
start local 3 4: aload 3
iconst_0
iconst_0
aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getBounds:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getBounds:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
invokevirtual sun.java2d.SunGraphics2D.fillRect:(IIII)V
5: aload 3
invokevirtual sun.java2d.SunGraphics2D.dispose:()V
6: aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.markClean:()V
7: aload 0
aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getPeer:()Lsun/awt/windows/WComponentPeer;
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.repaintPeerTarget:(Lsun/awt/windows/WComponentPeer;)V
end local 3 end local 2 8: goto 11
StackMap locals:
StackMap stack: sun.java2d.InvalidPipeException
9: pop
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 12 1 sd Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
3 8 2 bg Ljava/awt/Color;
4 8 3 sg2d Lsun/java2d/SunGraphics2D;
Exception table:
from to target type
1 8 9 Class sun.java2d.InvalidPipeException
MethodParameters:
Name Flags
sd
private synchronized sun.java2d.SurfaceData getGdiSurface(sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData);
descriptor: (Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;)Lsun/java2d/SurfaceData;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
ifnonnull 4
1: aload 0
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
3: putfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.java2d.windows.GDIWindowSurfaceData
astore 2
start local 2 5: aload 2
ifnonnull 8
6: aload 1
invokevirtual sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.getPeer:()Lsun/awt/windows/WComponentPeer;
invokestatic sun.java2d.windows.GDIWindowSurfaceData.createData:(Lsun/awt/windows/WComponentPeer;)Lsun/java2d/windows/GDIWindowSurfaceData;
astore 2
7: aload 0
getfield sun.java2d.d3d.D3DScreenUpdateManager.gdiSurfaces:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: sun.java2d.windows.GDIWindowSurfaceData
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
0 9 1 d3dw Lsun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData;
5 9 2 gdisd Lsun/java2d/windows/GDIWindowSurfaceData;
MethodParameters:
Name Flags
d3dw
private static boolean hasHWChildren(java.awt.Component);
descriptor: (Ljava/awt/Component;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
astore 1
start local 1 1: aload 0
instanceof java.awt.Container
ifeq 8
2: aload 0
checkcast java.awt.Container
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.awt.Component sun.awt.AWTAccessor$ComponentAccessor top int int java.awt.Component[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 1
aload 2
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
instanceof sun.awt.windows.WComponentPeer
ifne 5
aload 2
invokestatic sun.java2d.d3d.D3DScreenUpdateManager.hasHWChildren:(Ljava/awt/Component;)Z
ifeq 6
5: StackMap locals: java.awt.Component sun.awt.AWTAccessor$ComponentAccessor java.awt.Component int int java.awt.Component[]
StackMap stack:
iconst_1
ireturn
end local 2 6: StackMap locals: java.awt.Component sun.awt.AWTAccessor$ComponentAccessor top int int java.awt.Component[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: StackMap locals: java.awt.Component sun.awt.AWTAccessor$ComponentAccessor
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 comp Ljava/awt/Component;
1 9 1 acc Lsun/awt/AWTAccessor$ComponentAccessor;
4 6 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
comp
private java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
invokedynamic run(Lsun/java2d/d3d/D3DScreenUpdateManager;)Ljava/lang/Runnable;
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:
()V
sun/java2d/d3d/D3DScreenUpdateManager.lambda$1()V (7)
()V
astore 1
start local 1 1: new java.lang.Thread
dup
2: invokestatic sun.awt.util.ThreadGroupUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
aload 1
3: ldc "ScreenUpdater"
lconst_0
iconst_0
4: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
astore 2
start local 2 5: aload 2
aconst_null
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
6: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 2
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
7: goto 10
StackMap locals: sun.java2d.d3d.D3DScreenUpdateManager java.lang.Runnable java.lang.Thread
StackMap stack: java.lang.Exception
8: pop
9: aload 0
iconst_1
putfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
1 11 1 shutdownRunnable Ljava/lang/Runnable;
5 11 2 shutdown Ljava/lang/Thread;
Exception table:
from to target type
6 7 8 Class java.lang.Exception
private java.lang.Thread lambda$2();
descriptor: ()Ljava/lang/Thread;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: ldc "D3D Screen Updater"
astore 1
start local 1 1: new java.lang.Thread
dup
2: invokestatic sun.awt.util.ThreadGroupUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
aload 0
aload 1
3: lconst_0
iconst_0
4: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
astore 2
start local 2 5: aload 2
bipush 7
invokevirtual java.lang.Thread.setPriority:(I)V
6: aload 2
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
1 8 1 name Ljava/lang/String;
5 8 2 t Ljava/lang/Thread;
private void lambda$1();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.java2d.d3d.D3DScreenUpdateManager.done:Z
1: aload 0
invokevirtual sun.java2d.d3d.D3DScreenUpdateManager.wakeUpUpdateThread:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/d3d/D3DScreenUpdateManager;
}
SourceFile: "D3DScreenUpdateManager.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
public D3DWindowSurfaceData = sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData of sun.java2d.d3d.D3DSurfaceData