class org.eclipse.jetty.io.ManagedSelector$SelectorProducer implements org.eclipse.jetty.util.thread.ExecutionStrategy$Producer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.io.ManagedSelector$SelectorProducer
super_class: java.lang.Object
{
private java.util.Set<java.nio.channels.SelectionKey> _keys;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
private java.util.Iterator<java.nio.channels.SelectionKey> _cursor;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<Ljava/nio/channels/SelectionKey;>;
final org.eclipse.jetty.io.ManagedSelector this$0;
descriptor: Lorg/eclipse/jetty/io/ManagedSelector;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.eclipse.jetty.io.ManagedSelector);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
2: aload 0
invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
putfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._cursor:Ljava/util/Iterator;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/io/ManagedSelector$SelectorProducer;
MethodParameters:
Name Flags
this$0 final
public java.lang.Runnable produce();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected:()Ljava/lang/Runnable;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.lang.Runnable
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processUpdates:()V
4: aload 0
invokevirtual org.eclipse.jetty.io.ManagedSelector$SelectorProducer.updateKeys:()V
5: aload 0
invokevirtual org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select:()Z
ifne 0
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/io/ManagedSelector$SelectorProducer;
1 7 1 task Ljava/lang/Runnable;
private void processUpdates();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
dup
astore 1
monitorenter
1: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updates:Ljava/util/Deque;
astore 2
start local 2 2: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updateable:Ljava/util/Deque;
putfield org.eclipse.jetty.io.ManagedSelector._updates:Ljava/util/Deque;
3: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 2
putfield org.eclipse.jetty.io.ManagedSelector._updateable:Ljava/util/Deque;
end local 2 4: aload 1
monitorexit
5: goto 8
StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer org.eclipse.jetty.io.ManagedSelector
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 10
9: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "updateable {}"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updateable:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
i2l
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;J)V
10: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updateable:Ljava/util/Deque;
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 2
goto 20
StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer top java.util.Iterator
StackMap stack:
11: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.io.ManagedSelector$SelectorUpdate
astore 1
start local 1 12: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
ifnonnull 14
13: goto 21
14: StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer org.eclipse.jetty.io.ManagedSelector$SelectorUpdate java.util.Iterator
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 16
15: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "update {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
invokeinterface org.eclipse.jetty.io.ManagedSelector$SelectorUpdate.update:(Ljava/nio/channels/Selector;)V
17: goto 20
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 19: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 3 end local 1 20: StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
21: StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updateable:Ljava/util/Deque;
invokeinterface java.util.Deque.clear:()V
22: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
dup
astore 3
monitorenter
23: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updates:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
istore 2
start local 2 24: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
iload 2
ifne 25
iconst_1
goto 26
StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer top int org.eclipse.jetty.io.ManagedSelector
StackMap stack: org.eclipse.jetty.io.ManagedSelector
25: iconst_0
StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer top int org.eclipse.jetty.io.ManagedSelector
StackMap stack: org.eclipse.jetty.io.ManagedSelector int
26: putfield org.eclipse.jetty.io.ManagedSelector._selecting:Z
27: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selecting:Z
ifeq 28
aconst_null
goto 29
StackMap locals:
StackMap stack:
28: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
StackMap locals:
StackMap stack: java.nio.channels.Selector
29: astore 1
start local 1 30: aload 3
monitorexit
31: goto 34
end local 2 end local 1 StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer top top org.eclipse.jetty.io.ManagedSelector
StackMap stack: java.lang.Throwable
32: aload 3
monitorexit
33: athrow
start local 1 start local 2 34: StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer java.nio.channels.Selector int
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 36
35: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "updates {}"
iload 2
i2l
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;J)V
36: StackMap locals:
StackMap stack:
aload 1
ifnull 40
37: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 39
38: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "wakeup on updates {}"
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
39: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
pop
40: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/eclipse/jetty/io/ManagedSelector$SelectorProducer;
2 4 2 updates Ljava/util/Deque<Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;>;
12 20 1 update Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;
19 20 3 th Ljava/lang/Throwable;
30 32 1 selector Ljava/nio/channels/Selector;
34 41 1 selector Ljava/nio/channels/Selector;
24 32 2 updates I
34 41 2 updates I
Exception table:
from to target type
1 5 6 any
6 7 6 any
14 17 18 Class java.lang.Throwable
23 31 32 any
32 33 32 any
private boolean select();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
astore 1
start local 1 1: aload 1
ifnull 35
aload 1
invokevirtual java.nio.channels.Selector.isOpen:()Z
ifeq 35
2: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Selector {} waiting with {} keys"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 1
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
invokeinterface java.util.Set.size:()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
4: StackMap locals: java.nio.channels.Selector
StackMap stack:
aload 1
invokevirtual java.nio.channels.Selector.select:()I
istore 2
start local 2 5: iload 2
ifne 12
6: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Selector {} woken with none selected"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals: int
StackMap stack:
invokestatic java.lang.Thread.interrupted:()Z
ifeq 10
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
invokevirtual org.eclipse.jetty.io.ManagedSelector.isRunning:()Z
ifne 10
9: new java.nio.channels.ClosedSelectorException
dup
invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.FORCE_SELECT_NOW:Z
ifeq 12
11: aload 1
invokevirtual java.nio.channels.Selector.selectNow:()I
istore 2
12: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 14
13: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Selector {} woken up from select, {}/{}/{} selected"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 1
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
invokeinterface java.util.Set.size:()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
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
dup
astore 4
monitorenter
15: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
iconst_0
putfield org.eclipse.jetty.io.ManagedSelector._selecting:Z
16: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._updates:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
istore 3
start local 3 17: aload 4
monitorexit
18: goto 21
end local 3 StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer java.nio.channels.Selector int top org.eclipse.jetty.io.ManagedSelector
StackMap stack: java.lang.Throwable
19: aload 4
monitorexit
20: athrow
start local 3 21: StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer java.nio.channels.Selector int int
StackMap stack:
aload 0
aload 1
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
putfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
22: aload 0
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 23
invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
goto 24
StackMap locals:
StackMap stack: org.eclipse.jetty.io.ManagedSelector$SelectorProducer
23: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer java.nio.channels.Selector int int
StackMap stack: org.eclipse.jetty.io.ManagedSelector$SelectorProducer java.util.Iterator
24: putfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._cursor:Ljava/util/Iterator;
25: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 27
26: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Selector {} processing {} keys, {} updates"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 3
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
27: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 28: StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer
StackMap stack: java.lang.Throwable
astore 1
start local 1 29: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aconst_null
putfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
30: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
invokevirtual org.eclipse.jetty.io.ManagedSelector.isRunning:()Z
ifeq 32
31: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
goto 34
32: StackMap locals: java.lang.Throwable
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
33: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
34: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
end local 1 35: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/eclipse/jetty/io/ManagedSelector$SelectorProducer;
1 28 1 selector Ljava/nio/channels/Selector;
5 28 2 selected I
17 19 3 updates I
21 28 3 updates I
29 35 1 x Ljava/lang/Throwable;
Exception table:
from to target type
15 18 19 any
19 20 19 any
0 27 28 Class java.lang.Throwable
private java.lang.Runnable processSelected();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=1
start local 0 0: goto 29
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._cursor:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.SelectionKey
astore 1
start local 1 2: aload 1
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 24
3: aload 1
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
astore 2
start local 2 4: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 6
5: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "selected {} {} {} "
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokestatic org.eclipse.jetty.io.ManagedSelector.safeReadyOps:(Ljava/nio/channels/SelectionKey;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: java.nio.channels.SelectionKey java.lang.Object
StackMap stack:
aload 2
instanceof org.eclipse.jetty.io.ManagedSelector$Selectable
ifeq 11
7: aload 2
checkcast org.eclipse.jetty.io.ManagedSelector$Selectable
invokeinterface org.eclipse.jetty.io.ManagedSelector$Selectable.onSelected:()Ljava/lang/Runnable;
astore 3
start local 3 8: aload 3
ifnull 29
9: aload 3
10: areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.channels.SelectionKey.isConnectable:()Z
ifeq 14
12: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 1
aload 2
checkcast org.eclipse.jetty.io.ManagedSelector$Connect
invokevirtual org.eclipse.jetty.io.ManagedSelector.processConnect:(Ljava/nio/channels/SelectionKey;Lorg/eclipse/jetty/io/ManagedSelector$Connect;)V
13: goto 29
14: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "key="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", att="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", iOps="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokestatic org.eclipse.jetty.io.ManagedSelector.safeInterestOps:(Ljava/nio/channels/SelectionKey;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", rOps="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokestatic org.eclipse.jetty.io.ManagedSelector.safeReadyOps:(Ljava/nio/channels/SelectionKey;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack: java.nio.channels.CancelledKeyException
pop
16: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Ignoring cancelled key for channel {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
17: aload 2
instanceof org.eclipse.jetty.io.EndPoint
ifeq 29
18: aload 2
checkcast org.eclipse.jetty.io.EndPoint
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
goto 29
19: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 20: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "Could not process key for channel "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
21: aload 2
instanceof org.eclipse.jetty.io.EndPoint
ifeq 29
22: aload 2
checkcast org.eclipse.jetty.io.EndPoint
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
end local 3 end local 2 23: goto 29
24: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 26
25: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Selector loop ignoring invalid key for channel {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
astore 2
start local 2 27: aload 2
instanceof org.eclipse.jetty.io.EndPoint
ifeq 29
28: aload 2
checkcast org.eclipse.jetty.io.EndPoint
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
end local 2 end local 1 29: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._cursor:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
30: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/eclipse/jetty/io/ManagedSelector$SelectorProducer;
2 29 1 key Ljava/nio/channels/SelectionKey;
4 23 2 attachment Ljava/lang/Object;
8 11 3 task Ljava/lang/Runnable;
20 23 3 x Ljava/lang/Throwable;
27 29 2 attachment Ljava/lang/Object;
Exception table:
from to target type
6 10 15 Class java.nio.channels.CancelledKeyException
11 15 15 Class java.nio.channels.CancelledKeyException
6 10 19 Class java.lang.Throwable
11 15 19 Class java.lang.Throwable
private void updateKeys();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.eclipse.jetty.io.ManagedSelector$SelectorProducer top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.SelectionKey
astore 1
start local 1 2: aload 1
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
astore 3
start local 3 3: aload 3
instanceof org.eclipse.jetty.io.ManagedSelector$Selectable
ifeq 5
4: aload 3
checkcast org.eclipse.jetty.io.ManagedSelector$Selectable
invokeinterface org.eclipse.jetty.io.ManagedSelector$Selectable.updateKey:()V
end local 3 end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$SelectorProducer._keys:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/io/ManagedSelector$SelectorProducer;
2 5 1 key Ljava/nio/channels/SelectionKey;
3 5 3 attachment Ljava/lang/Object;
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
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
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/io/ManagedSelector$SelectorProducer;
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
Connect = org.eclipse.jetty.io.ManagedSelector$Connect of org.eclipse.jetty.io.ManagedSelector
public abstract Selectable = org.eclipse.jetty.io.ManagedSelector$Selectable of org.eclipse.jetty.io.ManagedSelector
private SelectorProducer = org.eclipse.jetty.io.ManagedSelector$SelectorProducer of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector
public abstract Producer = org.eclipse.jetty.util.thread.ExecutionStrategy$Producer of org.eclipse.jetty.util.thread.ExecutionStrategy