21 Commits

Author SHA1 Message Date
Alex Kashchenko
690b960c8f 8216472: (se) Stack overflow during selection operation leads to crash (win)
Reviewed-by: alanb
2019-11-09 09:13:04 +00:00
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Mikael Vidstedt
2e6e33eba1 Merge 2019-08-05 16:27:30 -07:00
Alan Bateman
d5ceec68b4 8229018: Switching to an infinite socket timeout on Windows leads to high CPU load
Reviewed-by: michaelm
2019-08-05 10:40:36 +01:00
Brian Burkhalter
a8af569fa0 8184157: (ch) AsynchronousFileChannel hangs with internal error when reading locked file
Reviewed-by: alanb
2019-07-25 11:44:37 -07:00
Brian Burkhalter
179d586e72 8223813: (aio) Iocp.getErrorMessage should drop trailing \r\n
Reviewed-by: alanb, igerasim, rriggs
2019-06-13 13:43:34 -07:00
Alan Bateman
a817ac3456 8223442: java/nio/channels/SocketChannel/AdaptorStreams.java testConcurrentTimedReadWrite3(): failure
Reviewed-by: michaelm
2019-05-16 17:06:53 +01:00
Brian Burkhalter
b5e3a8220b 8221531: Incorrect copyright header in src/java.base/windows/native/libnio/ch/FileChannelImpl.c
Reviewed-by: lancea, bchristi
2019-03-27 13:00:57 -07:00
Alan Bateman
3a4d5db248 8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Alan Bateman
c306e3f059 8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Alan Bateman
779991a9c8 8217500: (sc) Move SocketChannelImpl's remaining native methods to Net
Reviewed-by: bpb
2019-01-23 13:16:16 +00:00
Alan Bateman
755872aa82 8217461: (ch) Add Net.available to return the number of bytes in the socket input buffer
Reviewed-by: clanger, michaelm
2019-01-22 16:39:52 +00:00
Brian Burkhalter
8f189f6214 8206301: Improve NIO stability
Reviewed-by: alanb, mschoene, rhalade
2018-07-19 07:02:42 -07:00
Alan Bateman
2df7aa7b9f 8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
Reviewed-by: bpb
2018-04-26 09:04:18 +01:00
Alan Bateman
889a041f22 8198928: (so) SocketChannel connect may deadlock if closed at around same time that connect fails
Reviewed-by: bpb, mli
2018-03-07 07:13:55 +00:00
Gary Adams
40f004ad8c 8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()
Reviewed-by: erikj, clanger, chegar
2018-02-08 09:24:44 -05:00
Alan Bateman
8deac7d09b 8196787: (ch) Moving network channels to use j.u.c locks
Reviewed-by: prappo, rriggs
2018-02-06 16:04:46 +00:00
Brian Burkhalter
ec54b10f21 8170495: JNI primitive type mismatch in SocketDispatcher.c:187
Cast DWORD 'written' to a jint before adding to 'count'

Reviewed-by: alanb, rriggs
2017-12-12 15:43:48 -08:00
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Lucy Lu
ec1c3bce45 8164900: Add support for O_DIRECT
Add support for Direct I/O in FileChannel

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00