final class com.sun.webkit.SeparateThreadTimer extends com.sun.webkit.Timer implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.SeparateThreadTimer
super_class: com.sun.webkit.Timer
{
private final com.sun.webkit.Invoker invoker;
descriptor: Lcom/sun/webkit/Invoker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.webkit.SeparateThreadTimer$FireRunner fireRunner;
descriptor: Lcom/sun/webkit/SeparateThreadTimer$FireRunner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/webkit/SeparateThreadTimer;
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.webkit.SeparateThreadTimer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.webkit.Timer.<init>:()V
1: aload 0
invokestatic com.sun.webkit.Invoker.getInvoker:()Lcom/sun/webkit/Invoker;
putfield com.sun.webkit.SeparateThreadTimer.invoker:Lcom/sun/webkit/Invoker;
2: aload 0
new com.sun.webkit.SeparateThreadTimer$FireRunner
dup
aload 0
invokespecial com.sun.webkit.SeparateThreadTimer$FireRunner.<init>:(Lcom/sun/webkit/SeparateThreadTimer;)V
putfield com.sun.webkit.SeparateThreadTimer.fireRunner:Lcom/sun/webkit/SeparateThreadTimer$FireRunner;
3: aload 0
new java.lang.Thread
dup
aload 0
ldc "WebPane-Timer"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
putfield com.sun.webkit.SeparateThreadTimer.thread:Ljava/lang/Thread;
4: aload 0
getfield com.sun.webkit.SeparateThreadTimer.thread:Ljava/lang/Thread;
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/webkit/SeparateThreadTimer;
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
invokespecial com.sun.webkit.Timer.setFireTime:(J)V
1: aload 0
getfield com.sun.webkit.SeparateThreadTimer.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.getState:()Ljava/lang/Thread$State;
getstatic java.lang.Thread$State.NEW:Ljava/lang/Thread$State;
if_acmpne 3
2: aload 0
getfield com.sun.webkit.SeparateThreadTimer.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.notifyAll:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/SeparateThreadTimer;
0 5 1 time J
MethodParameters:
Name Flags
time
public synchronized void run();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SeparateThreadTimer.fireTime:J
lconst_0
lcmp
ifle 8
1: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 2: goto 5
3: StackMap locals: long
StackMap stack:
aload 0
aload 0
getfield com.sun.webkit.SeparateThreadTimer.fireTime:J
lload 1
lsub
invokevirtual java.lang.Object.wait:(J)V
4: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SeparateThreadTimer.fireTime:J
lload 1
lcmp
ifgt 3
6: aload 0
getfield com.sun.webkit.SeparateThreadTimer.fireTime:J
lconst_0
lcmp
ifle 8
7: aload 0
getfield com.sun.webkit.SeparateThreadTimer.invoker:Lcom/sun/webkit/Invoker;
aload 0
getfield com.sun.webkit.SeparateThreadTimer.fireRunner:Lcom/sun/webkit/SeparateThreadTimer$FireRunner;
aload 0
getfield com.sun.webkit.SeparateThreadTimer.fireTime:J
invokevirtual com.sun.webkit.SeparateThreadTimer$FireRunner.forTime:(J)Ljava/lang/Runnable;
invokevirtual com.sun.webkit.Invoker.invokeOnEventThread:(Ljava/lang/Runnable;)V
end local 1 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
9: goto 0
StackMap locals:
StackMap stack: java.lang.InterruptedException
10: pop
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/webkit/SeparateThreadTimer;
2 8 1 curTime J
Exception table:
from to target type
0 9 10 Class java.lang.InterruptedException
public void notifyTick();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.webkit.SeparateThreadTimer.$assertionsDisabled:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/SeparateThreadTimer;
}
SourceFile: "Timer.java"
NestMembers:
com.sun.webkit.SeparateThreadTimer$FireRunner
InnerClasses:
private final FireRunner = com.sun.webkit.SeparateThreadTimer$FireRunner of com.sun.webkit.SeparateThreadTimer
public final State = java.lang.Thread$State of java.lang.Thread