class sun.nio.ch.SinkChannelImpl extends java.nio.channels.Pipe$SinkChannel implements sun.nio.ch.SelChImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.SinkChannelImpl
super_class: java.nio.channels.Pipe$SinkChannel
{
private static final sun.nio.ch.NativeDispatcher nd;
descriptor: Lsun/nio/ch/NativeDispatcher;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
java.io.FileDescriptor fd;
descriptor: Ljava/io/FileDescriptor;
flags: (0x0000)
int fdVal;
descriptor: I
flags: (0x0000)
private volatile long thread;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object stateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int ST_UNINITIALIZED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final int ST_INUSE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int ST_KILLED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private volatile int state;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lsun/nio/ch/SinkChannelImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
3: new sun.nio.ch.FileDispatcherImpl
dup
invokespecial sun.nio.ch.FileDispatcherImpl.<init>:()V
putstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
4: return
LocalVariableTable:
Start End Slot Name Signature
public java.io.FileDescriptor getFD();
descriptor: ()Ljava/io/FileDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SinkChannelImpl;
public int getFDVal();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SinkChannelImpl.fdVal:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SinkChannelImpl;
void <init>(java.nio.channels.spi.SelectorProvider, java.io.FileDescriptor);
descriptor: (Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.nio.channels.Pipe$SinkChannel.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.SinkChannelImpl.lock:Ljava/lang/Object;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
3: aload 0
iconst_m1
putfield sun.nio.ch.SinkChannelImpl.state:I
4: aload 0
aload 2
putfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
5: aload 0
aload 2
invokestatic sun.nio.ch.IOUtil.fdVal:(Ljava/io/FileDescriptor;)I
putfield sun.nio.ch.SinkChannelImpl.fdVal:I
6: aload 0
iconst_0
putfield sun.nio.ch.SinkChannelImpl.state:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/ch/SinkChannelImpl;
0 8 1 sp Ljava/nio/channels/spi/SelectorProvider;
0 8 2 fd Ljava/io/FileDescriptor;
MethodParameters:
Name Flags
sp
fd
protected void implCloseSelectableChannel();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.SinkChannelImpl.state:I
iconst_1
if_icmpeq 3
2: getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
aload 0
getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
invokevirtual sun.nio.ch.NativeDispatcher.preClose:(Ljava/io/FileDescriptor;)V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.SinkChannelImpl.thread:J
lstore 2
start local 2 4: lload 2
lconst_0
lcmp
ifeq 6
5: lload 2
invokestatic sun.nio.ch.NativeThread.signal:(J)V
6: StackMap locals: long
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isRegistered:()Z
ifne 8
7: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.kill:()V
end local 2 8: StackMap locals:
StackMap stack:
aload 1
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/nio/ch/SinkChannelImpl;
4 8 2 th J
Exception table:
from to target type
1 9 10 any
10 11 10 any
Exceptions:
throws java.io.IOException
public void kill();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SinkChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.SinkChannelImpl.state:I
iconst_1
if_icmpne 4
2: aload 1
monitorexit
3: return
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.SinkChannelImpl.state:I
iconst_m1
if_icmpne 8
5: aload 0
iconst_1
putfield sun.nio.ch.SinkChannelImpl.state:I
6: aload 1
monitorexit
7: return
8: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 10
aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
ifne 9
aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isRegistered:()Z
ifeq 10
StackMap locals:
StackMap stack:
9: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
aload 0
getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
invokevirtual sun.nio.ch.NativeDispatcher.close:(Ljava/io/FileDescriptor;)V
11: aload 0
iconst_1
putfield sun.nio.ch.SinkChannelImpl.state:I
12: aload 1
monitorexit
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 1
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/nio/ch/SinkChannelImpl;
Exception table:
from to target type
1 3 14 any
4 7 14 any
8 13 14 any
14 15 14 any
Exceptions:
throws java.io.IOException
protected void implConfigureBlocking(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
iload 1
invokestatic sun.nio.ch.IOUtil.configureBlocking:(Ljava/io/FileDescriptor;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SinkChannelImpl;
0 2 1 block Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
public boolean translateReadyOps(int, int, sun.nio.ch.SelectionKeyImpl);
descriptor: (IILsun/nio/ch/SelectionKeyImpl;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:()I
istore 4
start local 4 1: aload 3
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
istore 5
start local 5 2: iload 2
istore 6
start local 6 3: iload 1
getstatic sun.nio.ch.Net.POLLNVAL:S
iand
ifeq 5
4: new java.lang.Error
dup
ldc "POLLNVAL detected"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int int int
StackMap stack:
iload 1
getstatic sun.nio.ch.Net.POLLERR:S
getstatic sun.nio.ch.Net.POLLHUP:S
ior
iand
ifeq 10
6: iload 4
istore 6
7: aload 3
iload 6
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
8: iload 6
iload 5
iconst_m1
ixor
iand
ifeq 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 1
getstatic sun.nio.ch.Net.POLLOUT:S
iand
ifeq 13
11: iload 4
iconst_4
iand
ifeq 13
12: iload 6
iconst_4
ior
istore 6
13: StackMap locals:
StackMap stack:
aload 3
iload 6
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:(I)V
14: iload 6
iload 5
iconst_m1
ixor
iand
ifeq 15
iconst_1
ireturn
StackMap locals:
StackMap stack:
15: iconst_0
ireturn
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 16 0 this Lsun/nio/ch/SinkChannelImpl;
0 16 1 ops I
0 16 2 initialOps I
0 16 3 sk Lsun/nio/ch/SelectionKeyImpl;
1 16 4 intOps I
2 16 5 oldOps I
3 16 6 newOps I
MethodParameters:
Name Flags
ops
initialOps
sk
public boolean translateAndUpdateReadyOps(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.nioReadyOps:()I
aload 2
invokevirtual sun.nio.ch.SinkChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SinkChannelImpl;
0 1 1 ops I
0 1 2 sk Lsun/nio/ch/SelectionKeyImpl;
MethodParameters:
Name Flags
ops
sk
public boolean translateAndSetReadyOps(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_0
aload 2
invokevirtual sun.nio.ch.SinkChannelImpl.translateReadyOps:(IILsun/nio/ch/SelectionKeyImpl;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SinkChannelImpl;
0 1 1 ops I
0 1 2 sk Lsun/nio/ch/SelectionKeyImpl;
MethodParameters:
Name Flags
ops
sk
public void translateAndSetInterestOps(int, sun.nio.ch.SelectionKeyImpl);
descriptor: (ILsun/nio/ch/SelectionKeyImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_4
if_icmpne 2
1: getstatic sun.nio.ch.Net.POLLOUT:S
istore 1
2: StackMap locals:
StackMap stack:
aload 2
getfield sun.nio.ch.SelectionKeyImpl.selector:Lsun/nio/ch/SelectorImpl;
aload 2
iload 1
invokevirtual sun.nio.ch.SelectorImpl.putEventOps:(Lsun/nio/ch/SelectionKeyImpl;I)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/SinkChannelImpl;
0 4 1 ops I
0 4 2 sk Lsun/nio/ch/SelectionKeyImpl;
MethodParameters:
Name Flags
ops
sk
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
ifne 2
1: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/SinkChannelImpl;
Exceptions:
throws java.io.IOException
public int write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.ensureOpen:()V
1: aload 0
getfield sun.nio.ch.SinkChannelImpl.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
2: iconst_0
istore 3
start local 3 3: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.begin:()V
4: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
ifne 12
5: aload 0
lconst_0
putfield sun.nio.ch.SinkChannelImpl.thread:J
6: aload 0
iload 3
ifgt 7
iload 3
bipush -2
if_icmpeq 7
iconst_0
goto 8
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int
StackMap stack: sun.nio.ch.SinkChannelImpl
7: iconst_1
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int
StackMap stack: sun.nio.ch.SinkChannelImpl int
8: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
9: getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 10
iload 3
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
StackMap locals:
StackMap stack:
10: aload 2
monitorexit
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.nio.ch.NativeThread.current:()J
putfield sun.nio.ch.SinkChannelImpl.thread:J
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
aload 1
ldc -1
getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
istore 3
14: iload 3
bipush -3
if_icmpne 15
aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
ifne 13
15: StackMap locals:
StackMap stack:
iload 3
invokestatic sun.nio.ch.IOStatus.normalize:(I)I
istore 5
16: aload 0
lconst_0
putfield sun.nio.ch.SinkChannelImpl.thread:J
17: aload 0
iload 3
ifgt 18
iload 3
bipush -2
if_icmpeq 18
iconst_0
goto 19
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int top int
StackMap stack: sun.nio.ch.SinkChannelImpl
18: iconst_1
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int top int
StackMap stack: sun.nio.ch.SinkChannelImpl int
19: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
20: getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 21
iload 3
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
aload 2
monitorexit
22: iload 5
ireturn
23: StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int
StackMap stack: java.lang.Throwable
astore 4
24: aload 0
lconst_0
putfield sun.nio.ch.SinkChannelImpl.thread:J
25: aload 0
iload 3
ifgt 26
iload 3
bipush -2
if_icmpeq 26
iconst_0
goto 27
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int java.lang.Throwable
StackMap stack: sun.nio.ch.SinkChannelImpl
26: iconst_1
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object int java.lang.Throwable
StackMap stack: sun.nio.ch.SinkChannelImpl int
27: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
28: getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 29
iload 3
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 29
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
29: StackMap locals:
StackMap stack:
aload 4
athrow
end local 3 30: StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
31: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/nio/ch/SinkChannelImpl;
0 32 1 src Ljava/nio/ByteBuffer;
3 30 3 n I
Exception table:
from to target type
3 5 23 any
12 16 23 any
2 11 30 any
12 22 30 any
23 31 30 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public long write(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.ensureOpen:()V
3: aload 0
getfield sun.nio.ch.SinkChannelImpl.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
4: lconst_0
lstore 3
start local 3 5: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.begin:()V
6: aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
ifne 14
7: aload 0
lconst_0
putfield sun.nio.ch.SinkChannelImpl.thread:J
8: aload 0
lload 3
lconst_0
lcmp
ifgt 9
lload 3
ldc -2
lcmp
ifeq 9
iconst_0
goto 10
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long
StackMap stack: sun.nio.ch.SinkChannelImpl
9: iconst_1
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long
StackMap stack: sun.nio.ch.SinkChannelImpl int
10: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
11: getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 12
lload 3
invokestatic sun.nio.ch.IOStatus.check:(J)Z
ifne 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
StackMap locals:
StackMap stack:
12: aload 2
monitorexit
13: lconst_0
lreturn
14: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.nio.ch.NativeThread.current:()J
putfield sun.nio.ch.SinkChannelImpl.thread:J
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SinkChannelImpl.fd:Ljava/io/FileDescriptor;
aload 1
getstatic sun.nio.ch.SinkChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;Lsun/nio/ch/NativeDispatcher;)J
lstore 3
16: lload 3
ldc -3
lcmp
ifne 17
aload 0
invokevirtual sun.nio.ch.SinkChannelImpl.isOpen:()Z
ifne 15
17: StackMap locals:
StackMap stack:
lload 3
invokestatic sun.nio.ch.IOStatus.normalize:(J)J
lstore 6
18: aload 0
lconst_0
putfield sun.nio.ch.SinkChannelImpl.thread:J
19: aload 0
lload 3
lconst_0
lcmp
ifgt 20
lload 3
ldc -2
lcmp
ifeq 20
iconst_0
goto 21
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long top long
StackMap stack: sun.nio.ch.SinkChannelImpl
20: iconst_1
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long top long
StackMap stack: sun.nio.ch.SinkChannelImpl int
21: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
22: getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 23
lload 3
invokestatic sun.nio.ch.IOStatus.check:(J)Z
ifne 23
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
23: StackMap locals:
StackMap stack:
aload 2
monitorexit
24: lload 6
lreturn
25: StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long
StackMap stack: java.lang.Throwable
astore 5
26: aload 0
lconst_0
putfield sun.nio.ch.SinkChannelImpl.thread:J
27: aload 0
lload 3
lconst_0
lcmp
ifgt 28
lload 3
ldc -2
lcmp
ifeq 28
iconst_0
goto 29
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long java.lang.Throwable
StackMap stack: sun.nio.ch.SinkChannelImpl
28: iconst_1
StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object long java.lang.Throwable
StackMap stack: sun.nio.ch.SinkChannelImpl int
29: invokevirtual sun.nio.ch.SinkChannelImpl.end:(Z)V
30: getstatic sun.nio.ch.SinkChannelImpl.$assertionsDisabled:Z
ifne 31
lload 3
invokestatic sun.nio.ch.IOStatus.check:(J)Z
ifne 31
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
aload 5
athrow
end local 3 32: StackMap locals: sun.nio.ch.SinkChannelImpl java.nio.ByteBuffer[] java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
33: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/nio/ch/SinkChannelImpl;
0 34 1 srcs [Ljava/nio/ByteBuffer;
5 32 3 n J
Exception table:
from to target type
5 7 25 any
14 18 25 any
4 13 32 any
14 24 32 any
25 33 32 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
srcs
public long write(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iflt 1
iload 3
iflt 1
iload 2
aload 1
arraylength
iload 3
isub
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokestatic sun.nio.ch.Util.subsequence:([Ljava/nio/ByteBuffer;II)[Ljava/nio/ByteBuffer;
invokevirtual sun.nio.ch.SinkChannelImpl.write:([Ljava/nio/ByteBuffer;)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/SinkChannelImpl;
0 3 1 srcs [Ljava/nio/ByteBuffer;
0 3 2 offset I
0 3 3 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
srcs
offset
length
}
SourceFile: "SinkChannelImpl.java"
InnerClasses:
public abstract SinkChannel = java.nio.channels.Pipe$SinkChannel of java.nio.channels.Pipe