public abstract class org.eclipse.jetty.io.ChannelEndPoint extends org.eclipse.jetty.io.AbstractEndPoint implements org.eclipse.jetty.io.ManagedSelector$Selectable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.io.ChannelEndPoint
super_class: org.eclipse.jetty.io.AbstractEndPoint
{
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.nio.channels.ByteChannel _channel;
descriptor: Ljava/nio/channels/ByteChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.GatheringByteChannel _gather;
descriptor: Ljava/nio/channels/GatheringByteChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final org.eclipse.jetty.io.ManagedSelector _selector;
descriptor: Lorg/eclipse/jetty/io/ManagedSelector;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.nio.channels.SelectionKey _key;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private boolean _updatePending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected int _currentInterestOps;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int _desiredInterestOps;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private final org.eclipse.jetty.io.ManagedSelector$SelectorUpdate _updateKeyAction;
descriptor: Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Runnable _runFillable;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Runnable _runCompleteWrite;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Runnable _runCompleteWriteFillable;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/io/ChannelEndPoint;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.channels.ByteChannel, org.eclipse.jetty.io.ManagedSelector, java.nio.channels.SelectionKey, org.eclipse.jetty.util.thread.Scheduler);
descriptor: (Ljava/nio/channels/ByteChannel;Lorg/eclipse/jetty/io/ManagedSelector;Ljava/nio/channels/SelectionKey;Lorg/eclipse/jetty/util/thread/Scheduler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
invokespecial org.eclipse.jetty.io.AbstractEndPoint.<init>:(Lorg/eclipse/jetty/util/thread/Scheduler;)V
1: aload 0
new org.eclipse.jetty.io.ChannelEndPoint$1
dup
aload 0
invokespecial org.eclipse.jetty.io.ChannelEndPoint$1.<init>:(Lorg/eclipse/jetty/io/ChannelEndPoint;)V
putfield org.eclipse.jetty.io.ChannelEndPoint._updateKeyAction:Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;
2: aload 0
new org.eclipse.jetty.io.ChannelEndPoint$2
dup
aload 0
aload 0
ldc "runFillable"
invokespecial org.eclipse.jetty.io.ChannelEndPoint$2.<init>:(Lorg/eclipse/jetty/io/ChannelEndPoint;Lorg/eclipse/jetty/io/ChannelEndPoint;Ljava/lang/String;)V
putfield org.eclipse.jetty.io.ChannelEndPoint._runFillable:Ljava/lang/Runnable;
3: aload 0
new org.eclipse.jetty.io.ChannelEndPoint$3
dup
aload 0
aload 0
ldc "runCompleteWrite"
invokespecial org.eclipse.jetty.io.ChannelEndPoint$3.<init>:(Lorg/eclipse/jetty/io/ChannelEndPoint;Lorg/eclipse/jetty/io/ChannelEndPoint;Ljava/lang/String;)V
putfield org.eclipse.jetty.io.ChannelEndPoint._runCompleteWrite:Ljava/lang/Runnable;
4: aload 0
new org.eclipse.jetty.io.ChannelEndPoint$4
dup
aload 0
aload 0
ldc "runCompleteWriteFillable"
invokespecial org.eclipse.jetty.io.ChannelEndPoint$4.<init>:(Lorg/eclipse/jetty/io/ChannelEndPoint;Lorg/eclipse/jetty/io/ChannelEndPoint;Ljava/lang/String;)V
putfield org.eclipse.jetty.io.ChannelEndPoint._runCompleteWriteFillable:Ljava/lang/Runnable;
5: aload 0
aload 1
putfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
6: aload 0
aload 2
putfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
7: aload 0
aload 3
putfield org.eclipse.jetty.io.ChannelEndPoint._key:Ljava/nio/channels/SelectionKey;
8: aload 0
aload 1
instanceof java.nio.channels.GatheringByteChannel
ifeq 9
aload 1
checkcast java.nio.channels.GatheringByteChannel
goto 10
StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.channels.ByteChannel org.eclipse.jetty.io.ManagedSelector java.nio.channels.SelectionKey org.eclipse.jetty.util.thread.Scheduler
StackMap stack: org.eclipse.jetty.io.ChannelEndPoint
9: aconst_null
StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.channels.ByteChannel org.eclipse.jetty.io.ManagedSelector java.nio.channels.SelectionKey org.eclipse.jetty.util.thread.Scheduler
StackMap stack: org.eclipse.jetty.io.ChannelEndPoint java.nio.channels.GatheringByteChannel
10: putfield org.eclipse.jetty.io.ChannelEndPoint._gather:Ljava/nio/channels/GatheringByteChannel;
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
0 12 1 channel Ljava/nio/channels/ByteChannel;
0 12 2 selector Lorg/eclipse/jetty/io/ManagedSelector;
0 12 3 key Ljava/nio/channels/SelectionKey;
0 12 4 scheduler Lorg/eclipse/jetty/util/thread/Scheduler;
MethodParameters:
Name Flags
channel
selector
key
scheduler
public boolean isOptimizedForDirectBuffers();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
public boolean isOpen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
invokeinterface java.nio.channels.ByteChannel.isOpen:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
public void doClose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "doClose {}"
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:
aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
invokeinterface java.nio.channels.ByteChannel.close:()V
3: goto 10
4: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 5: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
end local 1 6: aload 0
invokespecial org.eclipse.jetty.io.AbstractEndPoint.doClose:()V
goto 11
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
8: aload 0
invokespecial org.eclipse.jetty.io.AbstractEndPoint.doClose:()V
9: aload 2
athrow
10: StackMap locals:
StackMap stack:
aload 0
invokespecial org.eclipse.jetty.io.AbstractEndPoint.doClose:()V
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
5 6 1 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
2 6 7 any
public void onClose(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.eclipse.jetty.io.AbstractEndPoint.onClose:(Ljava/lang/Throwable;)V
1: goto 6
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
3: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
ifnull 5
4: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
aload 1
invokevirtual org.eclipse.jetty.io.ManagedSelector.destroyEndPoint:(Lorg/eclipse/jetty/io/EndPoint;Ljava/lang/Throwable;)V
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
ifnull 8
7: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
aload 1
invokevirtual org.eclipse.jetty.io.ManagedSelector.destroyEndPoint:(Lorg/eclipse/jetty/io/EndPoint;Ljava/lang/Throwable;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
0 9 1 cause Ljava/lang/Throwable;
Exception table:
from to target type
0 2 2 any
MethodParameters:
Name Flags
cause
public int fill(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.isInputShutdown:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 3: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
aload 1
invokeinterface java.nio.channels.ByteChannel.read:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 4: iload 3
ifle 6
5: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.notIdle:()V
goto 17
6: StackMap locals: int int
StackMap stack:
iload 3
iconst_m1
if_icmpne 17
7: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.shutdownInput:()V
8: goto 17
end local 3 9: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.ByteBuffer int
StackMap stack: java.io.IOException
astore 4
start local 4 10: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
11: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.shutdownInput:()V
12: iconst_m1
istore 3
end local 4 start local 3 13: aload 1
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
goto 18
end local 3 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
15: aload 1
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
16: aload 5
athrow
start local 3 17: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
18: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 20
19: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "filled {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.toDetailString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
20: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
0 21 1 buffer Ljava/nio/ByteBuffer;
3 21 2 pos I
4 9 3 filled I
13 14 3 filled I
17 21 3 filled I
10 13 4 e Ljava/io/IOException;
Exception table:
from to target type
3 8 9 Class java.io.IOException
3 13 14 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
public boolean flush(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 1
arraylength
iconst_1
if_icmpne 3
2: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
aload 1
iconst_0
aaload
invokeinterface java.nio.channels.ByteChannel.write:(Ljava/nio/ByteBuffer;)I
i2l
lstore 2
goto 15
3: StackMap locals: long
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._gather:Ljava/nio/channels/GatheringByteChannel;
ifnull 5
aload 1
arraylength
iconst_1
if_icmple 5
4: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._gather:Ljava/nio/channels/GatheringByteChannel;
aload 1
iconst_0
aload 1
arraylength
invokeinterface java.nio.channels.GatheringByteChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 2
goto 15
5: StackMap locals:
StackMap stack:
aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 14
StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.ByteBuffer[] long top int int java.nio.ByteBuffer[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 13
8: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
aload 4
invokeinterface java.nio.channels.ByteChannel.write:(Ljava/nio/ByteBuffer;)I
istore 8
start local 8 9: iload 8
ifle 11
10: lload 2
iload 8
i2l
ladd
lstore 2
11: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.ByteBuffer[] long java.nio.ByteBuffer int int java.nio.ByteBuffer[] int
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 13
12: goto 15
end local 8 end local 4 13: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.ByteBuffer[] long top int int java.nio.ByteBuffer[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 6
if_icmplt 6
15: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.ByteBuffer[] long
StackMap stack:
getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 20
16: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "flushed {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
17: goto 20
18: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 19: new org.eclipse.jetty.io.EofException
dup
aload 4
invokespecial org.eclipse.jetty.io.EofException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 20: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifle 22
21: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.notIdle:()V
22: StackMap locals:
StackMap stack:
aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 27
StackMap locals: org.eclipse.jetty.io.ChannelEndPoint java.nio.ByteBuffer[] long top int int java.nio.ByteBuffer[]
StackMap stack:
23: aload 7
iload 5
aaload
astore 4
start local 4 24: aload 4
invokestatic org.eclipse.jetty.util.BufferUtil.isEmpty:(Ljava/nio/ByteBuffer;)Z
ifne 26
25: iconst_0
ireturn
end local 4 26: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
27: iload 5
iload 6
if_icmplt 23
28: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
0 29 1 buffers [Ljava/nio/ByteBuffer;
1 29 2 flushed J
7 13 4 b Ljava/nio/ByteBuffer;
9 13 8 l I
19 20 4 e Ljava/io/IOException;
24 26 4 b Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 17 18 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffers
public java.nio.channels.ByteChannel getChannel();
descriptor: ()Ljava/nio/channels/ByteChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
public java.lang.Object getTransport();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._channel:Ljava/nio/channels/ByteChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
protected void needsFillInterest();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.changeInterests:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
protected void onIncompleteFlush();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.changeInterests:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
public java.lang.Runnable onSelected();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._key:Ljava/nio/channels/SelectionKey;
invokevirtual java.nio.channels.SelectionKey.readyOps:()I
istore 1
start local 1 1: aload 0
dup
astore 4
monitorenter
2: aload 0
iconst_1
putfield org.eclipse.jetty.io.ChannelEndPoint._updatePending:Z
3: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._desiredInterestOps:I
istore 2
start local 2 4: iload 2
iload 1
iconst_m1
ixor
iand
istore 3
start local 3 5: aload 0
iload 3
putfield org.eclipse.jetty.io.ChannelEndPoint._desiredInterestOps:I
6: aload 4
monitorexit
7: goto 10
end local 3 end local 2 StackMap locals: org.eclipse.jetty.io.ChannelEndPoint int top top org.eclipse.jetty.io.ChannelEndPoint
StackMap stack: java.lang.Throwable
8: aload 4
monitorexit
9: athrow
start local 2 start local 3 10: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint int int int
StackMap stack:
iload 1
iconst_1
iand
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 4
start local 4 13: iload 1
iconst_4
iand
ifeq 14
iconst_1
goto 15
StackMap locals: int
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 5
start local 5 16: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 18
17: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "onSelected {}->{} r={} w={} for {}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 4
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_3
iload 5
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
18: StackMap locals: int
StackMap stack:
iload 4
ifeq 22
19: iload 5
ifeq 21
20: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._runCompleteWriteFillable:Ljava/lang/Runnable;
goto 25
21: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._runFillable:Ljava/lang/Runnable;
goto 25
22: StackMap locals:
StackMap stack:
iload 5
ifeq 24
23: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._runCompleteWrite:Ljava/lang/Runnable;
goto 25
24: StackMap locals:
StackMap stack:
aconst_null
25: StackMap locals:
StackMap stack: java.lang.Runnable
astore 6
start local 6 26: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 28
27: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "task {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
28: StackMap locals: java.lang.Runnable
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
1 29 1 readyOps I
4 8 2 oldInterestOps I
10 29 2 oldInterestOps I
5 8 3 newInterestOps I
10 29 3 newInterestOps I
13 29 4 fillable Z
16 29 5 flushable Z
26 29 6 task Ljava/lang/Runnable;
Exception table:
from to target type
2 7 8 any
8 9 8 any
public void updateKey();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
dup
astore 3
monitorenter
1: aload 0
iconst_0
putfield org.eclipse.jetty.io.ChannelEndPoint._updatePending:Z
2: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._currentInterestOps:I
istore 1
start local 1 3: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._desiredInterestOps:I
istore 2
start local 2 4: iload 1
iload 2
if_icmpeq 7
5: aload 0
iload 2
putfield org.eclipse.jetty.io.ChannelEndPoint._currentInterestOps:I
6: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._key:Ljava/nio/channels/SelectionKey;
iload 2
invokevirtual java.nio.channels.SelectionKey.interestOps:(I)Ljava/nio/channels/SelectionKey;
pop
7: StackMap locals: int int org.eclipse.jetty.io.ChannelEndPoint
StackMap stack:
aload 3
monitorexit
8: goto 11
end local 2 end local 1 StackMap locals: org.eclipse.jetty.io.ChannelEndPoint top top org.eclipse.jetty.io.ChannelEndPoint
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
start local 1 start local 2 11: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint int int
StackMap stack:
getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 20
12: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Key interests updated {} -> {} on {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 end local 1 13: goto 20
14: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint
StackMap stack: java.nio.channels.CancelledKeyException
pop
15: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Ignoring key update for concurrently closed channel {}"
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
16: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.close:()V
goto 20
17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 18: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "Ignoring key update for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
19: aload 0
invokevirtual org.eclipse.jetty.io.ChannelEndPoint.close:()V
end local 1 20: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
3 9 1 oldInterestOps I
11 13 1 oldInterestOps I
4 9 2 newInterestOps I
11 13 2 newInterestOps I
18 20 1 x Ljava/lang/Throwable;
Exception table:
from to target type
1 8 9 any
9 10 9 any
0 13 14 Class java.nio.channels.CancelledKeyException
0 13 17 Class java.lang.Throwable
private void changeInterests(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 5
monitorenter
1: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._updatePending:Z
istore 4
start local 4 2: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._desiredInterestOps:I
istore 2
start local 2 3: iload 2
iload 1
ior
istore 3
start local 3 4: iload 3
iload 2
if_icmpeq 6
5: aload 0
iload 3
putfield org.eclipse.jetty.io.ChannelEndPoint._desiredInterestOps:I
6: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint int int int int org.eclipse.jetty.io.ChannelEndPoint
StackMap stack:
aload 5
monitorexit
7: goto 10
end local 4 end local 3 end local 2 StackMap locals: org.eclipse.jetty.io.ChannelEndPoint int top top top org.eclipse.jetty.io.ChannelEndPoint
StackMap stack: java.lang.Throwable
8: aload 5
monitorexit
9: athrow
start local 2 start local 3 start local 4 10: StackMap locals: org.eclipse.jetty.io.ChannelEndPoint int int int int
StackMap stack:
getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 12
11: getstatic org.eclipse.jetty.io.ChannelEndPoint.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "changeInterests p={} {}->{} for {}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_1
iload 2
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
dup
iconst_3
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
iload 4
ifne 14
aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
ifnull 14
13: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._selector:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._updateKeyAction:Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;
invokevirtual org.eclipse.jetty.io.ManagedSelector.submit:(Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;)V
14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
0 15 1 operation I
3 8 2 oldInterestOps I
10 15 2 oldInterestOps I
4 8 3 newInterestOps I
10 15 3 newInterestOps I
2 8 4 pending Z
10 15 4 pending Z
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
operation
public java.lang.String toEndPointString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s{io=%d/%d,kio=%d,kro=%d}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokespecial org.eclipse.jetty.io.AbstractEndPoint.toEndPointString:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._currentInterestOps:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
3: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._desiredInterestOps:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
4: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._key:Ljava/nio/channels/SelectionKey;
invokestatic org.eclipse.jetty.io.ManagedSelector.safeInterestOps:(Ljava/nio/channels/SelectionKey;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
5: aload 0
getfield org.eclipse.jetty.io.ChannelEndPoint._key:Ljava/nio/channels/SelectionKey;
invokestatic org.eclipse.jetty.io.ManagedSelector.safeReadyOps:(Ljava/nio/channels/SelectionKey;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
6: 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 7 0 this Lorg/eclipse/jetty/io/ChannelEndPoint;
}
SourceFile: "ChannelEndPoint.java"
NestMembers:
org.eclipse.jetty.io.ChannelEndPoint$1 org.eclipse.jetty.io.ChannelEndPoint$2 org.eclipse.jetty.io.ChannelEndPoint$3 org.eclipse.jetty.io.ChannelEndPoint$4 org.eclipse.jetty.io.ChannelEndPoint$RunnableCloseable org.eclipse.jetty.io.ChannelEndPoint$RunnableTask
InnerClasses:
org.eclipse.jetty.io.ChannelEndPoint$1
org.eclipse.jetty.io.ChannelEndPoint$2
org.eclipse.jetty.io.ChannelEndPoint$3
org.eclipse.jetty.io.ChannelEndPoint$4
private abstract RunnableCloseable = org.eclipse.jetty.io.ChannelEndPoint$RunnableCloseable of org.eclipse.jetty.io.ChannelEndPoint
private abstract RunnableTask = org.eclipse.jetty.io.ChannelEndPoint$RunnableTask of org.eclipse.jetty.io.ChannelEndPoint
public abstract Selectable = org.eclipse.jetty.io.ManagedSelector$Selectable of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector