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=2, 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: new sun.nio.ch.IOUtil$1
dup
invokespecial sun.nio.ch.IOUtil$1.<init>:()V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
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 4
1: aload 0
aload 1
lload 2
2: iload 4
iload 5
aload 6
3: invokestatic sun.nio.ch.IOUtil.writeFromNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 7
start local 7 5: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 8
start local 8 6: getstatic sun.nio.ch.IOUtil.$assertionsDisabled:Z
ifne 7
iload 7
iload 8
if_icmple 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: int int
StackMap stack:
iload 7
iload 8
if_icmpgt 8
iload 8
iload 7
isub
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 9
start local 9 10: iload 4
ifeq 14
11: iload 9
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
12: iload 9
iload 5
invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 10
start local 10 13: goto 15
end local 10 14: StackMap locals: int
StackMap stack:
iload 9
invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
astore 10
start local 10 15: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 10
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
16: aload 10
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
17: aload 1
iload 7
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
18: aload 0
aload 10
lload 2
19: iload 4
iload 5
aload 6
20: invokestatic sun.nio.ch.IOUtil.writeFromNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
istore 11
start local 11 21: iload 11
ifle 23
22: aload 1
iload 7
iload 11
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
23: StackMap locals: int
StackMap stack:
iload 11
istore 13
24: aload 10
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
25: iload 13
ireturn
end local 11 26: 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
27: aload 10
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
28: 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 29 0 fd Ljava/io/FileDescriptor;
0 29 1 src Ljava/nio/ByteBuffer;
0 29 2 position J
0 29 4 directIO Z
0 29 5 alignment I
0 29 6 nd Lsun/nio/ch/NativeDispatcher;
5 29 7 pos I
6 29 8 lim I
10 29 9 rem I
13 14 10 bb Ljava/nio/ByteBuffer;
15 29 10 bb Ljava/nio/ByteBuffer;
21 26 11 n I
Exception table:
from to target type
15 24 26 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 34
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 33
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 30
18: iload 4
ifeq 23
19: iload 15
20: iload 5
21: 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 16
aload 12
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
25: aload 16
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
26: aload 7
iload 9
aload 16
invokevirtual sun.nio.ch.IOVecWrapper.setShadow:(ILjava/nio/ByteBuffer;)V
27: aload 12
iload 13
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
28: aload 16
astore 12
29: aload 16
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
end local 16 30: 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
31: aload 7
iload 9
iload 15
i2l
invokevirtual sun.nio.ch.IOVecWrapper.putLen:(IJ)V
32: iinc 9 1
33: StackMap locals:
StackMap stack:
iinc 11 1
end local 15 end local 14 end local 13 end local 12 34: 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 35
iload 9
getstatic sun.nio.ch.IOUtil.IOV_MAX:I
if_icmplt 6
35: StackMap locals:
StackMap stack:
iload 9
ifne 46
36: iload 8
ifne 45
37: iconst_0
istore 24
start local 24 38: goto 44
39: 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 40: aload 25
ifnull 42
41: aload 25
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
42: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 25 43: iinc 24 1
StackMap locals:
StackMap stack:
44: iload 24
iload 9
if_icmplt 39
end local 24 45: 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
46: 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 47: lload 12
lstore 14
start local 14 48: iconst_0
istore 16
start local 16 49: goto 64
50: StackMap locals: long long int
StackMap stack:
lload 14
lconst_0
lcmp
ifle 59
51: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getBuffer:(I)Ljava/nio/ByteBuffer;
astore 17
start local 17 52: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getPosition:(I)I
istore 18
start local 18 53: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getRemaining:(I)I
istore 19
start local 19 54: lload 14
iload 19
i2l
lcmp
ifle 55
iload 19
goto 56
StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
55: lload 14
l2i
StackMap locals:
StackMap stack: int
56: istore 20
start local 20 57: aload 17
iload 18
iload 20
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
58: lload 14
iload 20
i2l
lsub
lstore 14
end local 20 end local 19 end local 18 end local 17 59: StackMap locals:
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getShadow:(I)Ljava/nio/ByteBuffer;
astore 17
start local 17 60: aload 17
ifnull 62
61: aload 17
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
62: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 17 63: iinc 16 1
StackMap locals:
StackMap stack:
64: iload 16
iload 9
if_icmplt 50
end local 16 65: iconst_1
istore 8
66: lload 12
lstore 22
67: iload 8
ifne 76
68: iconst_0
istore 24
start local 24 69: goto 75
70: 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 71: aload 25
ifnull 73
72: aload 25
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
73: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 25 74: iinc 24 1
StackMap locals:
StackMap stack:
75: iload 24
iload 9
if_icmplt 70
end local 24 76: StackMap locals:
StackMap stack:
lload 22
lreturn
end local 14 end local 12 end local 11 end local 10 77: 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
78: iload 8
ifne 87
79: iconst_0
istore 24
start local 24 80: goto 86
81: 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 82: aload 25
ifnull 84
83: aload 25
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
84: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 24
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 25 85: iinc 24 1
StackMap locals:
StackMap stack:
86: iload 24
iload 9
if_icmplt 81
end local 24 87: 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 88 0 fd Ljava/io/FileDescriptor;
0 88 1 bufs [Ljava/nio/ByteBuffer;
0 88 2 offset I
0 88 3 length I
0 88 4 directIO Z
0 88 5 alignment I
0 88 6 nd Lsun/nio/ch/NativeDispatcher;
1 88 7 vec Lsun/nio/ch/IOVecWrapper;
2 88 8 completed Z
3 88 9 iov_len I
4 77 10 count I
5 77 11 i I
7 34 12 buf Ljava/nio/ByteBuffer;
8 34 13 pos I
9 34 14 lim I
13 34 15 rem I
22 23 16 shadow Ljava/nio/ByteBuffer;
24 30 16 shadow Ljava/nio/ByteBuffer;
47 77 12 bytesWritten J
48 77 14 left J
49 65 16 j I
52 59 17 buf Ljava/nio/ByteBuffer;
53 59 18 pos I
54 59 19 rem I
57 59 20 n I
60 63 17 shadow Ljava/nio/ByteBuffer;
38 45 24 j I
69 76 24 j I
80 87 24 j I
40 43 25 shadow Ljava/nio/ByteBuffer;
71 74 25 shadow Ljava/nio/ByteBuffer;
82 85 25 shadow Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 36 77 any
46 67 77 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 6
3: aload 0
aload 1
lload 2
4: iload 4
iload 5
aload 6
5: invokestatic sun.nio.ch.IOUtil.readIntoNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 8
start local 8 7: iload 4
ifeq 13
8: iload 8
iload 5
invokestatic sun.nio.ch.Util.checkRemainingBufferSizeAligned:(II)V
9: iload 8
10: iload 5
11: invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 7
start local 7 12: goto 14
end local 7 13: 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 14: 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
15: iload 4
iload 5
aload 6
16: invokestatic sun.nio.ch.IOUtil.readIntoNativeBuffer:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I
istore 9
start local 9 17: aload 7
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
18: iload 9
ifle 20
19: aload 1
aload 7
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
20: StackMap locals: int
StackMap stack:
iload 9
istore 11
21: aload 7
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
22: iload 11
ireturn
end local 9 23: 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
24: aload 7
invokestatic sun.nio.ch.Util.offerFirstTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
25: 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 26 0 fd Ljava/io/FileDescriptor;
0 26 1 dst Ljava/nio/ByteBuffer;
0 26 2 position J
0 26 4 directIO Z
0 26 5 alignment I
0 26 6 nd Lsun/nio/ch/NativeDispatcher;
12 13 7 bb Ljava/nio/ByteBuffer;
14 26 7 bb Ljava/nio/ByteBuffer;
7 26 8 rem I
17 23 9 n I
Exception table:
from to target type
14 21 23 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 17
13: aload 6
aload 0
aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
iload 7
i2l
ladd
14: iload 9
lload 2
15: invokevirtual sun.nio.ch.NativeDispatcher.pread:(Ljava/io/FileDescriptor;JIJ)I
istore 10
16: goto 18
17: 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
18: StackMap locals:
StackMap stack:
iload 10
ifle 20
19: aload 1
iload 7
iload 10
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
20: 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 21 0 fd Ljava/io/FileDescriptor;
0 21 1 bb Ljava/nio/ByteBuffer;
0 21 2 position J
0 21 4 directIO Z
0 21 5 alignment I
0 21 6 nd Lsun/nio/ch/NativeDispatcher;
1 21 7 pos I
2 21 8 lim I
6 21 9 rem I
12 21 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 33
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 32
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 29
20: iload 4
ifeq 25
21: iload 15
22: iload 5
23: invokestatic sun.nio.ch.Util.getTemporaryAlignedDirectBuffer:(II)Ljava/nio/ByteBuffer;
astore 16
start local 16 24: goto 26
end local 16 25: StackMap locals:
StackMap stack:
iload 15
invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
astore 16
start local 16 26: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 9
aload 16
invokevirtual sun.nio.ch.IOVecWrapper.setShadow:(ILjava/nio/ByteBuffer;)V
27: aload 16
astore 12
28: aload 16
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
end local 16 29: 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
30: aload 7
iload 9
iload 15
i2l
invokevirtual sun.nio.ch.IOVecWrapper.putLen:(IJ)V
31: iinc 9 1
32: StackMap locals:
StackMap stack:
iinc 11 1
end local 15 end local 14 end local 13 end local 12 33: 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 34
iload 9
getstatic sun.nio.ch.IOUtil.IOV_MAX:I
if_icmplt 6
34: StackMap locals:
StackMap stack:
iload 9
ifne 45
35: iload 8
ifne 44
36: iconst_0
istore 25
start local 25 37: goto 43
38: 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 39: aload 26
ifnull 41
40: aload 26
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
41: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 26 42: iinc 25 1
StackMap locals:
StackMap stack:
43: iload 25
iload 9
if_icmplt 38
end local 25 44: 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
45: 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 46: lload 12
lstore 14
start local 14 47: iconst_0
istore 16
start local 16 48: goto 67
49: 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 50: lload 14
lconst_0
lcmp
ifle 63
51: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getBuffer:(I)Ljava/nio/ByteBuffer;
astore 18
start local 18 52: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getRemaining:(I)I
istore 19
start local 19 53: lload 14
iload 19
i2l
lcmp
ifle 54
iload 19
goto 55
StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer int
StackMap stack:
54: lload 14
l2i
StackMap locals:
StackMap stack: int
55: istore 20
start local 20 56: aload 17
ifnonnull 60
57: aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.getPosition:(I)I
istore 21
start local 21 58: aload 18
iload 21
iload 20
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 21 59: goto 62
60: 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
61: aload 18
aload 17
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
62: StackMap locals:
StackMap stack:
lload 14
iload 20
i2l
lsub
lstore 14
end local 20 end local 19 end local 18 63: StackMap locals:
StackMap stack:
aload 17
ifnull 65
64: aload 17
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
65: StackMap locals:
StackMap stack:
aload 7
iload 16
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 17 66: iinc 16 1
StackMap locals:
StackMap stack:
67: iload 16
iload 9
if_icmplt 49
end local 16 68: iconst_1
istore 8
69: lload 12
lstore 23
70: iload 8
ifne 79
71: iconst_0
istore 25
start local 25 72: goto 78
73: 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 74: aload 26
ifnull 76
75: aload 26
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
76: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 26 77: iinc 25 1
StackMap locals:
StackMap stack:
78: iload 25
iload 9
if_icmplt 73
end local 25 79: StackMap locals:
StackMap stack:
lload 23
lreturn
end local 14 end local 12 end local 11 end local 10 80: 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
81: iload 8
ifne 90
82: iconst_0
istore 25
start local 25 83: goto 89
84: 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 85: aload 26
ifnull 87
86: aload 26
invokestatic sun.nio.ch.Util.offerLastTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
87: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 7
iload 25
invokevirtual sun.nio.ch.IOVecWrapper.clearRefs:(I)V
end local 26 88: iinc 25 1
StackMap locals:
StackMap stack:
89: iload 25
iload 9
if_icmplt 84
end local 25 90: 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 91 0 fd Ljava/io/FileDescriptor;
0 91 1 bufs [Ljava/nio/ByteBuffer;
0 91 2 offset I
0 91 3 length I
0 91 4 directIO Z
0 91 5 alignment I
0 91 6 nd Lsun/nio/ch/NativeDispatcher;
1 91 7 vec Lsun/nio/ch/IOVecWrapper;
2 91 8 completed Z
3 91 9 iov_len I
4 80 10 count I
5 80 11 i I
7 33 12 buf Ljava/nio/ByteBuffer;
10 33 13 pos I
11 33 14 lim I
15 33 15 rem I
24 25 16 shadow Ljava/nio/ByteBuffer;
26 29 16 shadow Ljava/nio/ByteBuffer;
46 80 12 bytesRead J
47 80 14 left J
48 68 16 j I
50 66 17 shadow Ljava/nio/ByteBuffer;
52 63 18 buf Ljava/nio/ByteBuffer;
53 63 19 rem I
56 63 20 n I
58 59 21 pos I
37 44 25 j I
72 79 25 j I
83 90 25 j I
39 42 26 shadow Ljava/nio/ByteBuffer;
74 77 26 shadow Ljava/nio/ByteBuffer;
85 88 26 shadow Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 35 80 any
45 70 80 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
MethodParameters:
Name Flags
blocking
static native boolean drain(int);
descriptor: (I)Z
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"
NestMembers:
sun.nio.ch.IOUtil$1
InnerClasses:
sun.nio.ch.IOUtil$1