public abstract class sun.awt.image.VSyncedBSManager
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.image.VSyncedBSManager
super_class: java.lang.Object
{
private static sun.awt.image.VSyncedBSManager theInstance;
descriptor: Lsun/awt/image/VSyncedBSManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean vSyncLimit;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new sun.security.action.GetPropertyAction
dup
1: ldc "sun.java2d.vsynclimit"
ldc "true"
2: invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
4: putstatic sun.awt.image.VSyncedBSManager.vSyncLimit:Z
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/VSyncedBSManager;
private static sun.awt.image.VSyncedBSManager getInstance(boolean);
descriptor: (Z)Lsun/awt/image/VSyncedBSManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.awt.image.VSyncedBSManager.theInstance:Lsun/awt/image/VSyncedBSManager;
ifnonnull 4
iload 0
ifeq 4
1: getstatic sun.awt.image.VSyncedBSManager.vSyncLimit:Z
ifeq 2
new sun.awt.image.VSyncedBSManager$SingleVSyncedBSMgr
dup
invokespecial sun.awt.image.VSyncedBSManager$SingleVSyncedBSMgr.<init>:()V
goto 3
StackMap locals:
StackMap stack:
2: new sun.awt.image.VSyncedBSManager$NoLimitVSyncBSMgr
dup
invokespecial sun.awt.image.VSyncedBSManager$NoLimitVSyncBSMgr.<init>:()V
3: StackMap locals:
StackMap stack: sun.awt.image.VSyncedBSManager
putstatic sun.awt.image.VSyncedBSManager.theInstance:Lsun/awt/image/VSyncedBSManager;
4: StackMap locals:
StackMap stack:
getstatic sun.awt.image.VSyncedBSManager.theInstance:Lsun/awt/image/VSyncedBSManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 create Z
MethodParameters:
Name Flags
create
abstract boolean checkAllowed(java.awt.image.BufferStrategy);
descriptor: (Ljava/awt/image/BufferStrategy;)Z
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
bs
abstract void relinquishVsync(java.awt.image.BufferStrategy);
descriptor: (Ljava/awt/image/BufferStrategy;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
bs
public static boolean vsyncAllowed(java.awt.image.BufferStrategy);
descriptor: (Ljava/awt/image/BufferStrategy;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
invokestatic sun.awt.image.VSyncedBSManager.getInstance:(Z)Lsun/awt/image/VSyncedBSManager;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.awt.image.VSyncedBSManager.checkAllowed:(Ljava/awt/image/BufferStrategy;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bs Ljava/awt/image/BufferStrategy;
1 2 1 bsm Lsun/awt/image/VSyncedBSManager;
MethodParameters:
Name Flags
bs
public static synchronized void releaseVsync(java.awt.image.BufferStrategy);
descriptor: (Ljava/awt/image/BufferStrategy;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
invokestatic sun.awt.image.VSyncedBSManager.getInstance:(Z)Lsun/awt/image/VSyncedBSManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokevirtual sun.awt.image.VSyncedBSManager.relinquishVsync:(Ljava/awt/image/BufferStrategy;)V
3: StackMap locals: sun.awt.image.VSyncedBSManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 bs Ljava/awt/image/BufferStrategy;
1 4 1 bsm Lsun/awt/image/VSyncedBSManager;
MethodParameters:
Name Flags
bs
}
SourceFile: "VSyncedBSManager.java"
NestMembers:
sun.awt.image.VSyncedBSManager$NoLimitVSyncBSMgr sun.awt.image.VSyncedBSManager$SingleVSyncedBSMgr
InnerClasses:
private final NoLimitVSyncBSMgr = sun.awt.image.VSyncedBSManager$NoLimitVSyncBSMgr of sun.awt.image.VSyncedBSManager
private final SingleVSyncedBSMgr = sun.awt.image.VSyncedBSManager$SingleVSyncedBSMgr of sun.awt.image.VSyncedBSManager