Re: RFR: 8311906: Improve robustness of String constructors with mutable array inputs [v14]

2023-12-03 Thread Damon Fenacci
On Thu, 30 Nov 2023 15:51:46 GMT, Roger Riggs wrote: >> Strings, after construction, are immutable but may be constructed from >> mutable arrays of bytes, characters, or integers. >> The string constructors should guard against the effects of mutating the >> arrays during construction that

Re: RFR: 8321159: SymbolLookup.libraryLookup(Path, Arena) Assumes default Filesystem

2023-12-03 Thread Alan Bateman
On Mon, 4 Dec 2023 07:29:37 GMT, Per Minborg wrote: > This PR proposes to reject paths provided to the > `SymbolLookup.libraryLookup(Path path, Arena arena)` method if a path is not > in the default file system. src/java.base/share/classes/java/lang/foreign/SymbolLookup.java line 297: > 295:

RFR: 8321159: SymbolLookup.libraryLookup(Path, Arena) Assumes default Filesystem

2023-12-03 Thread Per Minborg
This PR proposes to reject paths provided to the `SymbolLookup.libraryLookup(Path path, Arena arena)` method if a path is not in the default file system. - Commit messages: - Fix logic - Reject paths not in the default file system Changes:

Re: RFR: 8319872: AArch64: [vectorapi] Implementation of unsigned (zero extended) casts [v4]

2023-12-03 Thread Xiaohong Gong
On Wed, 22 Nov 2023 07:05:21 GMT, Eric Liu wrote: >> Vector API defines zero-extend operations [1], which are going to be >> intrinsified and generated to `VectorUCastNode` by C2. This patch adds >> backend implementation for `VectorUCastNode` on AArch64. >> >> The micro benchmark shows

Integrated: 8308753: Class-File API transition to Preview

2023-12-03 Thread Adam Sotona
On Wed, 13 Sep 2023 09:48:00 GMT, Adam Sotona wrote: > Classfile API is an internal library under package `jdk.internal.classfile`  > in JDK 21. > This pull request turns the Classfile API into a preview feature and moves it > into `java.lang.classfile`. > It repackages all uses across JDK and

Re: RFR: 8308753: Class-File API transition to Preview [v34]

2023-12-03 Thread Adam Sotona
> Classfile API is an internal library under package `jdk.internal.classfile`  > in JDK 21. > This pull request turns the Classfile API into a preview feature and moves it > into `java.lang.classfile`. > It repackages all uses across JDK and tests and adds lots of missing Javadoc. > > This PR

Re: RFR: 8319577: x86_64 AVX2 intrinsics for Arrays.sort methods (int, float arrays) [v6]

2023-12-03 Thread David Holmes
On Wed, 29 Nov 2023 13:26:58 GMT, serge-sans-paille wrote: >> I take it he is not an Intel employee, in which case he has to be an OpenJDK >> contributor himself for code for which he holds a copyright to be >> contributed to OpenJDK. @robilad please correct me if I am wrong here. > > hey o/

Re: RFR: 8320699: Add parameter to skip progress logging of OutputAnalyzer [v2]

2023-12-03 Thread David Holmes
On Thu, 30 Nov 2023 16:23:39 GMT, Stefan Karlsson wrote: >> Tests using ProcessTools.executeProcess gets the following output written to >> stdout: >> [2023-11-24T09:58:16.797540608Z] Gathering output for process 2517117 >> [2023-11-24T09:58:23.070781345Z] Waiting for completion for process

Re: RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v7]

2023-12-03 Thread Doug Lea
> This update cascades timeouts to trim subsequent workers after the first > keepAlive inactive period. Doug Lea has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull

Re: RFR: 8321223: Implementation of Scoped Values (Second Preview)

2023-12-03 Thread Paul Sandoz
On Sun, 3 Dec 2023 08:46:07 GMT, Alan Bateman wrote: > This API is sitting out JDK 22, meaning no API/implementation changes in this > PR. Some small API changes are likely for JDK 23. > > For now, we just need to bump JEP number/title that shows up in the preview > section of the javadoc.

Re: RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v6]

2023-12-03 Thread Doug Lea
> This update cascades timeouts to trim subsequent workers after the first > keepAlive inactive period. Doug Lea has updated the pull request incrementally with one additional commit since the last revision: Reduce oversignalling and contention; add test - Changes: - all:

Re: RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v5]

2023-12-03 Thread Doug Lea
On Tue, 28 Nov 2023 14:04:13 GMT, Alan Bateman wrote: >> Doug Lea has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Revert 2 lines in method scan > > src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 3123: > >>

RFR: 8321223: Implementation of Scoped Values (Second Preview)

2023-12-03 Thread Alan Bateman
This API is sitting out JDK 22, meaning no API/implementation changes in this PR. Some small API changes are likely for JDK 23. For now, we just need to bump JEP number/title that shows up in the preview section of the javadoc. - Commit messages: - Initial commit Changes:

Re: RFR: 8321124: java/util/stream/GatherersTest.java times out [v2]

2023-12-03 Thread Alan Bateman
On Fri, 1 Dec 2023 22:16:45 GMT, Viktor Klang wrote: >> Renames GatherersTest to BuiltInGatherersTest for easier deduplication of >> GathererTest. >> >> Fixes a test ordering issue in testMapConcurrentAPIandContract(). >> >> Adding increased maxOutputSize for Gatherer-related tests to improve

Re: RFR: 8321124: java/util/stream/GatherersTest.java times out [v2]

2023-12-03 Thread Alan Bateman
On Fri, 1 Dec 2023 22:11:05 GMT, Viktor Klang wrote: >> Viktor Klang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Only run the cancellation tests for mapConcurrent for the shorter streams >> to conserve resources > >