public class io.netty.channel.unix.FileDescriptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.channel.unix.FileDescriptor
super_class: java.lang.Object
{
private static final java.nio.channels.ClosedChannelException WRITE_CLOSED_CHANNEL_EXCEPTION;
descriptor: Ljava/nio/channels/ClosedChannelException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.channels.ClosedChannelException WRITE_ADDRESS_CLOSED_CHANNEL_EXCEPTION;
descriptor: Ljava/nio/channels/ClosedChannelException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.channels.ClosedChannelException WRITEV_CLOSED_CHANNEL_EXCEPTION;
descriptor: Ljava/nio/channels/ClosedChannelException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.channels.ClosedChannelException WRITEV_ADDRESSES_CLOSED_CHANNEL_EXCEPTION;
descriptor: Ljava/nio/channels/ClosedChannelException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.channels.ClosedChannelException READ_CLOSED_CHANNEL_EXCEPTION;
descriptor: Ljava/nio/channels/ClosedChannelException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.channels.ClosedChannelException READ_ADDRESS_CLOSED_CHANNEL_EXCEPTION;
descriptor: Ljava/nio/channels/ClosedChannelException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.channel.unix.Errors$NativeIoException WRITE_CONNECTION_RESET_EXCEPTION;
descriptor: Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.channel.unix.Errors$NativeIoException WRITE_ADDRESS_CONNECTION_RESET_EXCEPTION;
descriptor: Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.channel.unix.Errors$NativeIoException WRITEV_CONNECTION_RESET_EXCEPTION;
descriptor: Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.channel.unix.Errors$NativeIoException WRITEV_ADDRESSES_CONNECTION_RESET_EXCEPTION;
descriptor: Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.channel.unix.Errors$NativeIoException READ_CONNECTION_RESET_EXCEPTION;
descriptor: Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.channel.unix.Errors$NativeIoException READ_ADDRESS_CONNECTION_RESET_EXCEPTION;
descriptor: Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<io.netty.channel.unix.FileDescriptor> stateUpdater;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lio/netty/channel/unix/FileDescriptor;>;
private static final int STATE_CLOSED_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int STATE_INPUT_SHUTDOWN_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int STATE_OUTPUT_SHUTDOWN_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int STATE_ALL_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
volatile int state;
descriptor: I
flags: (0x0040) ACC_VOLATILE
final int fd;
descriptor: I
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
ldc Lio/netty/channel/unix/FileDescriptor;
ldc "write(..)"
1: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast java.nio.channels.ClosedChannelException
putstatic io.netty.channel.unix.FileDescriptor.WRITE_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
ldc Lio/netty/channel/unix/FileDescriptor;
ldc "writeAddress(..)"
invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast java.nio.channels.ClosedChannelException
3: putstatic io.netty.channel.unix.FileDescriptor.WRITE_ADDRESS_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
4: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
ldc Lio/netty/channel/unix/FileDescriptor;
ldc "writev(..)"
5: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast java.nio.channels.ClosedChannelException
putstatic io.netty.channel.unix.FileDescriptor.WRITEV_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
6: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
ldc Lio/netty/channel/unix/FileDescriptor;
ldc "writevAddresses(..)"
invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast java.nio.channels.ClosedChannelException
7: putstatic io.netty.channel.unix.FileDescriptor.WRITEV_ADDRESSES_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
8: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
ldc Lio/netty/channel/unix/FileDescriptor;
ldc "read(..)"
9: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast java.nio.channels.ClosedChannelException
putstatic io.netty.channel.unix.FileDescriptor.READ_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
10: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
ldc Lio/netty/channel/unix/FileDescriptor;
ldc "readAddress(..)"
11: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast java.nio.channels.ClosedChannelException
putstatic io.netty.channel.unix.FileDescriptor.READ_ADDRESS_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
12: ldc "syscall:write"
getstatic io.netty.channel.unix.Errors.ERRNO_EPIPE_NEGATIVE:I
invokestatic io.netty.channel.unix.Errors.newConnectionResetException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
13: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "write(..)"
14: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast io.netty.channel.unix.Errors$NativeIoException
putstatic io.netty.channel.unix.FileDescriptor.WRITE_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
15: ldc "syscall:write"
16: getstatic io.netty.channel.unix.Errors.ERRNO_EPIPE_NEGATIVE:I
17: invokestatic io.netty.channel.unix.Errors.newConnectionResetException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
18: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "writeAddress(..)"
19: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast io.netty.channel.unix.Errors$NativeIoException
20: putstatic io.netty.channel.unix.FileDescriptor.WRITE_ADDRESS_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
21: ldc "syscall:writev"
getstatic io.netty.channel.unix.Errors.ERRNO_EPIPE_NEGATIVE:I
invokestatic io.netty.channel.unix.Errors.newConnectionResetException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
22: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "writev(..)"
23: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast io.netty.channel.unix.Errors$NativeIoException
putstatic io.netty.channel.unix.FileDescriptor.WRITEV_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
24: ldc "syscall:writev"
25: getstatic io.netty.channel.unix.Errors.ERRNO_EPIPE_NEGATIVE:I
26: invokestatic io.netty.channel.unix.Errors.newConnectionResetException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
27: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "writeAddresses(..)"
28: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast io.netty.channel.unix.Errors$NativeIoException
29: putstatic io.netty.channel.unix.FileDescriptor.WRITEV_ADDRESSES_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
30: ldc "syscall:read"
getstatic io.netty.channel.unix.Errors.ERRNO_ECONNRESET_NEGATIVE:I
invokestatic io.netty.channel.unix.Errors.newConnectionResetException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
31: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "read(..)"
32: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast io.netty.channel.unix.Errors$NativeIoException
putstatic io.netty.channel.unix.FileDescriptor.READ_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
33: ldc "syscall:read"
34: getstatic io.netty.channel.unix.Errors.ERRNO_ECONNRESET_NEGATIVE:I
35: invokestatic io.netty.channel.unix.Errors.newConnectionResetException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
36: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "readAddress(..)"
37: invokestatic io.netty.util.internal.ThrowableUtil.unknownStackTrace:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;
checkcast io.netty.channel.unix.Errors$NativeIoException
38: putstatic io.netty.channel.unix.FileDescriptor.READ_ADDRESS_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
39: ldc Lio/netty/channel/unix/FileDescriptor;
ldc "state"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
40: putstatic io.netty.channel.unix.FileDescriptor.stateUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
41: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "fd must be >= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.channel.unix.FileDescriptor int
StackMap stack:
aload 0
iload 1
putfield io.netty.channel.unix.FileDescriptor.fd:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/channel/unix/FileDescriptor;
0 5 1 fd I
MethodParameters:
Name Flags
fd
public final int intValue();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/unix/FileDescriptor;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.unix.FileDescriptor.state:I
istore 1
start local 1 1: iload 1
invokestatic io.netty.channel.unix.FileDescriptor.isClosed:(I)Z
ifeq 3
2: return
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 1
bipush 7
ior
invokevirtual io.netty.channel.unix.FileDescriptor.casState:(II)Z
ifeq 0
end local 1 4: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
invokestatic io.netty.channel.unix.FileDescriptor.close:(I)I
istore 1
start local 1 5: iload 1
ifge 7
6: ldc "close"
iload 1
invokestatic io.netty.channel.unix.Errors.newIOException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/channel/unix/FileDescriptor;
1 4 1 state I
5 8 1 res I
Exceptions:
throws java.io.IOException
public boolean isOpen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.state:I
invokestatic io.netty.channel.unix.FileDescriptor.isClosed:(I)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/unix/FileDescriptor;
public final int write(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
aload 1
iload 2
iload 3
invokestatic io.netty.channel.unix.FileDescriptor.write:(ILjava/nio/ByteBuffer;II)I
istore 4
start local 4 1: iload 4
iflt 3
2: iload 4
ireturn
3: StackMap locals: int
StackMap stack:
ldc "write"
iload 4
getstatic io.netty.channel.unix.FileDescriptor.WRITE_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
getstatic io.netty.channel.unix.FileDescriptor.WRITE_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
invokestatic io.netty.channel.unix.Errors.ioResult:(Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/unix/FileDescriptor;
0 4 1 buf Ljava/nio/ByteBuffer;
0 4 2 pos I
0 4 3 limit I
1 4 4 res I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
pos
limit
public final int writeAddress(long, int, int);
descriptor: (JII)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
lload 1
iload 3
iload 4
invokestatic io.netty.channel.unix.FileDescriptor.writeAddress:(IJII)I
istore 5
start local 5 1: iload 5
iflt 3
2: iload 5
ireturn
3: StackMap locals: int
StackMap stack:
ldc "writeAddress"
iload 5
4: getstatic io.netty.channel.unix.FileDescriptor.WRITE_ADDRESS_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
getstatic io.netty.channel.unix.FileDescriptor.WRITE_ADDRESS_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
5: invokestatic io.netty.channel.unix.Errors.ioResult:(Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/unix/FileDescriptor;
0 6 1 address J
0 6 3 pos I
0 6 4 limit I
1 6 5 res I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
address
pos
limit
public final long writev(java.nio.ByteBuffer[], int, int, long);
descriptor: ([Ljava/nio/ByteBuffer;IIJ)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
aload 1
iload 2
getstatic io.netty.channel.unix.Limits.IOV_MAX:I
iload 3
invokestatic java.lang.Math.min:(II)I
lload 4
invokestatic io.netty.channel.unix.FileDescriptor.writev:(I[Ljava/nio/ByteBuffer;IIJ)J
lstore 6
start local 6 1: lload 6
lconst_0
lcmp
iflt 3
2: lload 6
lreturn
3: StackMap locals: long
StackMap stack:
ldc "writev"
lload 6
l2i
getstatic io.netty.channel.unix.FileDescriptor.WRITEV_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
getstatic io.netty.channel.unix.FileDescriptor.WRITEV_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
invokestatic io.netty.channel.unix.Errors.ioResult:(Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
i2l
lreturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/unix/FileDescriptor;
0 4 1 buffers [Ljava/nio/ByteBuffer;
0 4 2 offset I
0 4 3 length I
0 4 4 maxBytesToWrite J
1 4 6 res J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffers
offset
length
maxBytesToWrite
public final long writevAddresses(long, int);
descriptor: (JI)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
lload 1
iload 3
invokestatic io.netty.channel.unix.FileDescriptor.writevAddresses:(IJI)J
lstore 4
start local 4 1: lload 4
lconst_0
lcmp
iflt 3
2: lload 4
lreturn
3: StackMap locals: long
StackMap stack:
ldc "writevAddresses"
lload 4
l2i
4: getstatic io.netty.channel.unix.FileDescriptor.WRITEV_ADDRESSES_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
getstatic io.netty.channel.unix.FileDescriptor.WRITEV_ADDRESSES_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
5: invokestatic io.netty.channel.unix.Errors.ioResult:(Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
i2l
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/unix/FileDescriptor;
0 6 1 memoryAddress J
0 6 3 length I
1 6 4 res J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
memoryAddress
length
public final int read(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
aload 1
iload 2
iload 3
invokestatic io.netty.channel.unix.FileDescriptor.read:(ILjava/nio/ByteBuffer;II)I
istore 4
start local 4 1: iload 4
ifle 3
2: iload 4
ireturn
3: StackMap locals: int
StackMap stack:
iload 4
ifne 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
ldc "read"
iload 4
getstatic io.netty.channel.unix.FileDescriptor.READ_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
getstatic io.netty.channel.unix.FileDescriptor.READ_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
invokestatic io.netty.channel.unix.Errors.ioResult:(Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/unix/FileDescriptor;
0 6 1 buf Ljava/nio/ByteBuffer;
0 6 2 pos I
0 6 3 limit I
1 6 4 res I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
pos
limit
public final int readAddress(long, int, int);
descriptor: (JII)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
lload 1
iload 3
iload 4
invokestatic io.netty.channel.unix.FileDescriptor.readAddress:(IJII)I
istore 5
start local 5 1: iload 5
ifle 3
2: iload 5
ireturn
3: StackMap locals: int
StackMap stack:
iload 5
ifne 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
ldc "readAddress"
iload 5
6: getstatic io.netty.channel.unix.FileDescriptor.READ_ADDRESS_CONNECTION_RESET_EXCEPTION:Lio/netty/channel/unix/Errors$NativeIoException;
getstatic io.netty.channel.unix.FileDescriptor.READ_ADDRESS_CLOSED_CHANNEL_EXCEPTION:Ljava/nio/channels/ClosedChannelException;
7: invokestatic io.netty.channel.unix.Errors.ioResult:(Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/channel/unix/FileDescriptor;
0 8 1 address J
0 8 3 pos I
0 8 4 limit I
1 8 5 res I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
address
pos
limit
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "FileDescriptor{fd="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/unix/FileDescriptor;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.channel.unix.FileDescriptor
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
aload 1
checkcast io.netty.channel.unix.FileDescriptor
getfield io.netty.channel.unix.FileDescriptor.fd:I
if_icmpne 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/unix/FileDescriptor;
0 6 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.unix.FileDescriptor.fd:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/unix/FileDescriptor;
public static io.netty.channel.unix.FileDescriptor from(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/netty/channel/unix/FileDescriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "path"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokestatic io.netty.channel.unix.FileDescriptor.open:(Ljava/lang/String;)I
istore 1
start local 1 2: iload 1
ifge 4
3: ldc "open"
iload 1
invokestatic io.netty.channel.unix.Errors.newIOException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
athrow
4: StackMap locals: int
StackMap stack:
new io.netty.channel.unix.FileDescriptor
dup
iload 1
invokespecial io.netty.channel.unix.FileDescriptor.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path Ljava/lang/String;
2 5 1 res I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static io.netty.channel.unix.FileDescriptor from(java.io.File);
descriptor: (Ljava/io/File;)Lio/netty/channel/unix/FileDescriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "file"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.File
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic io.netty.channel.unix.FileDescriptor.from:(Ljava/lang/String;)Lio/netty/channel/unix/FileDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static io.netty.channel.unix.FileDescriptor[] pipe();
descriptor: ()[Lio/netty/channel/unix/FileDescriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=0
0: invokestatic io.netty.channel.unix.FileDescriptor.newPipe:()J
lstore 0
start local 0 1: lload 0
lconst_0
lcmp
ifge 3
2: ldc "newPipe"
lload 0
l2i
invokestatic io.netty.channel.unix.Errors.newIOException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
athrow
3: StackMap locals: long
StackMap stack:
iconst_2
anewarray io.netty.channel.unix.FileDescriptor
dup
iconst_0
new io.netty.channel.unix.FileDescriptor
dup
lload 0
bipush 32
lushr
l2i
invokespecial io.netty.channel.unix.FileDescriptor.<init>:(I)V
aastore
dup
iconst_1
new io.netty.channel.unix.FileDescriptor
dup
lload 0
l2i
invokespecial io.netty.channel.unix.FileDescriptor.<init>:(I)V
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 res J
Exceptions:
throws java.io.IOException
final boolean casState(int, int);
descriptor: (II)Z
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic io.netty.channel.unix.FileDescriptor.stateUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 1
iload 2
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/unix/FileDescriptor;
0 1 1 expected I
0 1 2 update I
MethodParameters:
Name Flags
expected
update
static boolean isClosed(int);
descriptor: (I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 state I
MethodParameters:
Name Flags
state
static boolean isInputShutdown(int);
descriptor: (I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_2
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 state I
MethodParameters:
Name Flags
state
static boolean isOutputShutdown(int);
descriptor: (I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_4
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 state I
MethodParameters:
Name Flags
state
static int inputShutdown(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_2
ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 state I
MethodParameters:
Name Flags
state
static int outputShutdown(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_4
ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 state I
MethodParameters:
Name Flags
state
private static native int open(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
path
private static native int close(int);
descriptor: (I)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
private static native int write(int, java.nio.ByteBuffer, int, int);
descriptor: (ILjava/nio/ByteBuffer;II)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
buf
pos
limit
private static native int writeAddress(int, long, int, int);
descriptor: (IJII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
address
pos
limit
private static native long writev(int, java.nio.ByteBuffer[], int, int, long);
descriptor: (I[Ljava/nio/ByteBuffer;IIJ)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
buffers
offset
length
maxBytesToWrite
private static native long writevAddresses(int, long, int);
descriptor: (IJI)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
memoryAddress
length
private static native int read(int, java.nio.ByteBuffer, int, int);
descriptor: (ILjava/nio/ByteBuffer;II)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
buf
pos
limit
private static native int readAddress(int, long, int, int);
descriptor: (IJII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
address
pos
limit
private static native long newPipe();
descriptor: ()J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "FileDescriptor.java"
InnerClasses:
public final NativeIoException = io.netty.channel.unix.Errors$NativeIoException of io.netty.channel.unix.Errors