Daniel Jeliński
baf11e734f
8303814: getLastErrorString should avoid charset conversions
...
Reviewed-by: naoto, cjplummer, rriggs
2023-03-14 17:18:56 +00:00
Alan Bateman
dd79410824
8303509: Socket setTrafficClass does not work for IPv4 connections when IPv6 enabled
...
Reviewed-by: djelinski, michaelm
2023-03-09 08:13:57 +00:00
Julian Waters
8d751de319
8295231: Move all linking of native libraries to make
...
Reviewed-by: ihse, erikj
2022-10-17 20:57:26 +00:00
Brian Burkhalter
48cc15602b
8293331: Refactor FileDispatcherImpl into operating system-specific components
...
Reviewed-by: alanb
2022-09-22 15:59:05 +00:00
Brian Burkhalter
c74b6d4552
8292562: (fc) Use copy_file_range in FileChannel::transferTo on Linux
...
Reviewed-by: alanb
2022-08-26 16:12:58 +00:00
Daniel Jeliński
04c47da118
8289768: Clean up unused code
...
Reviewed-by: dfuchs, lancea, weijun, naoto, cjplummer, alanb, michaelm, chegar
2022-07-12 11:30:17 +00:00
Alexey Ivanov
e0d361cea9
8284191: Replace usages of 'a the' in hotspot and java.base
...
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Brian Burkhalter
d8b0b32f9f
8286763: [REDO] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-18 15:55:21 +00:00
Brian Burkhalter
e934a2c752
8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows
...
Reviewed-by: uschindler, mcimadamore, jvernee, alanb
2022-05-18 14:49:44 +00:00
Brian Burkhalter
583a61aabb
8286671: (fc) Modify sun.nio.ch.FileChannelImpl.map0() to accept a FileDescriptor parameter
...
Reviewed-by: alanb, jpai
2022-05-13 17:46:52 +00:00
Brian Burkhalter
369611ea34
8286677: [BACKOUT] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: dholmes, mikael
2022-05-12 22:37:42 +00:00
Brian Burkhalter
986d87dcc0
8274113: (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-12 18:49:58 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Daniel Jeliński
36fbec78be
8280241: (aio) AsynchronousSocketChannel init fails in IPv6 only Windows env
...
Reviewed-by: dfuchs, alanb
2022-01-25 11:15:47 +00:00
Brian Burkhalter
07b1f1c282
8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6
...
Reviewed-by: alanb
2021-10-12 15:25:53 +00:00
Brian Burkhalter
e2c5bfe083
8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call
...
Reviewed-by: alanb, vtewari
2021-08-05 16:10:04 +00:00
Michael McMahon
61ab4b9d18
8267564: JDK-8252971 causes SPECjbb2015 socket exceptions on Windows when MKS is installed
...
Reviewed-by: alanb
2021-06-08 07:58:54 +00:00
Alan Bateman
be4f25b0c8
8266369: (se) Add wepoll based Selector
...
Reviewed-by: chegar, michaelm, vtewari, dfuchs, bpb
2021-05-08 07:14:36 +00:00
Chris Hegarty
3c9858ddfb
8264827: Large mapped buffer/segment crash the VM when calling isLoaded
...
Reviewed-by: alanb, mcimadamore
2021-04-12 11:21:34 +00:00
Brian Burkhalter
353807c5f1
8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win)
...
Reviewed-by: jpai, alanb
2021-03-30 18:18:37 +00:00
Brian Burkhalter
46d78f0d24
6539707: (fc) MappedByteBuffer.force() method throws an IOException in a very simple test
...
Reviewed-by: alanb
2021-03-15 17:24:24 +00:00
Michael McMahon
9ffabf30c3
8252971: WindowsFileAttributes does not know about Unix domain sockets
...
Reviewed-by: alanb
2021-02-12 13:08:08 +00:00
Michael McMahon
fb68395dcd
8259014: (so) ServerSocketChannel.bind(UnixDomainSocketAddress)/SocketChannel.bind(UnixDomainSocketAddress) will have unknown user and group owner (win)
...
Reviewed-by: alanb
2021-01-08 15:59:45 +00:00
Michael McMahon
6bb7e45e8e
8245194: Unix domain socket channel implementation
...
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Nikola Grcevski
c2fa441d8d
8250521: Configure initial RTO to use minimal retry for loopback connections on Windows
...
Reviewed-by: alanb
2020-08-10 12:57:38 +01:00
Chris Hegarty
f3eb44a94d
8243491: Implementation of Foreign-Memory Access API (Second Incubator)
...
Upstream latest changes of the Foreign-Memory Access API
Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Alan Bateman
6ef474a4f4
8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
...
Reviewed-by: redestad, dfuchs
2020-01-18 19:11:28 +00:00
Alan Bateman
27e0cdf12d
8236184: (dc) IP_MULTICAST_* and IP_TOS socket options not effective
...
Reviewed-by: dfuchs
2019-12-19 08:36:40 +00:00
Alan Bateman
e7d68cd13b
8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
...
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Alan Bateman
f3e90595aa
8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation
...
Reviewed-by: dfuchs, chegar
2019-11-30 16:21:19 +00:00
Alan Bateman
090dc51a4e
8233435: (dc) DatagramChannel should allow IPv6 socket join IPv4 multicast groups (macOS, win)
...
Reviewed-by: dfuchs
2019-11-09 11:48:37 +00:00
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
5952e2bc64
8221852: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE should be selected at runtime, not build time
...
Reviewed-by: alanb, shade
2019-04-09 12:17:03 -07:00
Aleksey Shipilev
bf33260958
8221824: Build failure with MSVS 2013 after JDK-8218418
...
Reviewed-by: stuefe, alanb
2019-04-02 17:10:09 +02:00
Brian Burkhalter
07991d3f2d
8218418: (fs) Files.createSymbolicLink should use SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE (win)
...
Reviewed-by: alanb
2019-04-01 15:59:45 -07: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
Matthias Baesken
968f65c036
8213366: (fs) avoid handle leak in Java_sun_nio_fs_WindowsNativeDispatcher_FindFirstFile0
...
Reviewed-by: alanb, chegar
2018-11-07 09:13:37 +01:00
Ivan Gerasimov
78f3c8a7d4
8207145: (fs) Native memory leak in WindowsNativeDispatcher.LookupPrivilegeValue0
...
Reviewed-by: alanb
2018-07-12 06:04:57 -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