public class com.sun.webkit.Timer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.webkit.Timer
super_class: java.lang.Object
{
private static com.sun.webkit.Timer instance;
descriptor: Lcom/sun/webkit/Timer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.webkit.Timer$Mode mode;
descriptor: Lcom/sun/webkit/Timer$Mode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
long fireTime;
descriptor: J
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/Timer;
public static synchronized com.sun.webkit.Timer$Mode getMode();
descriptor: ()Lcom/sun/webkit/Timer$Mode;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.webkit.Timer.mode:Lcom/sun/webkit/Timer$Mode;
ifnonnull 6
1: invokedynamic run()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;
com/sun/webkit/Timer.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
2: 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
3: ifeq 4
getstatic com.sun.webkit.Timer$Mode.PLATFORM_TICKS:Lcom/sun/webkit/Timer$Mode;
goto 5
StackMap locals:
StackMap stack:
4: getstatic com.sun.webkit.Timer$Mode.SEPARATE_THREAD:Lcom/sun/webkit/Timer$Mode;
5: StackMap locals:
StackMap stack: com.sun.webkit.Timer$Mode
putstatic com.sun.webkit.Timer.mode:Lcom/sun/webkit/Timer$Mode;
6: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.Timer.mode:Lcom/sun/webkit/Timer$Mode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized com.sun.webkit.Timer getTimer();
descriptor: ()Lcom/sun/webkit/Timer;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.webkit.Timer.instance:Lcom/sun/webkit/Timer;
ifnonnull 5
1: invokestatic com.sun.webkit.Timer.getMode:()Lcom/sun/webkit/Timer$Mode;
getstatic com.sun.webkit.Timer$Mode.PLATFORM_TICKS:Lcom/sun/webkit/Timer$Mode;
if_acmpne 3
2: new com.sun.webkit.Timer
dup
invokespecial com.sun.webkit.Timer.<init>:()V
goto 4
StackMap locals:
StackMap stack:
3: new com.sun.webkit.SeparateThreadTimer
dup
invokespecial com.sun.webkit.SeparateThreadTimer.<init>:()V
4: StackMap locals:
StackMap stack: com.sun.webkit.Timer
putstatic com.sun.webkit.Timer.instance:Lcom/sun/webkit/Timer;
5: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.Timer.instance:Lcom/sun/webkit/Timer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public synchronized void notifyTick();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.Timer.fireTime:J
lconst_0
lcmp
ifle 2
aload 0
getfield com.sun.webkit.Timer.fireTime:J
invokestatic java.lang.System.currentTimeMillis:()J
lcmp
ifgt 2
1: aload 0
aload 0
getfield com.sun.webkit.Timer.fireTime:J
invokevirtual com.sun.webkit.Timer.fireTimerEvent:(J)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/webkit/Timer;
void fireTimerEvent(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: aload 0
dup
astore 4
monitorenter
2: lload 1
aload 0
getfield com.sun.webkit.Timer.fireTime:J
lcmp
ifne 5
3: iconst_1
istore 3
4: aload 0
lconst_0
putfield com.sun.webkit.Timer.fireTime:J
5: StackMap locals: int com.sun.webkit.Timer
StackMap stack:
aload 4
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 4
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
iload 3
ifeq 17
10: invokestatic com.sun.webkit.WebPage.lockPage:()Z
pop
11: invokestatic com.sun.webkit.Timer.twkFireTimerEvent:()V
12: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
14: invokestatic com.sun.webkit.WebPage.unlockPage:()Z
pop
15: aload 4
athrow
16: StackMap locals:
StackMap stack:
invokestatic com.sun.webkit.WebPage.unlockPage:()Z
pop
17: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/webkit/Timer;
0 18 1 time J
1 18 3 needFire Z
Exception table:
from to target type
2 6 7 any
7 8 7 any
11 13 13 any
MethodParameters:
Name Flags
time
synchronized void setFireTime(long);
descriptor: (J)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.sun.webkit.Timer.fireTime:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/Timer;
0 2 1 time J
MethodParameters:
Name Flags
time
private static void fwkSetFireTime(double);
descriptor: (D)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: invokestatic com.sun.webkit.Timer.getTimer:()Lcom/sun/webkit/Timer;
dload 0
ldc 1000.0
dmul
invokestatic java.lang.Math.ceil:(D)D
d2l
invokevirtual com.sun.webkit.Timer.setFireTime:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fireTime D
MethodParameters:
Name Flags
fireTime
private static void fwkStopTimer();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic com.sun.webkit.Timer.getTimer:()Lcom/sun/webkit/Timer;
lconst_0
invokevirtual com.sun.webkit.Timer.setFireTime:(J)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static native void twkFireTimerEvent();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.webkit.platformticks"
ldc "true"
1: invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Timer.java"
NestMembers:
com.sun.webkit.Timer$Mode
InnerClasses:
public final Mode = com.sun.webkit.Timer$Mode of com.sun.webkit.Timer
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles