Michael McMahon
7b45c8fc3a
8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups
...
Reviewed-by: alanb
2023-06-19 21:35:58 +00:00
Matthias Baesken
ebba42ac52
8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
...
Reviewed-by: alanb
2023-04-19 07:22: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
Daniel Jeliński
8d17d1ee6f
6914801: IPv6 unavailable if stdin is a socket
...
Reviewed-by: michaelm
2023-01-09 07:39:12 +00:00
Brian Burkhalter
d6678952a6
8294399: (ch) Refactor some methods out of sun.nio.ch.UnixFileDispatcherImpl
...
Reviewed-by: alanb
2022-10-27 15:35:24 +00:00
Brian Burkhalter
48cc15602b
8293331: Refactor FileDispatcherImpl into operating system-specific components
...
Reviewed-by: alanb
2022-09-22 15:59:05 +00:00
Florian Weimer
343333abcf
8293004: (fs) FileChannel.transferXXX use of copy_file_range needs fallback handling for ENOSYS
...
Reviewed-by: stuefe, alanb, bpb
2022-08-30 15:23:35 +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
Brian Burkhalter
535fba8bfc
8288687: (fc) Unix version ofFileChannelImpl.transferTo0() should should return IOS_UNSUPPORTED if not Linux, macOS, nor AIX
...
Reviewed-by: alanb
2022-06-21 15:27:52 +00:00
Brian Burkhalter
d8b0b32f9f
8286763: [REDO] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-18 15:55:21 +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
Jaikiran Pai
269eae6189
8285515: (dc) DatagramChannel.disconnect fails with "Invalid argument" on macOS 12.4 beta2
...
Reviewed-by: dfuchs, alanb
2022-04-29 09:15:56 +00:00
Magnus Ihse Bursie
fb469fb894
8284893: Fix typos in java.base
...
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +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
428d51694f
8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
...
Reviewed-by: alanb
2021-08-12 15:27:09 +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
Martin Doerr
cb2806db4e
8265018: [AIX] FileDispatcherImpl.c:31:10: fatal error: 'sys/mount.h' file not found
...
Reviewed-by: clanger
2021-04-12 09:03:34 +00:00
Brian Burkhalter
6de0bb204a
8232861: (fc) FileChannel.force fails on WebDAV file systems (macOS)
...
Reviewed-by: alanb
2021-04-09 15:31:11 +00:00
Christoph Göttschkes
4793557fa8
8264502: (fc) FileDispatcherImpl.setDirect0 might return uninitialized variable on some platforms
...
Reviewed-by: alanb, bpb, michaelm
2021-04-02 09:19:53 +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
Alexander Scherbatiy
5490b03160
8252248: __SIGRTMAX is not declared in musl libc
...
Reviewed-by: alanb, vtewari, stuefe
2020-08-31 11:18:20 +03:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Patrick Concannon
0ed44d0aee
8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
...
Updates DatagramChannel so that the SO_SNDBUF is set to a minimum value of 65527 for IPv6 sockets and 65507 for IPv4 sockets on macOS.
Reviewed-by: alanb, dfuchs
2020-03-12 17:08:09 +00:00
Alan Bateman
d4c3278889
8236925: (dc) Upgrade DatagramChannel socket adaptor to extend MulticastSocket
...
Reviewed-by: dfuchs
2020-01-19 08:02:46 +00: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
Gustavo Romero
1691abc747
8234599: PPC64: Add support on recent CPUs and Linux for JEP-352
...
Reviewed-by: mbaesken, mdoerr, adinn
2019-11-21 17:10:26 -03: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
7e42642939
8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
...
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +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
Matthias Baesken
7256d38458
8232045: cleanup AIX 5.3 workarounds from libnio/ch/Net.c
...
Reviewed-by: alanb, clanger, chegar
2019-10-09 09:57:33 +02:00
Michael McMahon
aa5329e0d3
8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
...
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Ivan Gerasimov
5c25e2a6fb
8211360: Change #if DEF to #if defined(DEF)
...
Reviewed-by: bpb, vtewari
2019-08-21 13:49:16 -07: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
Matthias Baesken
a573f6a6b5
8227737: avoid implicit-function-declaration on AIX
...
Reviewed-by: clanger, goetz
2019-07-16 16:01:10 +02:00
Arthur Eubanks
0465104af6
8222562: Don't set IPV6_V6ONLY when IPv4 is not available
...
Reviewed-by: dfuchs, chegar
2019-04-16 13:16:49 -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
Pavel Rappo
a9efcea778
8212000: Verify exported symbols in java.base (libnet, libnio/ch)
...
Reviewed-by: alanb, chegar
2018-10-10 14:13:32 +01:00
Matthias Baesken
19ca9280a6
8211146: fix problematic elif-tests after recent gcc warning changes Werror=undef
...
Reviewed-by: stuefe, clanger, dholmes, chegar, alanb
2018-09-26 14:28:37 +02:00
Ivan Gerasimov
33b7f68964
8203369: Check for both EAGAIN and EWOULDBLOCK error codes
...
Reviewed-by: alanb
2018-05-25 12:44:34 -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