Commit graph

407 commits

Author SHA1 Message Date
Jesper Wilhelmsson
dafb3af62d Merge 2018-07-11 21:41:43 +02:00
Brian Burkhalter
aef5f86408 8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive
Clear handler instance variable after use

Reviewed-by: rriggs, alanb
2018-07-03 15:02:46 -07:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Bhaktavatsal R Maram
dc7d03e19d 8202329: [AIX] Fix codepage mappings for IBM-943 and Big5
Reviewed-by: simonis, stuefe
2018-06-12 13:00:50 +05:30
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Alan Bateman
db61a602f6 8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Thomas Stuefe
4d84004591 8204663: clean up remaining native parts after JDK-8187631
Reviewed-by: rriggs, psandoz
2018-06-13 20:11:18 +02:00
Brian Burkhalter
e9f3b0e527 8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Vyom Tewari
6a48db9cf6 8194298: Add support for per Socket configuration of TCP keepalive
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Ivan Gerasimov
33b7f68964 8203369: Check for both EAGAIN and EWOULDBLOCK error codes
Reviewed-by: alanb
2018-05-25 12:44:34 -07:00
Erik Joelsson
ad3144f97f 8202920: jvm.cfg generation incorrect
Reviewed-by: ihse, shade, dholmes, ksrini
2018-05-16 09:40:57 -07:00
Christoph Langer
2ac4c89501 8202181: Correctly specify size of hostname buffer in Unix Inet*AddressImpl_getLocalHostName implementations
Reviewed-by: stuefe, bpb, vtewari, chegar
2018-05-04 14:37:58 +01:00
Jan Lahoda
f7afa8ff53 8202105: Console echo is disabled when exiting jshell
Preserving original terminal echo state when Console.readPassword finishes.

Reviewed-by: sherman, martin
2018-04-30 15:03:08 +02: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
Ivan Gerasimov
3a7104760a 8196224: Even better Internet address support
Reviewed-by: chegar, rriggs, rhalade, vtewari
2018-02-05 14:18:22 -08:00
Vyom Tewari
d5e9b33541 8193419: Better Internet address support
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-01-18 13:55:26 +05:30
Srividya Shamaiah
698152fb51 8201369: Inet4AddressImpl_getLocalHostName reverse lookup on Solaris only
Reviewed-by: clanger, chegar
2018-04-16 12:50:10 +05:30
Xueming Shen
1775d925de 8194750: Console.readPassword does not save/restore tty settings
Reviewed-by: martin, alanb
2018-04-17 11:20:50 -07:00
Joel Pelaez Jorge
4f1c8f3d08 8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address
Reviewed-by: clanger, chegar
2018-04-16 11:11:52 +02:00
Alan Bateman
45fb75c85a 8201474: (so) Socket adaptor connect(InetAddress, timeout) succeeds when connection fails
Reviewed-by: bpb
2018-04-14 08:41:42 +01:00
Magnus Ihse Bursie
70e23d4ded 8200298: Unify all unix versions of libjsig/jsig.c
Reviewed-by: dholmes, stuefe
2018-04-10 19:46:02 +02:00
Alan Bateman
97d7cfb14e 8200458: (se) Readiness information previously recorded in the ready set not preserved
Reviewed-by: bpb, chegar
2018-04-05 15:04:09 +01:00
Alan Bateman
d185d65b69 8200583: (se) Selector clean-up, part 4
Reviewed-by: bpb, chegar
2018-04-05 15:01:57 +01:00
Alan Bateman
34c94079ed 8200257: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-30 08:28:09 +01:00
Magnus Ihse Bursie
89f6ccb93e 8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
2018-03-28 23:56:08 +02:00
Ivan Gerasimov
3d160a80fc 8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Alan Bateman
704b2ccd93 8200256: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently
Reviewed-by: chegar
2018-03-27 19:29:46 +01:00
Alan Bateman
187bf57418 8200179: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-24 08:49:55 +00:00
Phil Race
3d9f35c4f5 Merge 2018-03-23 08:49:58 -07:00
Alan Bateman
3bb85f5fc5 8199791: (se) More Selector cleanup
Reviewed-by: redestad, bpb
2018-03-23 14:18:18 +00:00
Phil Race
1597645191 8200129: Remove D3D Performance Counter
Reviewed-by: alanb, serb
2018-03-22 14:02:20 -07:00
Brian Burkhalter
9e3d8fd230 8194746: (fs) Add equivalents of Paths.get to Path interface
Copy Paths.get() methods to Path.get() methods and have former call latter

Reviewed-by: alanb, forax, chegar, psandoz
2018-03-22 12:30:47 -07: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
Alan Bateman
13dd8888d2 8198562: (ch) Separate blocking and non-blocking code paths (part 1)
8198754: (ch) Separate blocking and non-blocking code paths (part 2)

Reviewed-by: bpb
2018-02-28 09:54:38 +00:00
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08: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
Roger Riggs
0b8689b331 8195059: Update java.net Socket and DatagramSocket implementations to use Cleaner
Reviewed-by: chegar, plevart
2018-02-02 14:17:07 -05:00
Jesper Wilhelmsson
e81038299e Merge 2017-12-08 23:43:25 +01:00
Jesper Wilhelmsson
7c3a956755 Merge 2017-12-07 10:18:31 +01: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
Brian Burkhalter
dd07ad1703 8191872: (fs) UnixNativeDispatcher conditionally compiles in support for high precision timestamps
Remove POSIX conditional compilation and correct stat64 times for macOS

Reviewed-by: alanb, simonis
2017-12-07 08:56:04 -08:00
Magnus Ihse Bursie
a06ef68dcf 8190484: Move jvm.h, jmm.h et al to hotspot/*/include
Reviewed-by: dholmes, erikj, mchung
2017-12-04 23:55:52 +01:00
Vyom Tewari
d55fdd6c56 8190843: can not set/get extendedOptions to ServerSocket
Reviewed-by: chegar, rriggs
2017-12-04 13:24:00 +05:30
Jesper Wilhelmsson
88d610826b Merge 2017-11-16 01:11:32 +01:00
Vyom Tewari
2245db7522 8145635: Add TCP_QUICKACK socket option
Reviewed-by: chegar, rriggs, clanger
2017-11-13 14:03:36 +05:30
Brian Burkhalter
18cbe428c1 8189963: Remove version of FileChannelImpl::open without the 'direct' parameter
Remove old version of FileChannelImpl::open and update call sites

Reviewed-by: rriggs
2017-10-26 11:08:31 -07: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
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00