public class org.eclipse.jetty.util.thread.SerializedExecutor implements java.util.concurrent.Executor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.thread.SerializedExecutor
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicReference<org.eclipse.jetty.util.thread.SerializedExecutor$Link> _tail;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield org.eclipse.jetty.util.thread.SerializedExecutor._tail:Ljava/util/concurrent/atomic/AtomicReference;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/thread/SerializedExecutor;
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new org.eclipse.jetty.util.thread.SerializedExecutor$Link
dup
aload 0
aload 1
invokespecial org.eclipse.jetty.util.thread.SerializedExecutor$Link.<init>:(Lorg/eclipse/jetty/util/thread/SerializedExecutor;Ljava/lang/Runnable;)V
astore 2
start local 2 1: aload 0
getfield org.eclipse.jetty.util.thread.SerializedExecutor._tail:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.thread.SerializedExecutor.run:(Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;)V
goto 5
4: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor$Link org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack:
aload 3
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/thread/SerializedExecutor;
0 6 1 task Ljava/lang/Runnable;
1 6 2 link Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;
2 6 3 lastButOne Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;
MethodParameters:
Name Flags
task
protected void onError(java.lang.Runnable, java.lang.Throwable);
descriptor: (Ljava/lang/Runnable;Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.eclipse.jetty.util.thread.SerializedExecutor$ErrorHandlingTask
ifeq 2
1: aload 1
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$ErrorHandlingTask
aload 2
invokeinterface org.eclipse.jetty.util.thread.SerializedExecutor$ErrorHandlingTask.accept:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
ldc "Error"
aload 2
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/thread/SerializedExecutor;
0 4 1 task Ljava/lang/Runnable;
0 4 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
task
t
private void run(org.eclipse.jetty.util.thread.SerializedExecutor$Link);
descriptor: (Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: goto 32
1: StackMap locals:
StackMap stack:
aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._task:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
2: goto 24
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 4: aload 0
aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._task:Ljava/lang/Runnable;
aload 2
invokevirtual org.eclipse.jetty.util.thread.SerializedExecutor.onError:(Ljava/lang/Runnable;Ljava/lang/Throwable;)V
end local 2 5: aload 0
getfield org.eclipse.jetty.util.thread.SerializedExecutor._tail:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
6: aconst_null
astore 1
goto 32
7: StackMap locals:
StackMap stack:
aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 4
start local 4 8: goto 11
9: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor org.eclipse.jetty.util.thread.SerializedExecutor$Link top top org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack:
invokestatic java.lang.Thread.yield:()V
10: aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 4
11: StackMap locals:
StackMap stack:
aload 4
ifnull 9
12: aload 4
astore 1
end local 4 13: goto 32
14: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack: java.lang.Throwable
astore 3
15: aload 0
getfield org.eclipse.jetty.util.thread.SerializedExecutor._tail:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 17
16: aconst_null
astore 1
goto 23
17: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor org.eclipse.jetty.util.thread.SerializedExecutor$Link top java.lang.Throwable
StackMap stack:
aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 4
start local 4 18: goto 21
19: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack:
invokestatic java.lang.Thread.yield:()V
20: aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 4
21: StackMap locals:
StackMap stack:
aload 4
ifnull 19
22: aload 4
astore 1
end local 4 23: StackMap locals:
StackMap stack:
aload 3
athrow
24: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.thread.SerializedExecutor._tail:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 26
25: aconst_null
astore 1
goto 32
26: StackMap locals:
StackMap stack:
aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 4
start local 4 27: goto 30
28: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor org.eclipse.jetty.util.thread.SerializedExecutor$Link top top org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack:
invokestatic java.lang.Thread.yield:()V
29: aload 1
getfield org.eclipse.jetty.util.thread.SerializedExecutor$Link._next:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.SerializedExecutor$Link
astore 4
30: StackMap locals:
StackMap stack:
aload 4
ifnull 28
31: aload 4
astore 1
end local 4 32: StackMap locals: org.eclipse.jetty.util.thread.SerializedExecutor org.eclipse.jetty.util.thread.SerializedExecutor$Link
StackMap stack:
aload 1
ifnonnull 1
33: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/eclipse/jetty/util/thread/SerializedExecutor;
0 34 1 link Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;
4 5 2 t Ljava/lang/Throwable;
8 13 4 next Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;
18 23 4 next Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;
27 32 4 next Lorg/eclipse/jetty/util/thread/SerializedExecutor$Link;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
1 5 14 any
MethodParameters:
Name Flags
link
}
SourceFile: "SerializedExecutor.java"
NestMembers:
org.eclipse.jetty.util.thread.SerializedExecutor$ErrorHandlingTask org.eclipse.jetty.util.thread.SerializedExecutor$Link
InnerClasses:
public abstract ErrorHandlingTask = org.eclipse.jetty.util.thread.SerializedExecutor$ErrorHandlingTask of org.eclipse.jetty.util.thread.SerializedExecutor
private Link = org.eclipse.jetty.util.thread.SerializedExecutor$Link of org.eclipse.jetty.util.thread.SerializedExecutor