Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v4]

2025-05-29 Thread Julian Waters
On Thu, 29 May 2025 18:52:51 GMT, Mohamed Issa wrote: >> src/hotspot/cpu/x86/stubGenerator_x86_64_cbrt.cpp line 49: >> >>> 47: >>> /**/ >>> 48: >>> 49: ATTRIBUTE_ALIGNED(4) static const juint _SIG_MASK[] = >> >> ATTRI

Re: RFR: 8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080

2025-05-29 Thread Chen Liang
On Mon, 26 May 2025 17:08:45 GMT, Aleksey Shipilev wrote: > SonarCloud complains that since > [JDK-8356080](https://bugs.openjdk.org/browse/JDK-8356080) we are using > `Boolean` boxes in `ReverseOrderListView`. This change `boolean` -> `Boolean` > was made in [JDK-8356080](https://bugs.openjdk

Re: RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v11]

2025-05-29 Thread Stuart Marks
On Fri, 30 May 2025 02:23:17 GMT, Liam Miller-Cushon wrote: > I have reviewed the CSR for you. Maybe us, Per Minborg, and Stuart Marks can > work together to get the two significant collection changes into early 26 and > broadcast on quality discuss list, as otherwise corpus analysis provides

Re: RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v13]

2025-05-29 Thread Liam Miller-Cushon
> This change overrides mutator methods in the implementation returned by > `Map.of().entrySet()` to throw `UnsupportedOperationException`. Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision: Add an implementation comment to Abstra

Integrated: 8351369: [macos] Use --install-dir option with DMG packaging

2025-05-29 Thread Alexander Matveev
On Wed, 28 May 2025 07:11:36 GMT, Alexander Matveev wrote: > - `--install-dir` option in DMG packaging is no longer ignored. > - Defaults are still the same: `/Applications` and > `/Library/Java/JavaVirtualMachines`. > - It will be user responsibility to make sure installation directory exist o

Re: RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v11]

2025-05-29 Thread Liam Miller-Cushon
On Fri, 30 May 2025 01:31:12 GMT, Chen Liang wrote: > For some reason the lines you've added for UOE in MOAT are failing; can you > check? This was due to the merge with https://github.com/openjdk/jdk/commit/fbc4691bfa11f31601fd89d05da63e689343e214, I resolved the conflict in the test but mis

Re: RFR: 8358015: Fix SequencedMap sequenced view method specifications

2025-05-29 Thread Chen Liang
On Thu, 29 May 2025 00:21:35 GMT, Stuart Marks wrote: > For a full explanation, see the bug report > [JDK-8358015](https://bugs.openjdk.org/browse/JDK-8358015). > > This PR includes three related changes: > * New overrides in SequencedMap view collection implementations, which > improve their

Re: RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v12]

2025-05-29 Thread Liam Miller-Cushon
> This change overrides mutator methods in the implementation returned by > `Map.of().entrySet()` to throw `UnsupportedOperationException`. Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision: Update for Stable Values -

Re: RFR: 8351369: [macos] Use --install-dir option with DMG packaging [v2]

2025-05-29 Thread Alexey Semenyuk
On Fri, 30 May 2025 01:45:41 GMT, Alexander Matveev wrote: >> - `--install-dir` option in DMG packaging is no longer ignored. >> - Defaults are still the same: `/Applications` and >> `/Library/Java/JavaVirtualMachines`. >> - It will be user responsibility to make sure installation directory exi

Re: RFR: 8351369: [macos] Use --install-dir option with DMG packaging [v2]

2025-05-29 Thread Alexander Matveev
> - `--install-dir` option in DMG packaging is no longer ignored. > - Defaults are still the same: `/Applications` and > `/Library/Java/JavaVirtualMachines`. > - It will be user responsibility to make sure installation directory exist on > target machine, since DMG cannot create directories durin

Withdrawn: 8351354: Enhance java -XshowSettings:security:tls to show enabled TLS groups and signature algorithms

2025-05-29 Thread duke
On Thu, 3 Apr 2025 18:47:43 GMT, Matthew Donovan wrote: > In this PR I added TLS groups and signature algorithms to the output of the > show settings flag. The values are printed in a single column, like the > cipher suites. There can be a lot of values so putting on a single line is > ugly. I

Re: RFR: 8351369: [macos] Use --install-dir option with DMG packaging

2025-05-29 Thread Alexander Matveev
On Wed, 28 May 2025 23:01:30 GMT, Alexey Semenyuk wrote: >> If the installation directory doesn't exist, jpackage will try to create and >> delete it right after the DMG package is created. > Is this absolutely necessary? Is there a better way? Yes, there is better way. I just figure it out. A

Re: RFR: 8351369: [macos] Use --install-dir option with DMG packaging

2025-05-29 Thread Alexander Matveev
On Wed, 28 May 2025 07:11:36 GMT, Alexander Matveev wrote: > - `--install-dir` option in DMG packaging is no longer ignored. > - Defaults are still the same: `/Applications` and > `/Library/Java/JavaVirtualMachines`. > - It will be user responsibility to make sure installation directory exist o

Re: RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v11]

2025-05-29 Thread Chen Liang
On Wed, 28 May 2025 17:13:41 GMT, Liam Miller-Cushon wrote: >> This change overrides mutator methods in the implementation returned by >> `Map.of().entrySet()` to throw `UnsupportedOperationException`. > > Liam Miller-Cushon has updated the pull request with a new target base due to > a merge o

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR [v2]

2025-05-29 Thread Naoto Sato
On Fri, 30 May 2025 00:20:26 GMT, Justin Lu wrote: >> Please review this PR which cleans up some i18n tests. >> >> There are some i18n related tests that set the locale provider to CLDR (and >> only CLDR). Since JDK9, this is redundant and equivalent to the default. >> Thus, occurrences of "-D

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR [v2]

2025-05-29 Thread Justin Lu
> Please review this PR which cleans up some i18n tests. > > There are some i18n related tests that set the locale provider to CLDR (and > only CLDR). Since JDK9, this is redundant and equivalent to the default. > Thus, occurrences of "-Djava.locale.providers=CLDR" are just extra noise for > th

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR

2025-05-29 Thread Justin Lu
On Thu, 29 May 2025 22:47:11 GMT, Naoto Sato wrote: >> Please review this PR which cleans up some i18n tests. >> >> There are some i18n related tests that set the locale provider to CLDR (and >> only CLDR). Since JDK9, this is redundant and equivalent to the default. >> Thus, occurrences of "-

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR [v2]

2025-05-29 Thread Brian Burkhalter
On Fri, 30 May 2025 00:17:37 GMT, Justin Lu wrote: >> Please review this PR which cleans up some i18n tests. >> >> There are some i18n related tests that set the locale provider to CLDR (and >> only CLDR). Since JDK9, this is redundant and equivalent to the default. >> Thus, occurrences of "-D

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR

2025-05-29 Thread Naoto Sato
On Thu, 29 May 2025 21:59:30 GMT, Justin Lu wrote: > Please review this PR which cleans up some i18n tests. > > There are some i18n related tests that set the locale provider to CLDR (and > only CLDR). Since JDK9, this is redundant and equivalent to the default. > Thus, occurrences of "-Djava.

Re: [External] : Re: mapConcurrent() with InterruptedException

2025-05-29 Thread Jige Yu
Yeah. I can see these distinctions and guidelines being useful for callers of the low-level concurrency primitive methods (semaphore etc.) But at a higher level, in the application code, does anyone know of a plausible scenario where being forced to catch IE is useful? It seems like you either alw

Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v4]

2025-05-29 Thread Mohamed Issa
On Thu, 29 May 2025 08:36:31 GMT, Jatin Bhateja wrote: >> Mohamed Issa has updated the pull request incrementally with four additional >> commits since the last revision: >> >> - Remove comment mentioning invalid exception when NaN input is provided >> - Use rcx as base and r8 as index for ad

Integrated: 8358017: Various enhancements of jpackage test helpers

2025-05-29 Thread Alexey Semenyuk
On Wed, 28 May 2025 03:35:40 GMT, Alexey Semenyuk wrote: > Various enhancements of jpackage test helpers: > - Can run fa tests when JAVA_TOOL_OPTIONS env variable contains > `--module-path` option. This change makes support for > `jpackage.test.clear-app-launcher-java-env-vars` system property

