src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java
changeset 48761 74c1fa26435a
parent 48750 ffbb784a8873
child 49001 ce06058197a4
equal deleted inserted replaced
48760:25725c11c296 48761:74c1fa26435a
    66     // Used to make native read and write calls
    66     // Used to make native read and write calls
    67     private static NativeDispatcher nd;
    67     private static NativeDispatcher nd;
    68 
    68 
    69     // Our file descriptor object
    69     // Our file descriptor object
    70     private final FileDescriptor fd;
    70     private final FileDescriptor fd;
    71 
       
    72     // fd value needed for dev/poll. This value will remain valid
       
    73     // even after the value in the file descriptor object has been set to -1
       
    74     private final int fdVal;
    71     private final int fdVal;
    75 
    72 
    76     // IDs of native threads doing reads and writes, for signalling
    73     // IDs of native threads doing reads and writes, for signalling
    77     private volatile long readerThread;
    74     private volatile long readerThread;
    78     private volatile long writerThread;
    75     private volatile long writerThread;