class sun.nio.ch.UnixDomainSocketChannelImpl extends java.nio.channels.spi.AbstractInterruptibleChannel implements java.nio.channels.ByteChannel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.UnixDomainSocketChannelImpl
super_class: java.nio.channels.spi.AbstractInterruptibleChannel
{
private static final sun.nio.ch.NativeDispatcher nd;
descriptor: Lsun/nio/ch/NativeDispatcher;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.io.FileDescriptor fd;
descriptor: Ljava/io/FileDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.ReentrantLock readLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.ReentrantLock writeLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object stateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int ST_INUSE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int ST_CLOSING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int ST_CLOSED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long readerThread;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long writerThread;
descriptor: J
flags: (0x0002) ACC_PRIVATE
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/UnixDomainSocketChannelImpl;
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.UnixDomainSocketChannelImpl.$assertionsDisabled:Z
3: new sun.nio.ch.SocketDispatcher
dup
invokespecial sun.nio.ch.SocketDispatcher.<init>:()V
putstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.nio.channels.spi.AbstractInterruptibleChannel.<init>:()V
1: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield sun.nio.ch.UnixDomainSocketChannelImpl.readLock:Ljava/util/concurrent/locks/ReentrantLock;
2: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield sun.nio.ch.UnixDomainSocketChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
3: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
4: aload 0
aload 1
putfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
0 6 1 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.isOpen:()Z
ifne 2
1: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
Exceptions:
throws java.nio.channels.ClosedChannelException
private boolean tryClose();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.UnixDomainSocketChannelImpl.$assertionsDisabled:Z
ifne 2
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.state:I
iconst_1
if_icmpeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.readerThread:J
lconst_0
lcmp
ifne 6
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.writerThread:J
lconst_0
lcmp
ifne 6
3: aload 0
iconst_2
putfield sun.nio.ch.UnixDomainSocketChannelImpl.state:I
4: getstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
invokevirtual sun.nio.ch.NativeDispatcher.close:(Ljava/io/FileDescriptor;)V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
Exceptions:
throws java.io.IOException
private void tryFinishClose();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.tryClose:()Z
pop
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
Exception table:
from to target type
0 1 2 Class java.io.IOException
private void beginRead();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.begin:()V
1: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.ensureOpen:()V
3: aload 0
invokestatic sun.nio.ch.NativeThread.current:()J
putfield sun.nio.ch.UnixDomainSocketChannelImpl.readerThread:J
4: aload 1
monitorexit
5: goto 8
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
Exception table:
from to target type
2 5 6 any
6 7 6 any
Exceptions:
throws java.nio.channels.ClosedChannelException
private void endRead(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
lconst_0
putfield sun.nio.ch.UnixDomainSocketChannelImpl.readerThread:J
2: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.state:I
iconst_1
if_icmpne 4
3: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.tryFinishClose:()V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.end:(Z)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
0 10 1 completed Z
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.nio.channels.AsynchronousCloseException
MethodParameters:
Name Flags
completed
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.readLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: iconst_0
istore 2
start local 2 3: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.beginRead:()V
4: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
aload 1
ldc -1
getstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
invokestatic sun.nio.ch.IOUtil.read:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
istore 2
5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
getstatic sun.nio.ch.Net.POLLIN:S
lconst_0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.park:(IJ)V
7: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
aload 1
ldc -1
getstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
invokestatic sun.nio.ch.IOUtil.read:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
istore 2
8: StackMap locals:
StackMap stack:
iload 2
i2l
invokestatic sun.nio.ch.IOStatus.okayToRetry:(J)Z
ifeq 15
aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.isOpen:()Z
ifne 6
9: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 0
iload 2
ifle 12
iconst_1
goto 13
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer int java.lang.Throwable
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl
12: iconst_0
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer int java.lang.Throwable
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl int
13: invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.endRead:(Z)V
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
aload 0
iload 2
ifle 16
iconst_1
goto 17
StackMap locals:
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl
16: iconst_0
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer int
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl int
17: invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.endRead:(Z)V
18: iload 2
istore 5
19: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.readLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
20: iload 5
ireturn
end local 2 21: StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer
StackMap stack: java.lang.Throwable
astore 4
22: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.readLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
23: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
0 24 1 buf Ljava/nio/ByteBuffer;
3 21 2 n I
Exception table:
from to target type
3 10 10 any
2 19 21 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
private void beginWrite();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.begin:()V
1: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.ensureOpen:()V
3: aload 0
invokestatic sun.nio.ch.NativeThread.current:()J
putfield sun.nio.ch.UnixDomainSocketChannelImpl.writerThread:J
4: aload 1
monitorexit
5: goto 8
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
Exception table:
from to target type
2 5 6 any
6 7 6 any
Exceptions:
throws java.nio.channels.ClosedChannelException
private void endWrite(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
lconst_0
putfield sun.nio.ch.UnixDomainSocketChannelImpl.writerThread:J
2: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.state:I
iconst_1
if_icmpne 4
3: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.tryFinishClose:()V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.end:(Z)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
0 10 1 completed Z
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.nio.channels.AsynchronousCloseException
MethodParameters:
Name Flags
completed
void park(int, long);
descriptor: (IJ)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: lload 2
lconst_0
lcmp
ifgt 3
1: ldc -1
lstore 4
start local 4 2: goto 4
end local 4 3: StackMap locals:
StackMap stack:
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
lload 2
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 4
start local 4 4: StackMap locals: long
StackMap stack:
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
iload 1
lload 4
invokestatic sun.nio.ch.Net.poll:(Ljava/io/FileDescriptor;IJ)I
pop
5: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
0 6 1 event I
0 6 2 nanos J
2 3 4 millis J
4 6 4 millis J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
event
nanos
public int write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: iconst_0
istore 2
start local 2 3: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.beginWrite:()V
4: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
aload 1
ldc -1
getstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
istore 2
5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
getstatic sun.nio.ch.Net.POLLOUT:S
lconst_0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.park:(IJ)V
7: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
aload 1
ldc -1
getstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
invokestatic sun.nio.ch.IOUtil.write:(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JLsun/nio/ch/NativeDispatcher;)I
istore 2
8: StackMap locals:
StackMap stack:
iload 2
i2l
invokestatic sun.nio.ch.IOStatus.okayToRetry:(J)Z
ifeq 15
aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.isOpen:()Z
ifne 6
9: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 0
iload 2
ifle 12
iconst_1
goto 13
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer int java.lang.Throwable
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl
12: iconst_0
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer int java.lang.Throwable
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl int
13: invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.endWrite:(Z)V
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
aload 0
iload 2
ifle 16
iconst_1
goto 17
StackMap locals:
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl
16: iconst_0
StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer int
StackMap stack: sun.nio.ch.UnixDomainSocketChannelImpl int
17: invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.endWrite:(Z)V
18: iload 2
istore 5
19: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
20: iload 5
ireturn
end local 2 21: StackMap locals: sun.nio.ch.UnixDomainSocketChannelImpl java.nio.ByteBuffer
StackMap stack: java.lang.Throwable
astore 4
22: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.writeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
23: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
0 24 1 buf Ljava/nio/ByteBuffer;
3 21 2 n I
Exception table:
from to target type
3 10 10 any
2 19 21 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
protected void implCloseChannel();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: getstatic sun.nio.ch.UnixDomainSocketChannelImpl.$assertionsDisabled:Z
ifne 2
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.state:I
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
iconst_1
putfield sun.nio.ch.UnixDomainSocketChannelImpl.state:I
3: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.tryClose:()Z
ifne 12
4: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.readerThread:J
lstore 2
start local 2 5: aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.writerThread:J
lstore 4
start local 4 6: lload 2
lconst_0
lcmp
ifne 7
lload 4
lconst_0
lcmp
ifeq 12
7: StackMap locals: long long
StackMap stack:
getstatic sun.nio.ch.UnixDomainSocketChannelImpl.nd:Lsun/nio/ch/NativeDispatcher;
aload 0
getfield sun.nio.ch.UnixDomainSocketChannelImpl.fd:Ljava/io/FileDescriptor;
invokevirtual sun.nio.ch.NativeDispatcher.preClose:(Ljava/io/FileDescriptor;)V
8: lload 2
lconst_0
lcmp
ifeq 10
9: lload 2
invokestatic sun.nio.ch.NativeThread.signal:(J)V
10: StackMap locals:
StackMap stack:
lload 4
lconst_0
lcmp
ifeq 12
11: lload 4
invokestatic sun.nio.ch.NativeThread.signal:(J)V
end local 4 end local 2 12: StackMap locals:
StackMap stack:
aload 1
monitorexit
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 1
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
5 12 2 reader J
6 12 4 writer J
Exception table:
from to target type
1 13 14 any
14 15 14 any
Exceptions:
throws java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 0
invokevirtual sun.nio.ch.UnixDomainSocketChannelImpl.isOpen:()Z
ifne 5
4: aload 1
ldc "closed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/UnixDomainSocketChannelImpl;
1 7 1 sb Ljava/lang/StringBuilder;
}
SourceFile: "UnixDomainSocketChannelImpl.java"