Re: RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR

2025-05-29 Thread Brian Burkhalter
On Thu, 29 May 2025 21:59:30 GMT, Justin Lu wrote: > Please review this PR which cleans up some i18n tests. > > There are some i18n related tests that set the locale provider to CLDR (and > only CLDR). Since JDK9, this is redundant and equivalent to the default. > Thus, occurrences of "-Djava.

RFR: 8358095: Cleanup tests with explicit locale provider set to only CLDR

2025-05-29 Thread Justin Lu
Please review this PR which cleans up some i18n tests. There are some i18n related tests that set the locale provider to CLDR (and only CLDR). Since JDK9, this is redundant and equivalent to the default. Thus, occurrences of "-Djava.locale.providers=CLDR" are just extra noise for these tests.

Re: RFR: 8356634: VectorShape#largestShapeFor should have public access [v5]

2025-05-29 Thread Ian Graves
> VectorShape#largestShapeFor is referenced in existing JavaDoc but has been > package-private. This propose change makes it public and adds documentation > for it. Ian Graves has updated the pull request incrementally with one additional commit since the last revision: Updating copyrights

Re: RFR: 8356634: VectorShape#largestShapeFor should have public access [v4]

2025-05-29 Thread Ian Graves
On Thu, 29 May 2025 21:52:30 GMT, Ian Graves wrote: >> VectorShape#largestShapeFor is referenced in existing JavaDoc but has been >> package-private. This propose change makes it public and adds documentation >> for it. > > Ian Graves has updated the pull request incrementally with one addition

Re: RFR: 8356634: VectorShape#largestShapeFor should have public access [v4]

2025-05-29 Thread Ian Graves
> VectorShape#largestShapeFor is referenced in existing JavaDoc but has been > package-private. This propose change makes it public and adds documentation > for it. Ian Graves has updated the pull request incrementally with one additional commit since the last revision: Adding test coverage

Re: RFR: 8358089: Remove the GenerateKeyList.java test tool [v2]

2025-05-29 Thread Naoto Sato
On Thu, 29 May 2025 21:19:31 GMT, Justin Lu wrote: >> Please review this PR which removes the test tool `GenerateKeyList.java` >> after the COMPAT locale data removal. >> >> `LocaleDataTest.java` may optionally use the `GenerateKeyList.java` tool. >> However, this tool is manually used and was

Re: RFR: 8358017: Various enhancements of jpackage test helpers

2025-05-29 Thread Alexander Matveev
On Wed, 28 May 2025 03:35:40 GMT, Alexey Semenyuk wrote: > Various enhancements of jpackage test helpers: > - Can run fa tests when JAVA_TOOL_OPTIONS env variable contains > `--module-path` option. This change makes support for > `jpackage.test.clear-app-launcher-java-env-vars` system property

Re: RFR: 8358089: Remove the GenerateKeyList.java test tool [v2]

2025-05-29 Thread Justin Lu
On Thu, 29 May 2025 21:15:57 GMT, Justin Lu wrote: >> Please review this PR which removes the test tool `GenerateKeyList.java` >> after the COMPAT locale data removal. >> >> `LocaleDataTest.java` may optionally use the `GenerateKeyList.java` tool. >> However, this tool is manually used and was

Re: RFR: 8358089: Remove the GenerateKeyList.java test tool [v2]

2025-05-29 Thread Justin Lu
> Please review this PR which removes the test tool `GenerateKeyList.java` > after the COMPAT locale data removal. > > `LocaleDataTest.java` may optionally use the `GenerateKeyList.java` tool. > However, this tool is manually used and was primarily used for COMPAT data. > There is no longer any

Integrated: 8357690: Add @Stable and final to java.lang.CharacterDataLatin1 and other CharacterData classes

2025-05-29 Thread Shaojin Wen
On Sat, 24 May 2025 10:00:56 GMT, Shaojin Wen wrote: > Classes such as java.lang.CharacterDataXXX have multiple static final arrays, > these are immutable, We should add `@Stable` and final to provide information > to the optimizer. This pull request has now been integrated. Changeset: 727412

Re: RFR: 8358015: Fix SequencedMap sequenced view method specifications

2025-05-29 Thread ExE Boss
On Thu, 29 May 2025 00:21:35 GMT, Stuart Marks wrote: > For a full explanation, see the bug report > [JDK-8358015](https://bugs.openjdk.org/browse/JDK-8358015). > > This PR includes three related changes: > * New overrides in SequencedMap view collection implementations, which > improve their

Re: RFR: 8337143: (fc, fs) Move filesystem-related native objects from libnio to libjava [v14]

2025-05-29 Thread Brian Burkhalter
> This proposed change would move the native objects required for NIO file > interaction from the libnio native library to the libjava native library on > Linux, macOS, and Windows. Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The pull request

Re: RFR: 8356977: UTF-8 cleanups [v2]

2025-05-29 Thread Phil Race
On Mon, 26 May 2025 08:20:19 GMT, Magnus Ihse Bursie wrote: >> I found a few other places in the code that can be cleaned up after the >> conversion to UTF-8. > > Magnus Ihse Bursie has updated the pull request incrementally with two > additional commits since the last revision: > > - Restore

RFR: 8358089: GenerateKeyList.java COMPAT removal update

2025-05-29 Thread Justin Lu
Please review this PR which updates the test tool `GenerateKeyList.java` after the COMPAT locale data removal. `LocaleDataTest.java` may optionally use the `GenerateKeyList.java` tool; the latter requires similar bundle name changes that were made to the former in https://bugs.openjdk.org/brows

Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v4]

2025-05-29 Thread Mohamed Issa
On Thu, 29 May 2025 08:21:29 GMT, Jatin Bhateja wrote: >> Mohamed Issa has updated the pull request incrementally with four additional >> commits since the last revision: >> >> - Remove comment mentioning invalid exception when NaN input is provided >> - Use rcx as base and r8 as index for ad

Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v4]

2025-05-29 Thread Mohamed Issa
On Thu, 29 May 2025 09:01:05 GMT, Julian Waters wrote: >> Mohamed Issa has updated the pull request incrementally with four additional >> commits since the last revision: >> >> - Remove comment mentioning invalid exception when NaN input is provided >> - Use rcx as base and r8 as index for ad

Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v5]

2025-05-29 Thread Mohamed Issa
> The goal of this PR is to implement an x86_64 intrinsic for > java.lang.Math.cbrt() using libm. There is a new set of micro-benchmarks are > included to check the performance of specific input value ranges to help > prevent regressions in the future. > > The command to run all range specific

Re: RFR: 8352565: Add native method implementation of Reference.get() [v6]

2025-05-29 Thread Vladimir Ivanov
On Thu, 29 May 2025 18:43:31 GMT, Vladimir Ivanov wrote: >> We already have this to address that issue for the specific case of >> Reference.get: >> https://github.com/openjdk/jdk/blob/4cf729cfac57c9aec692a52c1f3f95f2403e7958/src/hotspot/share/opto/compile.cpp#L786-L792 >> I think if we made the

Re: RFR: 8352565: Add native method implementation of Reference.get() [v6]

2025-05-29 Thread Vladimir Ivanov
On Thu, 29 May 2025 13:08:25 GMT, Kim Barrett wrote: >> The current limitation of intrinsics support in C1/C2 is that intrinsics are >> always applied in the context of some method (as part of inlining). If a >> method is at the root of the compilation, it is never intrinsified. >> >> The prob

Re: RFR: 8357683: (process) SIGQUIT still blocked after JDK-8234262 with jdk.lang.Process.launchMechanism=FORK or VFORK [v2]

2025-05-29 Thread Roger Riggs
On Sat, 24 May 2025 10:15:44 GMT, Thomas Stuefe wrote: >> See bug description. We now unblock all signals in both FORK and POSIX_SPAWN >> launch modes. This fixes the problem and makes the behavior consistent >> across these two modes. >> >> I left the VFORK mode alone since I believe the sign

Re: RFR: 8357882: Use UTF-8 encoded data in LocaleDataTest

2025-05-29 Thread Joe Wang
On Thu, 29 May 2025 17:20:12 GMT, Naoto Sato wrote: > Test refactoring stemmed from the discussion at > https://git.openjdk.org/jdk/pull/25228#discussion_r2106755160. The test is > now based on UTF-8 instead of ISO-8859-1 Marked as reviewed by joehw (Reviewer). - PR Review: https

