public abstract class com.sun.webkit.Invoker
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.webkit.Invoker
super_class: java.lang.Object
{
private static com.sun.webkit.Invoker instance;
descriptor: Lcom/sun/webkit/Invoker;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final com.sun.webkit.perf.PerfLogger locksLog;
descriptor: Lcom/sun/webkit/perf/PerfLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "Locks"
invokestatic com.sun.webkit.perf.PerfLogger.getLogger:(Ljava/lang/String;)Lcom/sun/webkit/perf/PerfLogger;
putstatic com.sun.webkit.Invoker.locksLog:Lcom/sun/webkit/perf/PerfLogger;
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 Lcom/sun/webkit/Invoker;
public static synchronized void setInvoker(com.sun.webkit.Invoker);
descriptor: (Lcom/sun/webkit/Invoker;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.webkit.Invoker.instance:Lcom/sun/webkit/Invoker;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 invoker Lcom/sun/webkit/Invoker;
MethodParameters:
Name Flags
invoker
public static synchronized com.sun.webkit.Invoker getInvoker();
descriptor: ()Lcom/sun/webkit/Invoker;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.webkit.Invoker.instance:Lcom/sun/webkit/Invoker;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected boolean lock(java.util.concurrent.locks.ReentrantLock);
descriptor: (Ljava/util/concurrent/locks/ReentrantLock;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.getHoldCount:()I
ifne 6
1: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: getstatic com.sun.webkit.Invoker.locksLog:Lcom/sun/webkit/perf/PerfLogger;
aload 0
invokevirtual com.sun.webkit.Invoker.isEventThread:()Z
ifeq 3
ldc "EventThread"
goto 4
StackMap locals:
StackMap stack: com.sun.webkit.perf.PerfLogger
3: ldc "RenderThread"
StackMap locals: com.sun.webkit.Invoker java.util.concurrent.locks.ReentrantLock
StackMap stack: com.sun.webkit.perf.PerfLogger java.lang.String
4: invokevirtual com.sun.webkit.perf.PerfLogger.resumeCount:(Ljava/lang/String;)V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/Invoker;
0 7 1 lock Ljava/util/concurrent/locks/ReentrantLock;
MethodParameters:
Name Flags
lock
protected boolean unlock(java.util.concurrent.locks.ReentrantLock);
descriptor: (Ljava/util/concurrent/locks/ReentrantLock;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.getHoldCount:()I
ifeq 6
1: getstatic com.sun.webkit.Invoker.locksLog:Lcom/sun/webkit/perf/PerfLogger;
aload 0
invokevirtual com.sun.webkit.Invoker.isEventThread:()Z
ifeq 2
ldc "EventThread"
goto 3
StackMap locals:
StackMap stack: com.sun.webkit.perf.PerfLogger
2: ldc "RenderThread"
StackMap locals: com.sun.webkit.Invoker java.util.concurrent.locks.ReentrantLock
StackMap stack: com.sun.webkit.perf.PerfLogger java.lang.String
3: invokevirtual com.sun.webkit.perf.PerfLogger.suspendCount:(Ljava/lang/String;)V
4: aload 1
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/Invoker;
0 7 1 lock Ljava/util/concurrent/locks/ReentrantLock;
MethodParameters:
Name Flags
lock
protected abstract boolean isEventThread();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public void checkEventThread();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.webkit.Invoker.isEventThread:()Z
ifne 4
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Current thread is not event thread, current thread: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/Invoker;
public abstract void invokeOnEventThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
r
public abstract void postOnEventThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
r
}
SourceFile: "Invoker.java"