public class sun.nio.ch.IOUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.ch.IOUtil
super_class: java.lang.Object
{
static final int IOV_MAX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
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=1, locals=0, args_size=0
0: ldc Lsun/nio/ch/IOUtil;
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.IOUtil.$assertionsDisabled:Z
3: ldc "net"
invokestatic jdk.internal.loader.BootLoader.loadLibrary:(Ljava/lang/String;)V
4: ldc "nio"
invokestatic jdk.internal.loader.BootLoader.loadLibrary:(Ljava/lang/String;)V
5: invokestatic sun.nio.ch.IOUtil.initIDs:()V
6: invokestatic sun.nio.ch.IOUtil.iovMax:()I
putstatic sun.nio.ch.IOUtil.IOV_MAX:I
7: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/IOUtil;
static int write(java.io.FileDescriptor, java.nio.ByteBuffer, long, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
lload 2
iconst_0
iconst_m1
aload 4
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 src Ljava/nio/ByteBuffer;
0 1 2 position J
0 1 4 nd Lsun/nio/ch/NativeDispatcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
src
position
nd
static int write(java.io.FileDescriptor, java.nio.ByteBuffer, long, boolean, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 1
instanceof sun.nio.ch.DirectBuffer
ifeq 2
1: aload 0
aload 1
lload 2
iload 4
iload 5
aload 6
invokestatic sun.nio.ch.IOUtil.writeFromNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 7
start local 7 3: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 8
start local 8 4: getstatic sun.nio.ch.IOUtil.$assertionsDisabled:Z
ifne 5
iload 7
iload 8
if_icmple 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: int int
StackMap stack:
iload 7
iload 8
if_icmpgt 6
iload 8
iload 7
isub
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 9
start local 9 8: iload 4
ifeq 12
9: iload 9
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
10: iload 9
iload 5
invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 10
start local 10 11: goto 13
end local 10 12: StackMap locals: int
StackMap stack:
iload 9
invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
astore 10
start local 10 13: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 10
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
14: aload 10
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
15: aload 1
iload 7
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
16: aload 0
aload 10
lload 2
iload 4
iload 5
aload 6
invokestatic sun.nio.ch.IOUtil.writeFromNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
istore 11
start local 11 17: iload 11
ifle 19
18: aload 1
iload 7
iload 11
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
19: StackMap locals: int
StackMap stack:
iload 11
istore 13
20: aload 10
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
21: iload 13
ireturn
end local 11 22: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer long int int sun.nio.ch.NativeDispatcher int int int java.nio.ByteBuffer
StackMap stack: java.lang.Throwable
astore 12
23: aload 10
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
24: aload 12
athrow
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 fd Ljava/io/FileDescriptor;
0 25 1 src Ljava/nio/ByteBuffer;
0 25 2 position J
0 25 4 directIO Z
0 25 5 alignment I
0 25 6 nd Lsun/nio/ch/NativeDispatcher;
3 25 7 pos I
4 25 8 lim I
8 25 9 rem I
11 12 10 bb Ljava/nio/ByteBuffer;
13 25 10 bb Ljava/nio/ByteBuffer;
17 22 11 n I
Exception table:
from to target type
13 20 22 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
src
position
directIO
alignment
nd
private static int writeFromNativeBuffer(java.io.FileDescriptor, java.nio.ByteBuffer, long, boolean, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 7
start local 7 1: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 8
start local 8 2: getstatic sun.nio.ch.IOUtil.$assertionsDisabled:Z
ifne 3
iload 7
iload 8
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 7
iload 8
if_icmpgt 4
iload 8
iload 7
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 9
start local 9 6: iload 4
ifeq 9
7: aload 1
iload 7
iload 5
invokestatic sun.nio.ch.Util.checkBufferPositionAligned:(Ljava/nio/ByteBuffer;II)V
8: iload 9
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
9: StackMap locals: int
StackMap stack:
iconst_0
istore 10
start local 10 10: iload 9
ifne 12
11: iconst_0
ireturn
12: StackMap locals: int
StackMap stack:
lload 2
ldc -1
lcmp
ifeq 18
13: aload 6
aload 0
14: aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 7
i2l
ladd
15: iload 9
lload 2
16: invokevirtual sun.nio.ch.NativeDispatcher.pwrite:(Ljava/io/FileDescriptor;JIJ)I
istore 10
17: goto 19
18: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 7
i2l
ladd
iload 9
invokevirtual sun.nio.ch.NativeDispatcher.write:(Ljava/io/FileDescriptor;JI)I
istore 10
19: StackMap locals:
StackMap stack:
iload 10
ifle 21
20: aload 1
iload 7
iload 10
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
21: StackMap locals:
StackMap stack:
iload 10
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 fd Ljava/io/FileDescriptor;
0 22 1 bb Ljava/nio/ByteBuffer;
0 22 2 position J
0 22 4 directIO Z
0 22 5 alignment I
0 22 6 nd Lsun/nio/ch/NativeDispatcher;
1 22 7 pos I
2 22 8 lim I
6 22 9 rem I
10 22 10 written I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bb
position
directIO
alignment
nd
static long write(java.io.FileDescriptor, java.nio.ByteBuffer[], sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;Lsun/nio/ch/NativeDispatcher;)J
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
arraylength
iconst_0
iconst_m1
aload 2
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 bufs [Ljava/nio/ByteBuffer;
0 1 2 nd Lsun/nio/ch/NativeDispatcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bufs
nd
static long write(java.io.FileDescriptor, java.nio.ByteBuffer[], int, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IILsun/nio/ch/NativeDispatcher;)J
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
iconst_0
iconst_m1
aload 4
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 bufs [Ljava/nio/ByteBuffer;
0 1 2 offset I
0 1 3 length I
0 1 4 nd Lsun/nio/ch/NativeDispatcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bufs
offset
length
nd
static long write(java.io.FileDescriptor, java.nio.ByteBuffer[], int, int, boolean, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=26, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iload 3
invokestatic sun.nio.ch.IOVecWrapper.get:(I)Lsun/nio/ch/IOVecWrapper;
astore 7
start local 7 1: iconst_0
istore 8
start local 8 2: iconst_0
istore 9
start local 9 3: iload 2
iload 3
iadd
istore 10
start local 10 4: iload 2
istore 11
start local 11 5: goto 32
6: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int
StackMap stack:
aload 1
iload 11
aaload
astore 12
start local 12 7: aload 12
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
start local 13 8: aload 12
invokevirtual java.nio.ByteBuffer.limit:()I
istore 14
start local 14 9: getstatic sun.nio.ch.IOUtil.$assertionsDisabled:Z
ifne 10
iload 13
iload 14
if_icmple 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
iload 13
iload 14
if_icmpgt 11
iload 14
iload 13
isub
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 15
start local 15 13: iload 4
ifeq 15
14: iload 15
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
15: StackMap locals: int
StackMap stack:
iload 15
ifle 31
16: aload 7
iload 9
aload 12
iload 13
iload 15
invokevirtual sun.nio.ch.IOVecWrapper.setBuffer:(ILjava/nio/ByteBuffer;II)V
17: aload 12
instanceof sun.nio.ch.DirectBuffer
ifne 28
18: iload 4
ifeq 21
19: iload 15
iload 5
invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 16
start local 16 20: goto 22
end local 16 21: StackMap locals:
StackMap stack:
iload 15
invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
astore 16
start local 16 22: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 16
aload 12
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
23: aload 16
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
24: aload 7
iload 9
aload 16
invokevirtual sun.nio.ch.IOVecWrapper.setShadow:(ILjava/nio/ByteBuffer;)V
25: aload 12
iload 13
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
26: aload 16
astore 12
27: aload 16
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
end local 16 28: StackMap locals:
StackMap stack:
aload 7
iload 9
aload 12
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 13
i2l
ladd
invokevirtual sun.nio.ch.IOVecWrapper.putBase:(IJ)V
29: aload 7
iload 9
iload 15
i2l
invokevirtual sun.nio.ch.IOVecWrapper.putLen:(IJ)V
30: iinc 9 1
31: StackMap locals:
StackMap stack:
iinc 11 1
end local 15 end local 14 end local 13 end local 12 32: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int
StackMap stack:
iload 11
iload 10
if_icmpge 33
iload 9
getstatic sun.nio.ch.IOUtil.IOV_MAX:I
if_icmplt 6
33: StackMap locals:
StackMap stack:
iload 9
ifne 44
34: iload 8
ifne 43
35: iconst_0
istore 24
start local 24 36: goto 42
37: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int top top top top top top top top top top top top int
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 25
start local 25 38: aload 25
ifnull 40
39: aload 25
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
40: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 25 41: iinc 24 1
StackMap locals:
StackMap stack:
42: iload 24
iload 9
if_icmplt 37
end local 24 43: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int
StackMap stack:
lconst_0
lreturn
44: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 7
getfield sun.nio.ch.IOVecWrapper.address:J
iload 9
invokevirtual sun.nio.ch.NativeDispatcher.writev:(Ljava/io/FileDescriptor;JI)J
lstore 12
start local 12 45: lload 12
lstore 14
start local 14 46: iconst_0
istore 16
start local 16 47: goto 62
48: StackMap locals: long long int
StackMap stack:
lload 14
lconst_0
lcmp
ifle 57
49: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getBuffer:(I)Ljava/nio/ByteBuffer;
astore 17
start local 17 50: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getPosition:(I)I
istore 18
start local 18 51: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getRemaining:(I)I
istore 19
start local 19 52: lload 14
iload 19
i2l
lcmp
ifle 53
iload 19
goto 54
StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
53: lload 14
l2i
StackMap locals:
StackMap stack: int
54: istore 20
start local 20 55: aload 17
iload 18
iload 20
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
56: lload 14
iload 20
i2l
lsub
lstore 14
end local 20 end local 19 end local 18 end local 17 57: StackMap locals:
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 17
start local 17 58: aload 17
ifnull 60
59: aload 17
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
60: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 17 61: iinc 16 1
StackMap locals:
StackMap stack:
62: iload 16
iload 9
if_icmplt 48
end local 16 63: iconst_1
istore 8
64: lload 12
lstore 22
65: iload 8
ifne 74
66: iconst_0
istore 24
start local 24 67: goto 73
68: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int long long top top top top top top long int
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 25
start local 25 69: aload 25
ifnull 71
70: aload 25
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
71: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 25 72: iinc 24 1
StackMap locals:
StackMap stack:
73: iload 24
iload 9
if_icmplt 68
end local 24 74: StackMap locals:
StackMap stack:
lload 22
lreturn
end local 14 end local 12 end local 11 end local 10 75: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int
StackMap stack: java.lang.Throwable
astore 21
76: iload 8
ifne 85
77: iconst_0
istore 24
start local 24 78: goto 84
79: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int top top top top top top top top top top top java.lang.Throwable top top int
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 25
start local 25 80: aload 25
ifnull 82
81: aload 25
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
82: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 25 83: iinc 24 1
StackMap locals:
StackMap stack:
84: iload 24
iload 9
if_icmplt 79
end local 24 85: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 21
athrow
end local 9 end local 8 end local 7 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 86 0 fd Ljava/io/FileDescriptor;
0 86 1 bufs [Ljava/nio/ByteBuffer;
0 86 2 offset I
0 86 3 length I
0 86 4 directIO Z
0 86 5 alignment I
0 86 6 nd Lsun/nio/ch/NativeDispatcher;
1 86 7 vec Lsun/nio/ch/IOVecWrapper;
2 86 8 completed Z
3 86 9 iov_len I
4 75 10 count I
5 75 11 i I
7 32 12 buf Ljava/nio/ByteBuffer;
8 32 13 pos I
9 32 14 lim I
13 32 15 rem I
20 21 16 shadow Ljava/nio/ByteBuffer;
22 28 16 shadow Ljava/nio/ByteBuffer;
45 75 12 bytesWritten J
46 75 14 left J
47 63 16 j I
50 57 17 buf Ljava/nio/ByteBuffer;
51 57 18 pos I
52 57 19 rem I
55 57 20 n I
58 61 17 shadow Ljava/nio/ByteBuffer;
36 43 24 j I
67 74 24 j I
78 85 24 j I
38 41 25 shadow Ljava/nio/ByteBuffer;
69 72 25 shadow Ljava/nio/ByteBuffer;
80 83 25 shadow Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 34 75 any
44 65 75 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bufs
offset
length
directIO
alignment
nd
static int read(java.io.FileDescriptor, java.nio.ByteBuffer, long, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
lload 2
iconst_0
iconst_m1
aload 4
invokestatic sun.nio.ch.IOUtil.read:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 dst Ljava/nio/ByteBuffer;
0 1 2 position J
0 1 4 nd Lsun/nio/ch/NativeDispatcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
dst
position
nd
static int read(java.io.FileDescriptor, java.nio.ByteBuffer, long, boolean, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 1
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Read-only buffer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.nio.ch.DirectBuffer
ifeq 4
3: aload 0
aload 1
lload 2
iload 4
iload 5
aload 6
invokestatic sun.nio.ch.IOUtil.readIntoNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 8
start local 8 5: iload 4
ifeq 9
6: iload 8
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
7: iload 8
iload 5
invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 7
start local 7 8: goto 10
end local 7 9: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer long int int sun.nio.ch.NativeDispatcher top int
StackMap stack:
iload 8
invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
astore 7
start local 7 10: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer long int int sun.nio.ch.NativeDispatcher java.nio.ByteBuffer int
StackMap stack:
aload 0
aload 7
lload 2
iload 4
iload 5
aload 6
invokestatic sun.nio.ch.IOUtil.readIntoNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
istore 9
start local 9 11: aload 7
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
12: iload 9
ifle 14
13: aload 1
aload 7
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
14: StackMap locals: int
StackMap stack:
iload 9
istore 11
15: aload 7
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
16: iload 11
ireturn
end local 9 17: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer long int int sun.nio.ch.NativeDispatcher java.nio.ByteBuffer int
StackMap stack: java.lang.Throwable
astore 10
18: aload 7
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
19: aload 10
athrow
end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 fd Ljava/io/FileDescriptor;
0 20 1 dst Ljava/nio/ByteBuffer;
0 20 2 position J
0 20 4 directIO Z
0 20 5 alignment I
0 20 6 nd Lsun/nio/ch/NativeDispatcher;
8 9 7 bb Ljava/nio/ByteBuffer;
10 20 7 bb Ljava/nio/ByteBuffer;
5 20 8 rem I
11 17 9 n I
Exception table:
from to target type
10 15 17 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
dst
position
directIO
alignment
nd
private static int readIntoNativeBuffer(java.io.FileDescriptor, java.nio.ByteBuffer, long, boolean, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 7
start local 7 1: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 8
start local 8 2: getstatic sun.nio.ch.IOUtil.$assertionsDisabled:Z
ifne 3
iload 7
iload 8
if_icmple 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
iload 7
iload 8
if_icmpgt 4
iload 8
iload 7
isub
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 9
start local 9 6: iload 4
ifeq 9
7: aload 1
iload 7
iload 5
invokestatic sun.nio.ch.Util.checkBufferPositionAligned:(Ljava/nio/ByteBuffer;II)V
8: iload 9
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
9: StackMap locals: int
StackMap stack:
iload 9
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_0
istore 10
start local 10 12: lload 2
ldc -1
lcmp
ifeq 15
13: aload 6
aload 0
aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 7
i2l
ladd
iload 9
lload 2
invokevirtual sun.nio.ch.NativeDispatcher.pread:(Ljava/io/FileDescriptor;JIJ)I
istore 10
14: goto 16
15: StackMap locals: int
StackMap stack:
aload 6
aload 0
aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 7
i2l
ladd
iload 9
invokevirtual sun.nio.ch.NativeDispatcher.read:(Ljava/io/FileDescriptor;JI)I
istore 10
16: StackMap locals:
StackMap stack:
iload 10
ifle 18
17: aload 1
iload 7
iload 10
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
18: StackMap locals:
StackMap stack:
iload 10
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 fd Ljava/io/FileDescriptor;
0 19 1 bb Ljava/nio/ByteBuffer;
0 19 2 position J
0 19 4 directIO Z
0 19 5 alignment I
0 19 6 nd Lsun/nio/ch/NativeDispatcher;
1 19 7 pos I
2 19 8 lim I
6 19 9 rem I
12 19 10 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bb
position
directIO
alignment
nd
static long read(java.io.FileDescriptor, java.nio.ByteBuffer[], sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;Lsun/nio/ch/NativeDispatcher;)J
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
arraylength
iconst_0
iconst_m1
aload 2
invokestatic sun.nio.ch.IOUtil.read:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 bufs [Ljava/nio/ByteBuffer;
0 1 2 nd Lsun/nio/ch/NativeDispatcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bufs
nd
static long read(java.io.FileDescriptor, java.nio.ByteBuffer[], int, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IILsun/nio/ch/NativeDispatcher;)J
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
iconst_0
iconst_m1
aload 4
invokestatic sun.nio.ch.IOUtil.read:(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 bufs [Ljava/nio/ByteBuffer;
0 1 2 offset I
0 1 3 length I
0 1 4 nd Lsun/nio/ch/NativeDispatcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bufs
offset
length
nd
static long read(java.io.FileDescriptor, java.nio.ByteBuffer[], int, int, boolean, int, sun.nio.ch.NativeDispatcher);
descriptor: (Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=27, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iload 3
invokestatic sun.nio.ch.IOVecWrapper.get:(I)Lsun/nio/ch/IOVecWrapper;
astore 7
start local 7 1: iconst_0
istore 8
start local 8 2: iconst_0
istore 9
start local 9 3: iload 2
iload 3
iadd
istore 10
start local 10 4: iload 2
istore 11
start local 11 5: goto 31
6: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int
StackMap stack:
aload 1
iload 11
aaload
astore 12
start local 12 7: aload 12
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "Read-only buffer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 12
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
start local 13 10: aload 12
invokevirtual java.nio.ByteBuffer.limit:()I
istore 14
start local 14 11: getstatic sun.nio.ch.IOUtil.$assertionsDisabled:Z
ifne 12
iload 13
iload 14
if_icmple 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals: int int
StackMap stack:
iload 13
iload 14
if_icmpgt 13
iload 14
iload 13
isub
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 15
start local 15 15: iload 4
ifeq 17
16: iload 15
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
17: StackMap locals: int
StackMap stack:
iload 15
ifle 30
18: aload 7
iload 9
aload 12
iload 13
iload 15
invokevirtual sun.nio.ch.IOVecWrapper.setBuffer:(ILjava/nio/ByteBuffer;II)V
19: aload 12
instanceof sun.nio.ch.DirectBuffer
ifne 27
20: iload 4
ifeq 23
21: iload 15
iload 5
invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 16
start local 16 22: goto 24
end local 16 23: StackMap locals:
StackMap stack:
iload 15
invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
astore 16
start local 16 24: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 9
aload 16
invokevirtual sun.nio.ch.IOVecWrapper.setShadow:(ILjava/nio/ByteBuffer;)V
25: aload 16
astore 12
26: aload 16
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
end local 16 27: StackMap locals:
StackMap stack:
aload 7
iload 9
aload 12
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 13
i2l
ladd
invokevirtual sun.nio.ch.IOVecWrapper.putBase:(IJ)V
28: aload 7
iload 9
iload 15
i2l
invokevirtual sun.nio.ch.IOVecWrapper.putLen:(IJ)V
29: iinc 9 1
30: StackMap locals:
StackMap stack:
iinc 11 1
end local 15 end local 14 end local 13 end local 12 31: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int
StackMap stack:
iload 11
iload 10
if_icmpge 32
iload 9
getstatic sun.nio.ch.IOUtil.IOV_MAX:I
if_icmplt 6
32: StackMap locals:
StackMap stack:
iload 9
ifne 43
33: iload 8
ifne 42
34: iconst_0
istore 25
start local 25 35: goto 41
36: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int top top top top top top top top top top top top top int
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 26
start local 26 37: aload 26
ifnull 39
38: aload 26
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
39: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 26 40: iinc 25 1
StackMap locals:
StackMap stack:
41: iload 25
iload 9
if_icmplt 36
end local 25 42: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int
StackMap stack:
lconst_0
lreturn
43: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 7
getfield sun.nio.ch.IOVecWrapper.address:J
iload 9
invokevirtual sun.nio.ch.NativeDispatcher.readv:(Ljava/io/FileDescriptor;JI)J
lstore 12
start local 12 44: lload 12
lstore 14
start local 14 45: iconst_0
istore 16
start local 16 46: goto 65
47: StackMap locals: long long int
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 17
start local 17 48: lload 14
lconst_0
lcmp
ifle 61
49: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getBuffer:(I)Ljava/nio/ByteBuffer;
astore 18
start local 18 50: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getRemaining:(I)I
istore 19
start local 19 51: lload 14
iload 19
i2l
lcmp
ifle 52
iload 19
goto 53
StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer int
StackMap stack:
52: lload 14
l2i
StackMap locals:
StackMap stack: int
53: istore 20
start local 20 54: aload 17
ifnonnull 58
55: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getPosition:(I)I
istore 21
start local 21 56: aload 18
iload 21
iload 20
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 21 57: goto 60
58: StackMap locals: int
StackMap stack:
aload 17
aload 17
invokevirtual java.nio.ByteBuffer.position:()I
iload 20
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
59: aload 18
aload 17
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
60: StackMap locals:
StackMap stack:
lload 14
iload 20
i2l
lsub
lstore 14
end local 20 end local 19 end local 18 61: StackMap locals:
StackMap stack:
aload 17
ifnull 63
62: aload 17
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
63: StackMap locals:
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 17 64: iinc 16 1
StackMap locals:
StackMap stack:
65: iload 16
iload 9
if_icmplt 47
end local 16 66: iconst_1
istore 8
67: lload 12
lstore 23
68: iload 8
ifne 77
69: iconst_0
istore 25
start local 25 70: goto 76
71: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int int int long long top top top top top top top long int
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 26
start local 26 72: aload 26
ifnull 74
73: aload 26
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
74: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 26 75: iinc 25 1
StackMap locals:
StackMap stack:
76: iload 25
iload 9
if_icmplt 71
end local 25 77: StackMap locals:
StackMap stack:
lload 23
lreturn
end local 14 end local 12 end local 11 end local 10 78: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int
StackMap stack: java.lang.Throwable
astore 22
79: iload 8
ifne 88
80: iconst_0
istore 25
start local 25 81: goto 87
82: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int top top top top top top top top top top top top java.lang.Throwable top top int
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 26
start local 26 83: aload 26
ifnull 85
84: aload 26
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
85: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 26 86: iinc 25 1
StackMap locals:
StackMap stack:
87: iload 25
iload 9
if_icmplt 82
end local 25 88: StackMap locals: java.io.FileDescriptor java.nio.ByteBuffer[] int int int int sun.nio.ch.NativeDispatcher sun.nio.ch.IOVecWrapper int int top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 22
athrow
end local 9 end local 8 end local 7 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 89 0 fd Ljava/io/FileDescriptor;
0 89 1 bufs [Ljava/nio/ByteBuffer;
0 89 2 offset I
0 89 3 length I
0 89 4 directIO Z
0 89 5 alignment I
0 89 6 nd Lsun/nio/ch/NativeDispatcher;
1 89 7 vec Lsun/nio/ch/IOVecWrapper;
2 89 8 completed Z
3 89 9 iov_len I
4 78 10 count I
5 78 11 i I
7 31 12 buf Ljava/nio/ByteBuffer;
10 31 13 pos I
11 31 14 lim I
15 31 15 rem I
22 23 16 shadow Ljava/nio/ByteBuffer;
24 27 16 shadow Ljava/nio/ByteBuffer;
44 78 12 bytesRead J
45 78 14 left J
46 66 16 j I
48 64 17 shadow Ljava/nio/ByteBuffer;
50 61 18 buf Ljava/nio/ByteBuffer;
51 61 19 rem I
54 61 20 n I
56 57 21 pos I
35 42 25 j I
70 77 25 j I
81 88 25 j I
37 40 26 shadow Ljava/nio/ByteBuffer;
72 75 26 shadow Ljava/nio/ByteBuffer;
83 86 26 shadow Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 33 78 any
43 68 78 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
bufs
offset
length
directIO
alignment
nd
public static java.io.FileDescriptor newFD(int);
descriptor: (I)Ljava/io/FileDescriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 1
start local 1 1: aload 1
iload 0
invokestatic sun.nio.ch.IOUtil.setfdVal:(Ljava/io/FileDescriptor;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
1 3 1 fd Ljava/io/FileDescriptor;
MethodParameters:
Name Flags
i
static native boolean randomBytes(byte[]);
descriptor: ([B)Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
someBytes
static native long makePipe(boolean);
descriptor: (Z)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
blocking
static native int write1(int, byte);
descriptor: (IB)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
b
static native boolean drain(int);
descriptor: (I)Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static native int drain1(int);
descriptor: (I)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
public static native void configureBlocking(java.io.FileDescriptor, boolean);
descriptor: (Ljava/io/FileDescriptor;Z)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
blocking
public static native int fdVal(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
static native void setfdVal(java.io.FileDescriptor, int);
descriptor: (Ljava/io/FileDescriptor;I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
value
static native int fdLimit();
descriptor: ()I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native int iovMax();
descriptor: ()I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native void initIDs();
descriptor: ()V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
public static void load();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "IOUtil.java"