class com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor implements java.util.concurrent.Executor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor
super_class: java.lang.Object
{
private java.lang.Runnable command;
descriptor: Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
private java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor this
0: .line 88
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$LinearExecutor;
public synchronized void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=9, locals=2, args_size=2
start local 0 // com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor this
start local 1 // java.lang.Runnable command
0: .line 90
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.command:Ljava/lang/Runnable;
ifnull 2
1: .line 91
new java.lang.IllegalArgumentException
dup
ldc "More than one command"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 92
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* command */
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.command:Ljava/lang/Runnable;
3: .line 93
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.thread:Ljava/lang/Thread;
ifnonnull 13
4: .line 94
aload 0 /* this */
new java.lang.Thread
dup
5: .line 95
aconst_null
6: .line 96
aload 0 /* this */
invokedynamic run(Lcom/sun/jmx/remote/internal/ClientNotifForwarder$LinearExecutor;)Ljava/lang/Runnable;
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:
()V
com/sun/jmx/remote/internal/ClientNotifForwarder$LinearExecutor.lambda$0()V (7)
()V
7: .line 111
new java.lang.StringBuilder
dup
ldc "ClientNotifForwarder-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.jmx.remote.internal.ClientNotifForwarder.threadId:I
iconst_1
iadd
dup
putstatic com.sun.jmx.remote.internal.ClientNotifForwarder.threadId:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: .line 112
lconst_0
9: .line 113
iconst_0
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
10: .line 94
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.thread:Ljava/lang/Thread;
11: .line 115
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.thread:Ljava/lang/Thread;
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
12: .line 116
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
13: .line 118
StackMap locals:
StackMap stack:
return
end local 1 // java.lang.Runnable command
end local 0 // com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$LinearExecutor;
0 14 1 command Ljava/lang/Runnable;
MethodParameters:
Name Flags
command
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=1
start local 0 // com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor this
0: .line 99
StackMap locals:
StackMap stack:
aload 0 /* this */
dup
astore 2
monitorenter
1: .line 100
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.command:Ljava/lang/Runnable;
ifnonnull 5
2: .line 101
aload 0 /* this */
aconst_null
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.thread:Ljava/lang/Thread;
3: .line 102
aload 2
monitorexit
4: return
5: .line 104
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor top com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor
StackMap stack:
aload 0 /* this */
getfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.command:Ljava/lang/Runnable;
astore 1 /* r */
start local 1 // java.lang.Runnable r
6: .line 105
aload 0 /* this */
aconst_null
putfield com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor.command:Ljava/lang/Runnable;
7: .line 99
aload 2
monitorexit
8: goto 11
end local 1 // java.lang.Runnable r
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
start local 1 // java.lang.Runnable r
11: .line 108
StackMap locals: com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor java.lang.Runnable
StackMap stack:
aload 1 /* r */
invokeinterface java.lang.Runnable.run:()V
end local 1 // java.lang.Runnable r
12: .line 97
goto 0
end local 0 // com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/jmx/remote/internal/ClientNotifForwarder$LinearExecutor;
6 9 1 r Ljava/lang/Runnable;
11 12 1 r Ljava/lang/Runnable;
Exception table:
from to target type
1 4 9 any
5 8 9 any
9 10 9 any
}
SourceFile: "ClientNotifForwarder.java"
NestHost: com.sun.jmx.remote.internal.ClientNotifForwarder
InnerClasses:
private LinearExecutor = com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor of com.sun.jmx.remote.internal.ClientNotifForwarder
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles