jdk/src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java
changeset 34774 03b4e6dc367b
parent 29986 97167d851fc4
child 36115 0676e37a0b9c
equal deleted inserted replaced
34764:f9bcdce2df26 34774:03b4e6dc367b
    56 
    56 
    57     // The protocol family of the socket
    57     // The protocol family of the socket
    58     private final ProtocolFamily family;
    58     private final ProtocolFamily family;
    59 
    59 
    60     // IDs of native threads doing reads and writes, for signalling
    60     // IDs of native threads doing reads and writes, for signalling
    61     private volatile long readerThread = 0;
    61     private volatile long readerThread;
    62     private volatile long writerThread = 0;
    62     private volatile long writerThread;
    63 
    63 
    64     // Cached InetAddress and port for unconnected DatagramChannels
    64     // Cached InetAddress and port for unconnected DatagramChannels
    65     // used by receive0
    65     // used by receive0
    66     private InetAddress cachedSenderInetAddress;
    66     private InetAddress cachedSenderInetAddress;
    67     private int cachedSenderPort;
    67     private int cachedSenderPort;