class sun.nio.ch.PipeImpl extends java.nio.channels.Pipe
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.PipeImpl
super_class: java.nio.channels.Pipe
{
private final java.nio.channels.Pipe$SourceChannel source;
descriptor: Ljava/nio/channels/Pipe$SourceChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.Pipe$SinkChannel sink;
descriptor: Ljava/nio/channels/Pipe$SinkChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.nio.channels.spi.SelectorProvider);
descriptor: (Ljava/nio/channels/spi/SelectorProvider;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.nio.channels.Pipe.<init>:()V
1: iconst_1
invokestatic sun.nio.ch.IOUtil.makePipe:(Z)J
lstore 2
start local 2 2: lload 2
bipush 32
lushr
l2i
istore 4
start local 4 3: lload 2
l2i
istore 5
start local 5 4: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 6
start local 6 5: aload 6
iload 4
invokestatic sun.nio.ch.IOUtil.setfdVal:(Ljava/io/FileDescriptor;I)V
6: aload 0
new sun.nio.ch.SourceChannelImpl
dup
aload 1
aload 6
invokespecial sun.nio.ch.SourceChannelImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
putfield sun.nio.ch.PipeImpl.source:Ljava/nio/channels/Pipe$SourceChannel;
7: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 7
start local 7 8: aload 7
iload 5
invokestatic sun.nio.ch.IOUtil.setfdVal:(Ljava/io/FileDescriptor;I)V
9: aload 0
new sun.nio.ch.SinkChannelImpl
dup
aload 1
aload 7
invokespecial sun.nio.ch.SinkChannelImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
putfield sun.nio.ch.PipeImpl.sink:Ljava/nio/channels/Pipe$SinkChannel;
10: return
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 11 0 this Lsun/nio/ch/PipeImpl;
0 11 1 sp Ljava/nio/channels/spi/SelectorProvider;
2 11 2 pipeFds J
3 11 4 readFd I
4 11 5 writeFd I
5 11 6 sourcefd Ljava/io/FileDescriptor;
8 11 7 sinkfd Ljava/io/FileDescriptor;
MethodParameters:
Name Flags
sp
public java.nio.channels.Pipe$SourceChannel source();
descriptor: ()Ljava/nio/channels/Pipe$SourceChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.PipeImpl.source:Ljava/nio/channels/Pipe$SourceChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/PipeImpl;
public java.nio.channels.Pipe$SinkChannel sink();
descriptor: ()Ljava/nio/channels/Pipe$SinkChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.PipeImpl.sink:Ljava/nio/channels/Pipe$SinkChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/PipeImpl;
}
SourceFile: "PipeImpl.java"
InnerClasses:
public abstract SinkChannel = java.nio.channels.Pipe$SinkChannel of java.nio.channels.Pipe
public abstract SourceChannel = java.nio.channels.Pipe$SourceChannel of java.nio.channels.Pipe