Commit graph

196 commits

Author SHA1 Message Date
Alan Bateman
b8c0b2fd8c 8321594: NativeThreadSet should use placeholder for virtual threads
Reviewed-by: bpb
2023-12-12 07:55:56 +00:00
Daniel Jeliński
ead4fb1464 8321519: Typo in exception message
Reviewed-by: jpai
2023-12-07 12:00:12 +00:00
Naoto Sato
d568562966 8320798: Console read line with zero out should zero out underlying buffer
Reviewed-by: bpb, lancea, joehw, alanb, jpai, mbaesken
2023-12-01 17:39:11 +00:00
Alan Bateman
21a59b9f4e 8282726: java/net/vthread/BlockingSocketOps.java timeout/hang intermittently on Windows
Reviewed-by: djelinski
2023-11-21 14:05:32 +00:00
Alan Bateman
c099cf53f2 8318422: Allow poller threads be virtual threads
Reviewed-by: michaelm
2023-11-04 06:52:19 +00:00
Tim Prinzing
1183b221c2 8310978: JFR events SocketReadEvent/SocketWriteEvent for Socket adaptor ops
Reviewed-by: dfuchs, alanb
2023-10-30 06:04:17 +00:00
Brian Burkhalter
a1a62d9964 8306308: (ch) Writer created by Channels::newWriter may lose data
Reviewed-by: djelinski, alanb
2023-10-20 21:12:28 +00:00
Erik Gahlin
6aa837eee6 8316927: JFR: Move shouldCommit check earlier for socket events
Reviewed-by: alanb, dfuchs, mgronlun
2023-10-17 13:11:52 +00:00
Brian Burkhalter
0d091681c2 8312527: (ch) Re-examine use of sun.nio.ch.Invoker.myGroupAndInvokeCount
Reviewed-by: alanb, jpai
2023-10-16 14:52:44 +00:00
Maurizio Cimadamore
7cb2e6d65b 8317514: Ensure MemorySegment is initialized before touching NativeMemorySegmentImpl
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-10-13 20:51:52 +00:00
Tim Prinzing
b275bdd9b5 8308995: Update Network IO JFR events to be static mirror events
Reviewed-by: egahlin, alanb
2023-09-20 12:34:08 +00:00
Per Minborg
cf74b8c2a3 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Reviewed-by: alanb, liach
2023-09-19 13:10:51 +00:00
Naoto Sato
ac2dfe45d1 8313865: Always true condition in sun.nio.cs.CharsetMapping#readINDEXC2B
Reviewed-by: aturbanov, vtewari, rriggs, iris
2023-09-12 18:19:07 +00:00
shiker
39f181337b 8315318: Typo in comment on sun.nio.ch.Net.unblock4
Reviewed-by: mbaesken, vtewari
2023-08-31 08:28:11 +00:00
Andrey Turbanov
b88c273503 8313743: Make fields final in sun.nio.ch
Reviewed-by: bpb
2023-08-14 07:04:05 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Alan Bateman
028068a655 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Reviewed-by: jpai, michaelm
2023-07-19 13:17:37 +00:00
Naoto Sato
00c7f914c6 8310047: Add UTF-32 based Charsets into StandardCharsets
Reviewed-by: alanb, lancea, bpb, jpai, jlu
2023-07-11 16:10:34 +00:00
Alan Bateman
f4b900b607 8310902: (fc) FileChannel.transferXXX async close and interrupt issues
Reviewed-by: bpb
2023-06-29 05:42:19 +00:00
Naoto Sato
3eeb681a0d 8167252: Some of Charset.availableCharsets() does not contain itself
Reviewed-by: bpb, alanb, iris, lancea, jpai
2023-06-15 16:34:00 +00:00
Tyler Steele
48d21bd089 8286597: Implement PollerProvider on AIX
Reviewed-by: mdoerr, alanb, vtewari
2023-05-25 14:59:11 +00:00
Oli Gillespie
73ac710533 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: alanb
2023-05-05 19:36:35 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Sergey Tsypanov
287bb06def 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Reviewed-by: alanb, bpb
2023-04-14 06:21:39 +00:00
Brian Burkhalter
7baccd9ee2 8303260: (fc) FileChannel::transferFrom should support position > size()
Reviewed-by: alanb
2023-04-04 15:57:56 +00:00
Markus KARG
40aea04680 8278268: (ch) InputStream returned by Channels.newInputStream should have fast path for FileChannel targets
Reviewed-by: bpb
2023-04-03 15:45:29 +00:00
Brian Burkhalter
9a8a60f7d6 8304833: (fc) Remove dead code in sun.nio.ch.FileChannelImpl::implCloseChannel
Reviewed-by: alanb
2023-03-24 14:52:58 +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
Brian Burkhalter
a04b1049ff 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
2023-03-03 18:33:58 +00:00
Naoto Sato
a253b46021 8301119: Support for GB18030-2022
Reviewed-by: alanb, coffeys, lancea
2023-02-27 16:35:59 +00:00
Alan Bateman
b6ecca1268 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: jpai, dfuchs
2023-02-22 08:13:06 +00:00
Per Minborg
ce1193a1ed 8299976: Initialize static fields in Net eagerly
Reviewed-by: alanb
2023-01-13 15:19:12 +00:00
Matthias Baesken
c929d8be5d 8299475: Enhance SocketException by cause where it is missing in net and nio area
Reviewed-by: alanb
2023-01-05 08:26:38 +00:00
Alan Bateman
5f63f7a742 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds
Reviewed-by: bpb, jpai
2022-12-15 07:14:02 +00:00
Sergey Tsypanov
e3c6cf8eaf 8298380: Clean up redundant array length checks in JDK code base
Reviewed-by: dholmes, amenkov, serb, vtewari
2022-12-09 12:50:55 +00:00
Per Minborg
84b927a05b 8296024: Usage of DirectBuffer::address should be guarded
Reviewed-by: mcimadamore, alanb, psandoz, bpb
2022-12-06 10:42:59 +00:00
Alan Bateman
923c746650 8298057: (fs) Remove PollingWatchService.POLLING_INIT_DELAY
Reviewed-by: bpb, jpai
2022-12-06 07:30:52 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Brian Burkhalter
a5f6e31ccb 8295456: (ch) sun.nio.ch.Util::checkBufferPositionAligned gives misleading/incorrect error
Reviewed-by: alanb
2022-10-19 15:53:01 +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
6e23b43220 8293502: (fc) FileChannel::transfer methods fail to copy /proc files on Linux
Reviewed-by: alanb
2022-09-19 15:57:06 +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
Naoto Sato
aa9b8f04bf 8292043: Incorrect decoding near EOF for stateful decoders like UTF-16
Reviewed-by: joehw, alanb, lancea
2022-08-22 16:26:37 +00:00
Peter Levart
861cc671e2 8291897: TerminatingThreadLocal(s) not registered from virtual thread(s)
Reviewed-by: alanb
2022-08-08 12:38:21 +00:00
Daniel Jeliński
ce61eb6ff9 8290349: IP_DONTFRAGMENT doesn't set DF bit in IPv4 header
Reviewed-by: michaelm, alanb
2022-08-04 10:52:15 +00:00
Jesper Wilhelmsson
d9ca438d06 Merge 2022-07-12 16:16:16 +00:00
Alan Bateman
fc01666a58 8290002: (se) AssertionError in SelectorImpl.implCloseSelector
Reviewed-by: michaelm
2022-07-11 14:41:13 +00:00
Maurizio Cimadamore
fed3af8ae0 8287809: Revisit implementation of memory session
Reviewed-by: jvernee
2022-07-11 14:30:19 +00:00
Lance Andersen
d48694d0f3 8283335: Add exists and readAttributesIfExists methods to FileSystemProvider
Reviewed-by: alanb
2022-07-05 19:45:08 +00:00
Brian Burkhalter
72f286a9ba 8287580: (se) CancelledKeyException during channel registration
Reviewed-by: alanb
2022-06-23 15:39:32 +00:00