public class sun.jvm.hotspot.utilities.WorkerThread
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.utilities.WorkerThread
super_class: java.lang.Object
{
private volatile boolean done;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private sun.jvm.hotspot.utilities.MessageQueueBackend mqb;
descriptor: Lsun/jvm/hotspot/utilities/MessageQueueBackend;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.utilities.MessageQueue mq;
descriptor: Lsun/jvm/hotspot/utilities/MessageQueue;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 // sun.jvm.hotspot.utilities.WorkerThread this
0: .line 35
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 31
aload 0 /* this */
iconst_0
putfield sun.jvm.hotspot.utilities.WorkerThread.done:Z
2: .line 36
aload 0 /* this */
new sun.jvm.hotspot.utilities.MessageQueueBackend
dup
invokespecial sun.jvm.hotspot.utilities.MessageQueueBackend.<init>:()V
putfield sun.jvm.hotspot.utilities.WorkerThread.mqb:Lsun/jvm/hotspot/utilities/MessageQueueBackend;
3: .line 37
aload 0 /* this */
aload 0 /* this */
getfield sun.jvm.hotspot.utilities.WorkerThread.mqb:Lsun/jvm/hotspot/utilities/MessageQueueBackend;
invokevirtual sun.jvm.hotspot.utilities.MessageQueueBackend.getFirstQueue:()Lsun/jvm/hotspot/utilities/MessageQueue;
putfield sun.jvm.hotspot.utilities.WorkerThread.mq:Lsun/jvm/hotspot/utilities/MessageQueue;
4: .line 40
new java.lang.Thread
dup
new sun.jvm.hotspot.utilities.WorkerThread$MainLoop
dup
aload 0 /* this */
invokespecial sun.jvm.hotspot.utilities.WorkerThread$MainLoop.<init>:(Lsun/jvm/hotspot/utilities/WorkerThread;)V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 1 /* mqthread */
start local 1 // java.lang.Thread mqthread
5: .line 41
aload 1 /* mqthread */
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
6: .line 42
aload 1 /* mqthread */
invokevirtual java.lang.Thread.start:()V
7: .line 43
return
end local 1 // java.lang.Thread mqthread
end local 0 // sun.jvm.hotspot.utilities.WorkerThread this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/utilities/WorkerThread;
5 8 1 mqthread Ljava/lang/Thread;
public void invokeLater(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.jvm.hotspot.utilities.WorkerThread this
start local 1 // java.lang.Runnable runnable
0: .line 48
aload 0 /* this */
getfield sun.jvm.hotspot.utilities.WorkerThread.mq:Lsun/jvm/hotspot/utilities/MessageQueue;
aload 1 /* runnable */
invokeinterface sun.jvm.hotspot.utilities.MessageQueue.writeMessage:(Ljava/lang/Object;)V
1: .line 49
return
end local 1 // java.lang.Runnable runnable
end local 0 // sun.jvm.hotspot.utilities.WorkerThread this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/WorkerThread;
0 2 1 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
runnable
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 // sun.jvm.hotspot.utilities.WorkerThread this
0: .line 55
aload 0 /* this */
iconst_1
putfield sun.jvm.hotspot.utilities.WorkerThread.done:Z
1: .line 56
aload 0 /* this */
getfield sun.jvm.hotspot.utilities.WorkerThread.mq:Lsun/jvm/hotspot/utilities/MessageQueue;
new sun.jvm.hotspot.utilities.WorkerThread$1
dup
aload 0 /* this */
invokespecial sun.jvm.hotspot.utilities.WorkerThread$1.<init>:(Lsun/jvm/hotspot/utilities/WorkerThread;)V
invokeinterface sun.jvm.hotspot.utilities.MessageQueue.writeMessage:(Ljava/lang/Object;)V
2: .line 57
return
end local 0 // sun.jvm.hotspot.utilities.WorkerThread this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/utilities/WorkerThread;
}
SourceFile: "WorkerThread.java"
NestMembers:
sun.jvm.hotspot.utilities.WorkerThread$1 sun.jvm.hotspot.utilities.WorkerThread$MainLoop
InnerClasses:
sun.jvm.hotspot.utilities.WorkerThread$1
MainLoop = sun.jvm.hotspot.utilities.WorkerThread$MainLoop of sun.jvm.hotspot.utilities.WorkerThread