public class org.eclipse.jetty.util.thread.strategy.EatWhatYouKill extends org.eclipse.jetty.util.component.ContainerLifeCycle implements org.eclipse.jetty.util.thread.ExecutionStrategy, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
super_class: org.eclipse.jetty.util.component.ContainerLifeCycle
{
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder _pcMode;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder _picMode;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder _pecMode;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder _epcMode;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.util.thread.ExecutionStrategy$Producer _producer;
descriptor: Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.Executor _executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.util.thread.TryExecutor _tryExecutor;
descriptor: Lorg/eclipse/jetty/util/thread/TryExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State _state;
descriptor: Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
flags: (0x0002) ACC_PRIVATE
private boolean _pending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$util$thread$Invocable$InvocationType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$Mode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.eclipse.jetty.util.thread.ExecutionStrategy$Producer, java.util.concurrent.Executor);
descriptor: (Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;Ljava/util/concurrent/Executor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.eclipse.jetty.util.component.ContainerLifeCycle.<init>:()V
1: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pcMode:Ljava/util/concurrent/atomic/LongAdder;
2: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._picMode:Ljava/util/concurrent/atomic/LongAdder;
3: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pecMode:Ljava/util/concurrent/atomic/LongAdder;
4: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._epcMode:Ljava/util/concurrent/atomic/LongAdder;
5: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
6: aload 0
aload 1
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
7: aload 0
aload 2
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._executor:Ljava/util/concurrent/Executor;
8: aload 0
aload 2
invokestatic org.eclipse.jetty.util.thread.TryExecutor.asTryExecutor:(Ljava/util/concurrent/Executor;)Lorg/eclipse/jetty/util/thread/TryExecutor;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._tryExecutor:Lorg/eclipse/jetty/util/thread/TryExecutor;
9: aload 0
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.addBean:(Ljava/lang/Object;)Z
pop
10: aload 0
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._tryExecutor:Lorg/eclipse/jetty/util/thread/TryExecutor;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.addBean:(Ljava/lang/Object;)Z
pop
11: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 13
12: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} created"
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
13: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill org.eclipse.jetty.util.thread.ExecutionStrategy$Producer java.util.concurrent.Executor
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 14 1 producer Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
0 14 2 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
producer
executor
public void dispatch();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 2
monitorenter
2: invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State:()[I
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 3
2: 7
default: 9
}
3: StackMap locals: int org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
ifne 9
4: aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
5: iconst_1
istore 1
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.REPRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
8: goto 9
9: StackMap locals:
StackMap stack:
aload 2
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 15
14: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} dispatch {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
iload 1
ifeq 17
16: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._executor:Ljava/util/concurrent/Executor;
aload 0
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
1 18 1 execute Z
Exception table:
from to target type
2 10 11 any
11 12 11 any
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
public void produce();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
private void tryProduce(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.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.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} tryProduce {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
3: iload 1
ifeq 5
4: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
5: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State:()[I
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 6
2: 8
default: 11
}
6: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.PRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.REPRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
9: aload 2
monitorexit
10: return
11: StackMap locals:
StackMap stack:
aload 2
monitorexit
12: return
13: StackMap locals:
StackMap stack:
aload 2
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 2
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jetty.util.thread.Invocable.isNonBlockingInvocation:()Z
istore 2
start local 2 18: goto 24
19: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce:(Z)Z
ifeq 21
20: goto 24
21: StackMap locals:
StackMap stack:
return
22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 23: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 3 24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.isRunning:()Z
ifne 19
25: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 26 1 wasPending Z
18 26 2 nonBlocking Z
23 24 3 th Ljava/lang/Throwable;
Exception table:
from to target type
3 10 15 any
11 12 15 any
13 14 15 any
15 16 15 any
19 20 22 Class java.lang.Throwable
MethodParameters:
Name Flags
wasPending
private boolean doProduce(boolean);
descriptor: (Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask:()Ljava/lang/Runnable;
astore 2
start local 2 1: aload 2
ifnonnull 13
2: aload 0
dup
astore 3
monitorenter
3: invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State:()[I
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 4
3: 7
default: 10
}
4: StackMap locals: java.lang.Runnable org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
5: aload 3
monitorexit
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.PRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
8: aload 3
monitorexit
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.toStringLocked:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
iload 1
ifeq 21
14: invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$Invocable$InvocationType:()[I
aload 2
invokestatic org.eclipse.jetty.util.thread.Invocable.getInvocationType:(Ljava/lang/Object;)Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
invokevirtual org.eclipse.jetty.util.thread.Invocable$InvocationType.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 15
3: 17
default: 19
}
15: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 16: goto 55
end local 3 17: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_INVOKE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 18: goto 55
end local 3 19: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_EXECUTE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 20: goto 55
end local 3 21: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$Invocable$InvocationType:()[I
aload 2
invokestatic org.eclipse.jetty.util.thread.Invocable.getInvocationType:(Ljava/lang/Object;)Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
invokevirtual org.eclipse.jetty.util.thread.Invocable$InvocationType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 24
2: 22
3: 39
default: 54
}
22: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 23: goto 55
end local 3 24: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
monitorenter
25: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
ifeq 29
26: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
27: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.EXECUTE_PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 28: goto 35
end local 3 29: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable top org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._tryExecutor:Lorg/eclipse/jetty/util/thread/TryExecutor;
aload 0
invokeinterface org.eclipse.jetty.util.thread.TryExecutor.tryExecute:(Ljava/lang/Runnable;)Z
ifeq 34
30: aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
31: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
32: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.EXECUTE_PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 33: goto 35
end local 3 34: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_EXECUTE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 35: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 4
monitorexit
36: goto 55
end local 3 StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable top org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack: java.lang.Throwable
37: aload 4
monitorexit
38: athrow
39: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable
StackMap stack:
aload 0
dup
astore 4
monitorenter
40: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
ifeq 44
41: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
42: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.EXECUTE_PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 43: goto 50
end local 3 44: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable top org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._tryExecutor:Lorg/eclipse/jetty/util/thread/TryExecutor;
aload 0
invokeinterface org.eclipse.jetty.util.thread.TryExecutor.tryExecute:(Ljava/lang/Runnable;)Z
ifeq 49
45: aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
46: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
47: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.EXECUTE_PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 48: goto 50
end local 3 49: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_INVOKE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
astore 3
start local 3 50: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 4
monitorexit
51: goto 55
end local 3 StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable top org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack: java.lang.Throwable
52: aload 4
monitorexit
53: athrow
54: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill int java.lang.Runnable
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
start local 3 55: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 57
56: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} m={} t={}/{}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 2
aastore
dup
iconst_3
aload 2
invokestatic org.eclipse.jetty.util.thread.Invocable.getInvocationType:(Ljava/lang/Object;)Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
57: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$Mode:()[I
aload 3
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 58
2: 61
3: 64
4: 67
default: 79
}
58: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pcMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
59: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask:(Ljava/lang/Runnable;)V
60: iconst_1
ireturn
61: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._picMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
62: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.invokeTask:(Ljava/lang/Runnable;)V
63: iconst_1
ireturn
64: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pecMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
65: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.execute:(Ljava/lang/Runnable;)V
66: iconst_1
ireturn
67: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._epcMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
68: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask:(Ljava/lang/Runnable;)V
69: aload 0
dup
astore 4
monitorenter
70: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
if_acmpne 74
71: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.PRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
putfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
72: aload 4
monitorexit
73: iconst_1
ireturn
74: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
aload 4
monitorexit
75: goto 78
StackMap locals:
StackMap stack: java.lang.Throwable
76: aload 4
monitorexit
77: athrow
78: StackMap locals:
StackMap stack:
iconst_0
ireturn
79: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 80 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 80 1 nonBlocking Z
1 80 2 task Ljava/lang/Runnable;
16 17 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
18 19 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
20 21 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
23 24 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
28 29 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
33 34 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
35 37 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
43 44 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
48 49 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
50 52 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
55 80 3 mode Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
Exception table:
from to target type
3 6 11 any
7 9 11 any
10 12 11 any
25 36 37 any
37 38 37 any
40 51 52 any
52 53 52 any
70 73 76 any
74 75 76 any
76 77 76 any
MethodParameters:
Name Flags
nonBlocking
private void runTask(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Runnable.run:()V
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 5 1 task Ljava/lang/Runnable;
3 4 2 x Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
task
private void invokeTask(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.eclipse.jetty.util.thread.Invocable.invokeNonBlocking:(Ljava/lang/Runnable;)V
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 5 1 task Ljava/lang/Runnable;
3 4 2 x Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
task
private java.lang.Runnable produceTask();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
invokeinterface org.eclipse.jetty.util.thread.ExecutionStrategy$Producer.produce:()Ljava/lang/Runnable;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 3: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
3 5 1 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
private void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._executor:Ljava/util/concurrent/Executor;
aload 1
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
1: goto 11
2: StackMap locals:
StackMap stack: java.util.concurrent.RejectedExecutionException
astore 2
start local 2 3: aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.isRunning:()Z
ifeq 5
4: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
goto 6
5: StackMap locals: java.util.concurrent.RejectedExecutionException
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
aload 1
instanceof java.io.Closeable
ifeq 11
7: aload 1
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
8: goto 11
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 10: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 3 end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 12 1 task Ljava/lang/Runnable;
3 11 2 e Ljava/util/concurrent/RejectedExecutionException;
10 11 3 e2 Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.util.concurrent.RejectedExecutionException
7 8 9 Class java.lang.Throwable
MethodParameters:
Name Flags
task
public long getPCTasksConsumed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pcMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "number of tasks consumed with PC mode", readonly = true)
public long getPICTasksExecuted();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._picMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "number of tasks executed with PIC mode", readonly = true)
public long getPECTasksExecuted();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pecMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "number of tasks executed with PEC mode", readonly = true)
public long getEPCTasksConsumed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._epcMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "number of tasks consumed with EPC mode", readonly = true)
public boolean isIdle();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
if_acmpne 2
iconst_1
goto 3
StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
Exception table:
from to target type
1 4 5 any
5 6 5 any
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "whether this execution strategy is idle", readonly = true)
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pcMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.reset:()V
1: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._epcMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.reset:()V
2: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pecMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.reset:()V
3: aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._picMode:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.reset:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedOperation(value = "resets the task counts", impact = "ACTION")
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.toStringLocked:()Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: org.eclipse.jetty.util.thread.strategy.EatWhatYouKill org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.lang.String toStringLocked();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.getString:(Ljava/lang/StringBuilder;)V
2: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.getState:(Ljava/lang/StringBuilder;)V
3: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
1 4 1 builder Ljava/lang/StringBuilder;
private void getString(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 1
bipush 64
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
5: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 7 1 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
builder
private void getState(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._state:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
1: aload 1
ldc "/p="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._pending:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
3: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.EatWhatYouKill._tryExecutor:Lorg/eclipse/jetty/util/thread/TryExecutor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc "[pc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.getPCTasksConsumed:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc ",pic="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.getPICTasksExecuted:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc ",pec="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.getPECTasksExecuted:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
11: aload 1
ldc ",epc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.getEPCTasksConsumed:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
13: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
ldc "@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
getstatic java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME:Ljava/time/format/DateTimeFormatter;
invokestatic java.time.ZonedDateTime.now:()Ljava/time/ZonedDateTime;
invokevirtual java.time.format.DateTimeFormatter.format:(Ljava/time/temporal/TemporalAccessor;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill;
0 17 1 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
builder
static int[] $SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.values:()[Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.IDLE:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.PRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.REPRODUCING:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$State;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$org$eclipse$jetty$util$thread$Invocable$InvocationType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$Invocable$InvocationType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.util.thread.Invocable$InvocationType.values:()[Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.util.thread.Invocable$InvocationType.BLOCKING:Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
invokevirtual org.eclipse.jetty.util.thread.Invocable$InvocationType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.util.thread.Invocable$InvocationType.EITHER:Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
invokevirtual org.eclipse.jetty.util.thread.Invocable$InvocationType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.util.thread.Invocable$InvocationType.NON_BLOCKING:Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
invokevirtual org.eclipse.jetty.util.thread.Invocable$InvocationType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$Invocable$InvocationType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$Mode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$Mode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.values:()[Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.EXECUTE_PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_EXECUTE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.PRODUCE_INVOKE_CONSUME:Lorg/eclipse/jetty/util/thread/strategy/EatWhatYouKill$Mode;
invokevirtual org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.$SWITCH_TABLE$org$eclipse$jetty$util$thread$strategy$EatWhatYouKill$Mode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "EatWhatYouKill.java"
NestMembers:
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State
InnerClasses:
public abstract Producer = org.eclipse.jetty.util.thread.ExecutionStrategy$Producer of org.eclipse.jetty.util.thread.ExecutionStrategy
public final InvocationType = org.eclipse.jetty.util.thread.Invocable$InvocationType of org.eclipse.jetty.util.thread.Invocable
private final Mode = org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$Mode of org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
private final State = org.eclipse.jetty.util.thread.strategy.EatWhatYouKill$State of org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject(value = "eat what you kill execution strategy")