class org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread
super_class: java.lang.Object
{
private final org.eclipse.jetty.util.thread.Locker _locker;
descriptor: Lorg/eclipse/jetty/util/thread/Locker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.Condition _wakeup;
descriptor: Ljava/util/concurrent/locks/Condition;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean _starting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Runnable _task;
descriptor: Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.util.thread.ReservedThreadExecutor this$0;
descriptor: Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.eclipse.jetty.util.thread.ReservedThreadExecutor);
descriptor: (Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.eclipse.jetty.util.thread.Locker
dup
invokespecial org.eclipse.jetty.util.thread.Locker.<init>:()V
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._locker:Lorg/eclipse/jetty/util/thread/Locker;
2: aload 0
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._locker:Lorg/eclipse/jetty/util/thread/Locker;
invokevirtual org.eclipse.jetty.util.thread.Locker.newCondition:()Ljava/util/concurrent/locks/Condition;
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._wakeup:Ljava/util/concurrent/locks/Condition;
3: aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._starting:Z
4: aload 0
aconst_null
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._task:Ljava/lang/Runnable;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread;
MethodParameters:
Name Flags
this$0 final
public void offer(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} offer {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
3: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._locker:Lorg/eclipse/jetty/util/thread/Locker;
invokevirtual org.eclipse.jetty.util.thread.Locker.lock:()Lorg/eclipse/jetty/util/thread/Locker$Lock;
astore 4
start local 4 4: aload 0
aload 1
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._task:Ljava/lang/Runnable;
5: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._wakeup:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.signal:()V
6: aload 4
ifnull 12
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 12
StackMap locals: org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread java.lang.Runnable java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.Throwable
7: astore 2
aload 4
ifnull 8
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 4 StackMap locals:
StackMap stack:
8: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 3
aload 2
ifnonnull 10
aload 3
astore 2
goto 11
StackMap locals:
StackMap stack:
10: aload 2
aload 3
if_acmpeq 11
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 2
athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread;
0 13 1 task Ljava/lang/Runnable;
4 8 4 lock Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
4 6 7 any
3 9 9 any
MethodParameters:
Name Flags
task
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.STOP:Ljava/lang/Runnable;
invokevirtual org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.offer:(Ljava/lang/Runnable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread;
private java.lang.Runnable reservedWait();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} waiting"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: goto 28
4: StackMap locals: java.lang.Runnable
StackMap stack:
iconst_0
istore 2
start local 2 5: aconst_null
astore 3
aconst_null
astore 4
6: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._locker:Lorg/eclipse/jetty/util/thread/Locker;
invokevirtual org.eclipse.jetty.util.thread.Locker.lock:()Lorg/eclipse/jetty/util/thread/Locker$Lock;
astore 5
start local 5 7: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._task:Ljava/lang/Runnable;
ifnonnull 16
8: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._idleTime:J
lconst_0
lcmp
ifne 10
9: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._wakeup:Ljava/util/concurrent/locks/Condition;
invokeinterface java.util.concurrent.locks.Condition.await:()V
goto 16
10: StackMap locals: org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread java.lang.Runnable int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._wakeup:Ljava/util/concurrent/locks/Condition;
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._idleTime:J
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._idleTimeUnit:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.locks.Condition.await:(JLjava/util/concurrent/TimeUnit;)Z
ifeq 11
iconst_0
goto 12
StackMap locals:
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: istore 2
13: goto 16
14: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 6
start local 6 15: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 6
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 6 16: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._task:Ljava/lang/Runnable;
astore 1
17: aload 0
aconst_null
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._task:Ljava/lang/Runnable;
18: aload 5
ifnull 24
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 3
aload 5
ifnull 20
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 5 StackMap locals:
StackMap stack:
20: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 4
aload 3
ifnonnull 22
aload 4
astore 3
goto 23
StackMap locals:
StackMap stack:
22: aload 3
aload 4
if_acmpeq 23
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 3
athrow
24: StackMap locals:
StackMap stack:
iload 2
ifeq 28
25: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 27
26: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} IDLE"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
27: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.STOP:Ljava/lang/Runnable;
invokevirtual org.eclipse.jetty.util.thread.ReservedThreadExecutor.tryExecute:(Ljava/lang/Runnable;)Z
pop
end local 2 28: StackMap locals:
StackMap stack:
aload 1
ifnull 4
29: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 31
30: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} task={}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
31: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread;
3 32 1 task Ljava/lang/Runnable;
5 28 2 idle Z
7 20 5 lock Lorg/eclipse/jetty/util/thread/Locker$Lock;
15 16 6 e Ljava/lang/InterruptedException;
Exception table:
from to target type
8 13 14 Class java.lang.InterruptedException
7 18 19 any
6 21 21 any
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: goto 22
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._size:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 1
start local 1 2: iload 1
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._capacity:I
if_icmplt 8
3: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 5
4: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} size {} > capacity"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._capacity:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._starting:Z
ifeq 7
6: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._pending:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._size:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
iload 1
iconst_1
iadd
invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
ifeq 1
end local 1 9: aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._starting:Z
ifeq 14
10: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 12
11: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} started"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._pending:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
13: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread._starting:Z
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor._stack:Ljava/util/concurrent/ConcurrentLinkedDeque;
aload 0
invokevirtual java.util.concurrent.ConcurrentLinkedDeque.offerFirst:(Ljava/lang/Object;)Z
pop
15: aload 0
invokevirtual org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.reservedWait:()Ljava/lang/Runnable;
astore 1
start local 1 16: aload 1
getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.STOP:Ljava/lang/Runnable;
if_acmpne 18
17: goto 23
18: StackMap locals: java.lang.Runnable
StackMap stack:
aload 1
invokeinterface java.lang.Runnable.run:()V
19: goto 22
20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 21: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 2 end local 1 22: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
invokevirtual org.eclipse.jetty.util.thread.ReservedThreadExecutor.isRunning:()Z
ifne 1
23: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 25
24: getstatic org.eclipse.jetty.util.thread.ReservedThreadExecutor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} Exited"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
25: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread;
2 9 1 size I
16 22 1 task Ljava/lang/Runnable;
21 22 2 e Ljava/lang/Throwable;
Exception table:
from to target type
18 19 20 Class java.lang.Throwable
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s@%x"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.this$0:Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor;
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread;
}
SourceFile: "ReservedThreadExecutor.java"
NestHost: org.eclipse.jetty.util.thread.ReservedThreadExecutor
InnerClasses:
public Lock = org.eclipse.jetty.util.thread.Locker$Lock of org.eclipse.jetty.util.thread.Locker
private ReservedThread = org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread of org.eclipse.jetty.util.thread.ReservedThreadExecutor