public class org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume 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.ExecuteProduceConsume
super_class: java.lang.Object
{
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 org.eclipse.jetty.util.thread.Locker _locker;
descriptor: Lorg/eclipse/jetty/util/thread/Locker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Runnable _runProduce;
descriptor: Ljava/lang/Runnable;
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 boolean _idle;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _execute;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _producing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _pending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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/ExecuteProduceConsume;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: 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.strategy.ExecuteProduceConsume._locker:Lorg/eclipse/jetty/util/thread/Locker;
2: aload 0
new org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume$RunProduce
dup
aload 0
invokespecial org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume$RunProduce.<init>:(Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;)V
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._runProduce:Ljava/lang/Runnable;
3: aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
4: aload 0
aload 1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
5: aload 0
aload 2
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._executor:Ljava/util/concurrent/Executor;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
0 7 1 producer Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
0 7 2 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
producer
executor
public void produce();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.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.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} execute"
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:
iconst_0
istore 1
start local 1 3: aconst_null
astore 2
aconst_null
astore 3
4: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._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 5: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
ifeq 11
6: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
ifeq 8
7: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
8: StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack:
aload 0
iconst_1
dup_x1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
istore 1
9: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._execute:Z
12: StackMap locals:
StackMap stack:
aload 4
ifnull 18
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
aload 4
ifnull 14
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 4 StackMap locals:
StackMap stack:
14: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 3
aload 2
ifnonnull 16
aload 3
astore 2
goto 17
StackMap locals:
StackMap stack:
16: aload 2
aload 3
if_acmpeq 17
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 2
athrow
18: StackMap locals:
StackMap stack:
iload 1
ifeq 20
19: aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume:()V
20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
3 21 1 produce Z
5 14 4 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
5 12 13 any
4 15 15 any
public void dispatch();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.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.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} spawning"
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:
iconst_0
istore 1
start local 1 3: aconst_null
astore 2
aconst_null
astore 3
4: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._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 5: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
ifeq 7
6: iconst_1
istore 1
goto 8
7: StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._execute:Z
8: StackMap locals:
StackMap stack:
aload 4
ifnull 14
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
iload 1
ifeq 16
15: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._executor:Ljava/util/concurrent/Executor;
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._runProduce:Ljava/lang/Runnable;
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
3 17 1 dispatch Z
5 10 4 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
5 8 9 any
4 11 11 any
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.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.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} run"
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:
iconst_0
istore 1
start local 1 3: aconst_null
astore 2
aconst_null
astore 3
4: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._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 5: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._pending:Z
6: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
ifne 8
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
ifne 8
7: aload 0
iconst_1
dup_x1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
istore 1
8: StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack:
aload 4
ifnull 14
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
iload 1
ifeq 16
15: aload 0
invokevirtual org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume:()V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
3 17 1 produce Z
5 10 4 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
5 8 9 any
4 11 11 any
private void produceConsume();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.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.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} produce enter"
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:
getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} producing"
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
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
invokeinterface org.eclipse.jetty.util.thread.ExecutionStrategy$Producer.produce:()Ljava/lang/Runnable;
astore 1
start local 1 5: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 7
6: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} produced {}"
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
7: StackMap locals: java.lang.Runnable
StackMap stack:
iconst_0
istore 2
start local 2 8: aconst_null
astore 3
aconst_null
astore 4
9: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._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 10: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
11: aload 1
ifnonnull 21
12: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._execute:Z
ifeq 18
13: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
14: aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
15: aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._execute:Z
16: aload 5
ifnull 2
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
17: goto 2
18: StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.Runnable int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
19: aload 5
ifnull 54
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
20: goto 54
21: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._pending:Z
ifne 25
22: aload 0
aload 1
invokestatic org.eclipse.jetty.util.thread.Invocable.getInvocationType:(Ljava/lang/Object;)Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
getstatic org.eclipse.jetty.util.thread.Invocable$InvocationType.NON_BLOCKING:Lorg/eclipse/jetty/util/thread/Invocable$InvocationType;
if_acmpeq 23
iconst_1
goto 24
StackMap locals:
StackMap stack: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
23: iconst_0
StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.Runnable int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume int
24: dup_x1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._pending:Z
istore 2
25: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._execute:Z
26: aload 5
ifnull 32
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 3
aload 5
ifnull 28
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 5 StackMap locals:
StackMap stack:
28: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 4
aload 3
ifnonnull 30
aload 4
astore 3
goto 31
StackMap locals:
StackMap stack:
30: aload 3
aload 4
if_acmpeq 31
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 3
athrow
32: StackMap locals:
StackMap stack:
iload 2
ifeq 36
33: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 35
34: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} dispatch"
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
35: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._executor:Ljava/util/concurrent/Executor;
aload 0
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
36: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 38
37: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} run {}"
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
38: StackMap locals:
StackMap stack:
aload 1
ifnull 40
39: aload 1
invokeinterface java.lang.Runnable.run:()V
40: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 42
41: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} ran {}"
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
42: StackMap locals:
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
43: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._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 44: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
ifne 45
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
ifeq 47
45: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack:
aload 5
ifnull 54
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
46: goto 54
47: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
48: aload 5
ifnull 2
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 2
StackMap locals:
StackMap stack: java.lang.Throwable
49: astore 3
aload 5
ifnull 50
aload 5
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 5 StackMap locals:
StackMap stack:
50: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
51: astore 4
aload 3
ifnonnull 52
aload 4
astore 3
goto 53
StackMap locals:
StackMap stack:
52: aload 3
aload 4
if_acmpeq 53
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
53: aload 3
athrow
end local 2 end local 1 54: StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume
StackMap stack:
getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 56
55: getstatic org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} produce exit"
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
56: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
5 54 1 task Ljava/lang/Runnable;
8 54 2 dispatch Z
10 28 5 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
44 50 5 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
10 16 27 any
18 19 27 any
21 26 27 any
9 17 29 any
18 20 29 any
21 29 29 any
44 45 49 any
47 48 49 any
43 46 51 any
47 51 51 any
public java.lang.Boolean isIdle();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._locker:Lorg/eclipse/jetty/util/thread/Locker;
invokevirtual org.eclipse.jetty.util.thread.Locker.lock:()Lorg/eclipse/jetty/util/thread/Locker$Lock;
astore 3
start local 3 2: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
3: aload 3
ifnull 4
aload 3
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
4: StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.Boolean
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
2 7 3 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, 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 1
ldc "EPC "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aconst_null
astore 2
aconst_null
astore 3
3: aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._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 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._idle:Z
ifeq 5
ldc "Idle/"
goto 6
StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.StringBuilder java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.StringBuilder java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producing:Z
ifeq 8
ldc "Prod/"
goto 9
StackMap locals:
StackMap stack: java.lang.StringBuilder
8: ldc ""
StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.StringBuilder java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.StringBuilder java.lang.String
9: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._pending:Z
ifeq 11
ldc "Pend/"
goto 12
StackMap locals:
StackMap stack: java.lang.StringBuilder
11: ldc ""
StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.StringBuilder java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._execute:Z
ifeq 14
ldc "Exec/"
goto 15
StackMap locals:
StackMap stack: java.lang.StringBuilder
14: ldc ""
StackMap locals: org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume java.lang.StringBuilder java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.Locker$Lock
StackMap stack: java.lang.StringBuilder java.lang.String
15: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 4
ifnull 22
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 2
aload 4
ifnull 18
aload 4
invokevirtual org.eclipse.jetty.util.thread.Locker$Lock.close:()V
end local 4 StackMap locals:
StackMap stack:
18: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 3
aload 2
ifnonnull 20
aload 3
astore 2
goto 21
StackMap locals:
StackMap stack:
20: aload 2
aload 3
if_acmpeq 21
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 2
athrow
22: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume._producer:Lorg/eclipse/jetty/util/thread/ExecutionStrategy$Producer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
23: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/util/thread/strategy/ExecuteProduceConsume;
1 24 1 builder Ljava/lang/StringBuilder;
4 18 4 locked Lorg/eclipse/jetty/util/thread/Locker$Lock;
Exception table:
from to target type
4 16 17 any
3 19 19 any
}
SourceFile: "ExecuteProduceConsume.java"
NestMembers:
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume$RunProduce
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
public Lock = org.eclipse.jetty.util.thread.Locker$Lock of org.eclipse.jetty.util.thread.Locker
private RunProduce = org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume$RunProduce of org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume