public class org.apache.tomcat.util.threads.InlineExecutorService extends java.util.concurrent.AbstractExecutorService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.threads.InlineExecutorService
super_class: java.util.concurrent.AbstractExecutorService
{
private volatile boolean shutdown;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean taskRunning;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean terminated;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.concurrent.AbstractExecutorService.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.tomcat.util.threads.InlineExecutorService.shutdown:Z
1: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.taskRunning:Z
ifeq 3
iconst_0
goto 4
StackMap locals: org.apache.tomcat.util.threads.InlineExecutorService java.lang.Object
StackMap stack: org.apache.tomcat.util.threads.InlineExecutorService
3: iconst_1
StackMap locals: org.apache.tomcat.util.threads.InlineExecutorService java.lang.Object
StackMap stack: org.apache.tomcat.util.threads.InlineExecutorService int
4: putfield org.apache.tomcat.util.threads.InlineExecutorService.terminated:Z
5: aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
Exception table:
from to target type
2 6 7 any
7 8 7 any
public java.util.List<java.lang.Runnable> shutdownNow();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.threads.InlineExecutorService.shutdown:()V
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
Signature: ()Ljava/util/List<Ljava/lang/Runnable;>;
public boolean isShutdown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.shutdown:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
public boolean isTerminated();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.terminated:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
public boolean awaitTermination(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
1: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.terminated:Z
ifeq 4
2: aload 4
monitorexit
3: iconst_1
ireturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
invokevirtual java.lang.Object.wait:(J)V
5: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.terminated:Z
aload 4
monitorexit
6: ireturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 4
monitorexit
8: athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
0 9 1 timeout J
0 9 3 unit Ljava/util/concurrent/TimeUnit;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout
unit
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.shutdown:Z
ifeq 3
2: new java.util.concurrent.RejectedExecutionException
dup
invokespecial java.util.concurrent.RejectedExecutionException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
iconst_1
putfield org.apache.tomcat.util.threads.InlineExecutorService.taskRunning:Z
4: aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.lang.Runnable.run:()V
9: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
10: aload 0
iconst_0
putfield org.apache.tomcat.util.threads.InlineExecutorService.taskRunning:Z
11: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.shutdown:Z
ifeq 14
12: aload 0
iconst_1
putfield org.apache.tomcat.util.threads.InlineExecutorService.terminated:Z
13: aload 0
getfield org.apache.tomcat.util.threads.InlineExecutorService.lock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
14: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/tomcat/util/threads/InlineExecutorService;
0 19 1 command Ljava/lang/Runnable;
Exception table:
from to target type
1 5 6 any
6 7 6 any
10 15 16 any
16 17 16 any
MethodParameters:
Name Flags
command
}
SourceFile: "InlineExecutorService.java"