Re: RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v3]

2025-05-29 Thread Roger Riggs
On Thu, 29 May 2025 17:05:23 GMT, kieran-farrell wrote: >> We don't have a reliable sub-microsecond source across platforms, so can >> only be confident using random numbers for the low order bits. (and I don't >> expect a higher resolution monotonic clock to be available anytime soon). >> >>

RFR: 8358015: Fix SequencedMap sequenced view method specifications

2025-05-29 Thread Stuart Marks
For a full explanation, see the bug report [JDK-8358015](https://bugs.openjdk.org/browse/JDK-8358015). This PR includes three related changes: * New overrides in SequencedMap view collection implementations, which improve their behavior. * Update to `@implSpec` clauses to reflect this behavior (

Integrated: 8348328: Update IANA Language Subtag Registry to Version 2025-05-15

2025-05-29 Thread Justin Lu
On Wed, 28 May 2025 17:00:22 GMT, Justin Lu wrote: > Please review this PR which updates the language subtag registry to Version > 2025-05-15. > > LanguageSubtagRegistryTest.java was updated with the preferred-values: `hnm`, > `eko`, `luh`,`sjc`, `sqm`. A small change was also made to the test

Re: RFR: 8357882: Use UTF-8 encoded data in LocaleDataTest

2025-05-29 Thread Justin Lu
On Thu, 29 May 2025 17:20:12 GMT, Naoto Sato wrote: > Test refactoring stemmed from the discussion at > https://git.openjdk.org/jdk/pull/25228#discussion_r2106755160. The test is > now based on UTF-8 instead of ISO-8859-1 Test change looks good. Skimmed the data change, which also looks to be

Integrated: 8357275: Locale.Builder.setLanguageTag should mention conversions made on language tag

2025-05-29 Thread Justin Lu
On Mon, 19 May 2025 20:56:55 GMT, Justin Lu wrote: > It is not clear that `Locale.Builder.setLanguageTag(String)` accepts > _extlang_ subtags in the input as well as what behavior occurs. Additionally, > both this method and `Locale.forLanguageTag(String)` should mention their > behavior when

RFR: 8357882: Use UTF-8 encoded data in LocaleDataTest

2025-05-29 Thread Naoto Sato
Test refactoring stemmed from the discussion at https://git.openjdk.org/jdk/pull/25228#discussion_r2106755160. The test is now based on UTF-8 instead of ISO-8859-1 - Commit messages: - initial commit Changes: https://git.openjdk.org/jdk/pull/25524/files Webrev: https://webrevs.o

Re: RFR: 8358017: Various enhancements of jpackage test helpers

2025-05-29 Thread Alexey Semenyuk
On Wed, 28 May 2025 03:35:40 GMT, Alexey Semenyuk wrote: > Various enhancements of jpackage test helpers: > - Can run fa tests when JAVA_TOOL_OPTIONS env variable contains > `--module-path` option. This change makes support for > `jpackage.test.clear-app-launcher-java-env-vars` system property

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v13]

2025-05-29 Thread Daniel Fuchs
On Thu, 29 May 2025 14:35:11 GMT, Michael McMahon wrote: >> Hi, >> >> Enhanced exception messages are designed to hide sensitive information such >> as hostnames, IP >> addresses from exception message strings, unless the enhanced mode for the >> specific category >> has been explicitly enab

Re: RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v3]

2025-05-29 Thread kieran-farrell
On Wed, 28 May 2025 20:57:15 GMT, Roger Riggs wrote: >> The first 48 bits need to be from the unix epoch time stamp in ms only to >> remain complaint. If I understand correctly, to be able to guarantee that >> the nsBits are actually time orderable, System.nanoTime() would have to be >> pinned

Re: RFR: 8348328: Update IANA Language Subtag Registry to Version 2025-05-15

2025-05-29 Thread Justin Lu
On Wed, 28 May 2025 17:00:22 GMT, Justin Lu wrote: > Please review this PR which updates the language subtag registry to Version > 2025-05-15. > > LanguageSubtagRegistryTest.java was updated with the preferred-values: `hnm`, > `eko`, `luh`,`sjc`, `sqm`. A small change was also made to the test

RFR: 8358017: Various enhancements of jpackage test helpers

2025-05-29 Thread Alexey Semenyuk
Various enhancements of jpackage test helpers: - Can run fa tests when JAVA_TOOL_OPTIONS env variable contains `--module-path` option. This change makes support for `jpackage.test.clear-app-launcher-java-env-vars` system property redundant. - Rework JUnitAdapter to make it run jpackage TestInst

Re: RFR: 8358017: Various enhancements of jpackage test helpers

2025-05-29 Thread Alexey Semenyuk
On Wed, 28 May 2025 03:35:40 GMT, Alexey Semenyuk wrote: > Various enhancements of jpackage test helpers: > - Can run fa tests when JAVA_TOOL_OPTIONS env variable contains > `--module-path` option. This change makes support for > `jpackage.test.clear-app-launcher-java-env-vars` system property

Re: RFR: 8356634: VectorShape#largestShapeFor should have public access [v3]

2025-05-29 Thread Ian Graves
> VectorShape#largestShapeFor is referenced in existing JavaDoc but has been > package-private. This propose change makes it public and adds documentation > for it. Ian Graves has updated the pull request incrementally with one additional commit since the last revision: Fixing tabbing -

Re: RFR: 8356634: VectorShape#largestShapeFor should have public access [v2]

2025-05-29 Thread Ian Graves
> VectorShape#largestShapeFor is referenced in existing JavaDoc but has been > package-private. This propose change makes it public and adds documentation > for it. Ian Graves has updated the pull request incrementally with one additional commit since the last revision: Tweaking doc language

Re: RFR: 8355746: Start of release updates for JDK 26 [v5]

2025-05-29 Thread Coleen Phillimore
On Thu, 29 May 2025 13:42:34 GMT, Nizar Benalla wrote: >> Get JDK 26 underway. > > Nizar Benalla has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains 16 commits: > > - Merge branch 'master' into jdk.8355746 > - Merge branch 'master' i

Integrated: 8354724: Methods in java.io.Reader to read all characters and all lines

2025-05-29 Thread Brian Burkhalter
On Thu, 17 Apr 2025 16:18:55 GMT, Brian Burkhalter wrote: > Implement the requested methods and add a test thereof. This pull request has now been integrated. Changeset: 79aff26c Author:Brian Burkhalter URL: https://git.openjdk.org/jdk/commit/79aff26c2880922b92863911d8a5a035ba9a1e75

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v13]

2025-05-29 Thread Michael McMahon
> Hi, > > Enhanced exception messages are designed to hide sensitive information such > as hostnames, IP > addresses from exception message strings, unless the enhanced mode for the > specific category > has been explicitly enabled. Enhanced exceptions were first introduced in > 8204233 in JD

Re: RFR: 8357683: (process) SIGQUIT still blocked after JDK-8234262 with jdk.lang.Process.launchMechanism=FORK or VFORK [v2]

2025-05-29 Thread Roger Riggs
On Sat, 24 May 2025 10:15:44 GMT, Thomas Stuefe wrote: >> See bug description. We now unblock all signals in both FORK and POSIX_SPAWN >> launch modes. This fixes the problem and makes the behavior consistent >> across these two modes. >> >> I left the VFORK mode alone since I believe the sign

Re: RFR: 8355746: Start of release updates for JDK 26 [v5]

2025-05-29 Thread Nizar Benalla
> Get JDK 26 underway. Nizar Benalla has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 16 commits: - Merge branch 'master' into jdk.8355746 - Merge branch 'master' into jdk.8355746 - Update --release 25 symbol information for JDK 25

Re: RFR: 8352565: Add native method implementation of Reference.get() [v6]

2025-05-29 Thread Kim Barrett
On Thu, 29 May 2025 01:14:30 GMT, Vladimir Ivanov wrote: >> The comment is about why we have native `get0` at all, rather than just >> making >> `get` also be native. >> >>> [...] JDK-8271862 was about migrating to non-virtual intrinsic method. >> >> That's not a correct summary of JDK-8271862

Re: RFR: 8282429: StringBuilder/StringBuffer.toString() skip compressing for UTF16 strings [v5]

2025-05-29 Thread ExE Boss
On Wed, 23 Mar 2022 00:35:14 GMT, Xin Liu wrote: >> If AbstractStringBuilder only grow, the inflated value which has been >> encoded in UTF16 can't be compressed. >> toString() can skip compression in this case. This can save an >> ArrayAllocation in StringUTF16::compress(). >> >> java.io.Buf

Re: RFR: 8357531: The `SegmentBulkOperations::fill` method can be improved using overlaps [v6]

2025-05-29 Thread Andrew Haley
On Tue, 27 May 2025 12:03:41 GMT, Per Minborg wrote: >> This PR builds on a concept John Rose told me about some time ago. Instead >> of combining memory operations of various sizes, a single large and skewed >> memory operation can be made to clean up the tail of remaining bytes. >> >> This h

Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v4]

2025-05-29 Thread Julian Waters
On Wed, 28 May 2025 18:39:13 GMT, Mohamed Issa wrote: >> The goal of this PR is to implement an x86_64 intrinsic for >> java.lang.Math.cbrt() using libm. There is a new set of micro-benchmarks are >> included to check the performance of specific input value ranges to help >> prevent regression

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v12]

2025-05-29 Thread Michael McMahon
On Wed, 28 May 2025 23:13:21 GMT, Mark Sheppard wrote: > here are a few files with IOException, UnknownHostException and > MalformedURLException, which are worth reviewing for Exception that may have > been missed > > IOEXception: > > open/src/java.base/share/classes/sun/net/www/protocol/http

Re: RFR: 8348986: Improve coverage of enhanced exception messages [v11]

2025-05-29 Thread Michael McMahon
On Mon, 26 May 2025 20:39:51 GMT, Mark Sheppard wrote: > You could take a slightly more radical approach, and rather than applying a > filter explicitly on the exception message, adopt a builder pattern for the > creation of the filter exceptions, for example > > FilteredExceptionBuilder / Enh

Re: RFR: 8354242: VectorAPI: combine vector not operation with compare [v6]

2025-05-29 Thread erifan
On Wed, 28 May 2025 12:12:50 GMT, Emanuel Peter wrote: >> erifan 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 request contains 10 additional commits since >>

Re: RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v4]

2025-05-29 Thread Jatin Bhateja
On Wed, 28 May 2025 18:39:13 GMT, Mohamed Issa wrote: >> The goal of this PR is to implement an x86_64 intrinsic for >> java.lang.Math.cbrt() using libm. There is a new set of micro-benchmarks are >> included to check the performance of specific input value ranges to help >> prevent regression

Re: RFR: 8354242: VectorAPI: combine vector not operation with compare [v6]

2025-05-29 Thread erifan
On Fri, 16 May 2025 07:40:53 GMT, erifan wrote: >> erifan 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 request contains 10 additional commits since >> the las

Re: RFR: 8354242: VectorAPI: combine vector not operation with compare [v6]

2025-05-29 Thread erifan
On Wed, 28 May 2025 12:16:23 GMT, Emanuel Peter wrote: >> src/hotspot/share/opto/vectornode.cpp line 2244: >> >>> 2242: // BoolTest doesn't support unsigned comparisons. >>> 2243: BoolTest::mask neg_cond = >>> 2244: (BoolTest::mask) (((VectorMaskCmpNode*) in1)->get_predicate() ^ >>> 4

Re: RFR: 8357955: java.lang.classfile.Signature.ArrayTypeSig.of IAE not thrown for dims > 255

2025-05-29 Thread Adam Sotona
On Wed, 28 May 2025 17:56:07 GMT, Adam Sotona wrote: > java.lang.classfile.Signature.ArrayTypeSig.of constraint check did not > include dimensions of the given component if the component is an array. > > This patch fixes the constraint check, corrects the @throws description and > adds test of

Integrated: 8357955: java.lang.classfile.Signature.ArrayTypeSig.of IAE not thrown for dims > 255

2025-05-29 Thread Adam Sotona
On Wed, 28 May 2025 17:56:07 GMT, Adam Sotona wrote: > java.lang.classfile.Signature.ArrayTypeSig.of constraint check did not > include dimensions of the given component if the component is an array. > > This patch fixes the constraint check, corrects the @throws description and > adds test of