jspawnhelper's sometimes problematic use of argv0

2023-06-16 Thread Daniel Jarabek
Hi, While trying to run jshell in qemu-user-static using binfmt_misc (specifically, using this docker based tool [1]), I ran into an issue. Jshell would fail to start and print `This command is not for general use and should only be run as the result of a call to ProcessBuilder.start() or

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v5]

2023-06-16 Thread Weijun Wang
On Fri, 16 Jun 2023 12:14:49 GMT, Sean Coffey wrote: >> New functionality in the -XshowSettings menu to display relevant information >> about JDK security configuration > > Sean Coffey has updated the pull request incrementally with one additional > commit since the last revision: > > Pass

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v4]

2023-06-16 Thread Mandy Chung
> This PR clarifies the spec of the 3-arg Class::forName regarding the format > of the name for an array type which is of the form: one or more of "[" + > binary name of the element type + ";'. Mandy Chung has updated the pull request incrementally with one additional commit since the last

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v3]

2023-06-16 Thread Mandy Chung
On Fri, 16 Jun 2023 23:18:48 GMT, Chen Liang wrote: >> Mandy Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> review comment > > src/java.base/share/classes/java/lang/Class.java line 443: > >> 441: * If {@code name} denotes

Re: RFR: 8309622: Re-examine the cache mechanism in BaseLocale [v3]

2023-06-16 Thread Brett Okken
On Fri, 16 Jun 2023 17:18:38 GMT, Naoto Sato wrote: >> src/java.base/share/classes/sun/util/locale/BaseLocale.java line 175: >> >>> 173: >>> LocaleUtils.toLowerString(b.getLanguage()).intern(), >>> 174: >>>

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v3]

2023-06-16 Thread Chen Liang
On Fri, 16 Jun 2023 21:33:44 GMT, Mandy Chung wrote: >> This PR clarifies the spec of the 3-arg Class::forName regarding the format >> of the name for an array type which is of the form: one or more of "[" + >> binary name of the element type + ";'. > > Mandy Chung has updated the pull

Re: RFR: 8309622: Re-examine the cache mechanism in BaseLocale [v3]

2023-06-16 Thread Brett Okken
On Fri, 16 Jun 2023 17:18:33 GMT, Naoto Sato wrote: >> src/java.base/share/classes/sun/util/locale/BaseLocale.java line 168: >> >>> 166: // BaseLocale as the key. The returned "normalized" instance >>> 167: // can subsequently be used by the Locale instance which >>> 168:

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods [v2]

2023-06-16 Thread Pavel Rappo
On Fri, 16 Jun 2023 22:12:43 GMT, Roger Riggs wrote: >> In java.time packages, clarify timeline order javadoc to mention "before" >> and "after" in the value of the `compareTo` method return values. >> Add javadoc @see tags to isBefore and isAfter methods >> >> Replace use of "negative" and

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods [v2]

2023-06-16 Thread Brian Burkhalter
On Fri, 16 Jun 2023 22:12:43 GMT, Roger Riggs wrote: >> In java.time packages, clarify timeline order javadoc to mention "before" >> and "after" in the value of the `compareTo` method return values. >> Add javadoc @see tags to isBefore and isAfter methods >> >> Replace use of "negative" and

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries

2023-06-16 Thread Jiangli Zhou
On Fri, 16 Jun 2023 22:08:19 GMT, Daniel D. Daugherty wrote: > GHA is failing on windows; is this related to this PR or something else? The windows build failures occur with other PRs as well, e.g. https://github.com/openjdk/jdk21/pull/24/checks?check_run_id=14317258603. They should be

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries

2023-06-16 Thread Daniel D . Daugherty
On Fri, 16 Jun 2023 20:36:07 GMT, Jiangli Zhou wrote: > 8307858: [REDO] JDK-8307194 Add make target for optionally building a > complete set of all JDK and hotspot libjvm static libraries GHA is failing on windows; is this related to this PR or something else? @erikj - You did a round of

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods [v2]

2023-06-16 Thread Roger Riggs
> In java.time packages, clarify timeline order javadoc to mention "before" and > "after" in the value of the `compareTo` method return values. > Add javadoc @see tags to isBefore and isAfter methods > > Replace use of "negative" and positive with "less than zero" and "greater > than zero" in

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v3]

2023-06-16 Thread Roger Riggs
On Fri, 16 Jun 2023 21:33:44 GMT, Mandy Chung wrote: >> This PR clarifies the spec of the 3-arg Class::forName regarding the format >> of the name for an array type which is of the form: one or more of "[" + >> binary name of the element type + ";'. > > Mandy Chung has updated the pull

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v3]

2023-06-16 Thread Mandy Chung
> This PR clarifies the spec of the 3-arg Class::forName regarding the format > of the name for an array type which is of the form: one or more of "[" + > binary name of the element type + ";'. Mandy Chung has updated the pull request incrementally with one additional commit since the last

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v2]

2023-06-16 Thread Mandy Chung
On Fri, 16 Jun 2023 21:23:17 GMT, Roger Riggs wrote: >> Mandy Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Clarify for an array class of primitive type > > src/java.base/share/classes/java/lang/Class.java line 448: > >> 446:

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v2]

2023-06-16 Thread Roger Riggs
On Fri, 16 Jun 2023 21:24:17 GMT, Mandy Chung wrote: >> This PR clarifies the spec of the 3-arg Class::forName regarding the format >> of the name for an array type which is of the form: one or more of "[" + >> binary name of the element type + ";'. > > Mandy Chung has updated the pull

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v2]

2023-06-16 Thread Mandy Chung
On Fri, 16 Jun 2023 20:15:25 GMT, Roger Riggs wrote: >> Mandy Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Clarify for an array class of primitive type > > src/java.base/share/classes/java/lang/Class.java line 444: > >> 442:

Re: RFR: 8310242: Clarify the name parameter to Class::forName [v2]

2023-06-16 Thread Mandy Chung
> This PR clarifies the spec of the 3-arg Class::forName regarding the format > of the name for an array type which is of the form: one or more of "[" + > binary name of the element type + ";'. Mandy Chung has updated the pull request incrementally with one additional commit since the last

Integrated: 8309632: JDK 21 RDP1 L10n resource files update

2023-06-16 Thread Justin Lu
On Mon, 12 Jun 2023 21:21:05 GMT, Justin Lu wrote: > Please review this PR which updates the JDK's localized resources since the > previous L10n translation drop (1/26). > > To help with reviewing the changes, @jonathan-gibbons created a tool which > displays the localized changes next to the

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries

2023-06-16 Thread Jiangli Zhou
On Fri, 16 Jun 2023 20:52:13 GMT, Kevin Rushforth wrote: > As a P4 enhancement, this doesn't meet the criteria for integration into JDK > 21 during [Rampdown Phase > 1](https://mail.openjdk.org/pipermail/jdk-dev/2023-June/007911.html). You > could request late approval to get this enhancement

Re: RFR: 8309632: JDK 21 RDP1 L10n resource files update [v2]

2023-06-16 Thread Naoto Sato
On Fri, 16 Jun 2023 04:39:42 GMT, Justin Lu wrote: >> Please review this PR which updates the JDK's localized resources since the >> previous L10n translation drop (1/26). >> >> To help with reviewing the changes, @jonathan-gibbons created a tool which >> displays the localized changes next

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods

2023-06-16 Thread Lance Andersen
On Fri, 16 Jun 2023 20:51:42 GMT, Roger Riggs wrote: >> src/java.base/share/classes/java/time/Duration.java line 1422: >> >>> 1420: * >>> 1421: * @param otherDuration the other duration to compare to, not null >>> 1422: * @return the comparator value is less than zero if the

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries

2023-06-16 Thread Kevin Rushforth
On Fri, 16 Jun 2023 20:36:07 GMT, Jiangli Zhou wrote: > 8307858: [REDO] JDK-8307194 Add make target for optionally building a > complete set of all JDK and hotspot libjvm static libraries As a P4 enhancement, this doesn't meet the criteria for integration into JDK 21 during [Rampdown Phase

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods

2023-06-16 Thread Roger Riggs
On Fri, 16 Jun 2023 20:47:39 GMT, Lance Andersen wrote: >> In java.time packages, clarify timeline order javadoc to mention "before" >> and "after" in the value of the `compareTo` method return values. >> Add javadoc @see tags to isBefore and isAfter methods >> >> Replace use of "negative"

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods

2023-06-16 Thread Lance Andersen
On Wed, 14 Jun 2023 20:35:54 GMT, Roger Riggs wrote: > In java.time packages, clarify timeline order javadoc to mention "before" and > "after" in the value of the `compareTo` method return values. > Add javadoc @see tags to isBefore and isAfter methods > > Replace use of "negative" and

RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries

2023-06-16 Thread Jiangli Zhou
8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries - Commit messages: - Backport 45414fc2dfa41cbbfc6de7fec15eb47f41cf8986 Changes: https://git.openjdk.org/jdk21/pull/26/files Webrev:

Re: RFR: 8310187: Improve Generational ZGC jtreg testing [v2]

2023-06-16 Thread Daniel D . Daugherty
On Fri, 16 Jun 2023 11:41:14 GMT, Axel Boldt-Christmas wrote: >> The current implementation for testing generational ZGC with jtreg is >> implemented with a filter on the mode flag `ZGenerational`. Because of this >> only environments which set this flag explicitly will run most of the tests.

Re: RFR: JDK-8308398 Move SunEC crypto provider into java.base

2023-06-16 Thread Weijun Wang
On Tue, 13 Jun 2023 20:36:28 GMT, Anthony Scarpino wrote: > Hi, > > I need a code review for moving the contents of the jdk.crypto.ec module into > java.base. This moves the SunEC JCE Provider (Elliptic Curve) into > java.base. EC has always been separate from the base module/pkg because

Re: RFR: 8310033: Clarify return value of Java Time compareTo methods

2023-06-16 Thread Brian Burkhalter
On Wed, 14 Jun 2023 20:35:54 GMT, Roger Riggs wrote: > In java.time packages, clarify timeline order javadoc to mention "before" and > "after" in the value of the `compareTo` method return values. > Add javadoc @see tags to isBefore and isAfter methods > > Replace use of "negative" and

RFR: JDK-8308398 Move SunEC crypto provider into java.base

2023-06-16 Thread Anthony Scarpino
Hi, I need a code review for moving the contents of the jdk.crypto.ec module into java.base. This moves the SunEC JCE Provider (Elliptic Curve) into java.base. EC has always been separate from the base module/pkg because of its dependence on a native library. That library was removed in JDK

Re: RFR: 8310242: Clarify the name parameter to Class::forName

2023-06-16 Thread Roger Riggs
On Fri, 16 Jun 2023 19:58:08 GMT, Mandy Chung wrote: > This PR clarifies the spec of the 3-arg Class::forName regarding the format > of the name for an array type which is of the form: one or more of "[" + > binary name of the element type + ";'.

Re: RFR: 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString [v5]

2023-06-16 Thread Mandy Chung
On Thu, 15 Jun 2023 02:38:08 GMT, Chen Liang wrote: >> The API specification for descriptorString not being a strict inverse of >> Class::forName and MethodType::fromDescriptorString are not entirely correct. >> >> 1. Class::descriptorString was never an inverse of Class::forName, which >>

RFR: 8310242: Clarify the name parameter to Class::forName

2023-06-16 Thread Mandy Chung
This PR clarifies the spec of the 3-arg Class::forName regarding the format of the name for an array type which is of the form: one or more of "[" + binary name of the element type + ";'. - Commit messages: - 8310242: Clarify the name parameter to Class::forName Changes:

Re: RFR: 8308452: Extend internal Architecture enum with byte order and address size [v5]

2023-06-16 Thread Roger Riggs
> The internal enum jdk.internal.util.Architecture does not provide information > about the big or little endianness or the address size (64 or 32 bits). The > endian-ness and address size are intrinsic to the architecture. > > The values of the enum are extended to separately identify the big

RFR: 8310033: Clarify return value of Java Time compareTo methods

2023-06-16 Thread Roger Riggs
In java.time packages, clarify timeline order javadoc to mention "before" and "after" in the value of the `compareTo` method return values. Add javadoc @see tags to isBefore and isAfter methods Replace use of "negative" and positive with "less than zero" and "greater than zero" in javadoc

Re: RFR: 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString [v5]

2023-06-16 Thread Mandy Chung
On Thu, 15 Jun 2023 02:38:08 GMT, Chen Liang wrote: >> The API specification for descriptorString not being a strict inverse of >> Class::forName and MethodType::fromDescriptorString are not entirely correct. >> >> 1. Class::descriptorString was never an inverse of Class::forName, which >>

Re: RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX [v2]

2023-06-16 Thread Chris Plummer
On Fri, 16 Jun 2023 11:59:39 GMT, Matthias Baesken wrote: >> After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , >> the following test started to fail on AIX : >> com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output : >> >>

Re: RFR: 8308694: Clarify reversed() default methods' implementation requirements

2023-06-16 Thread Brent Christian
On Fri, 16 Jun 2023 15:30:55 GMT, Roger Riggs wrote: >> Can I get a preliminary review of the wording for Deque.reversed()? If the >> text is good, I'll make corresponding changes to the implSpecs of the other >> reversed() default methods, namely those in List, SortedMap, and SortedSet >>

Re: RFR: 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations" [v6]

2023-06-16 Thread Daniel D . Daugherty
On Wed, 14 Jun 2023 16:54:55 GMT, Andrew Haley wrote: >> The implementation changes look good. >> >> The update to test looks okay too although I would like to see if we can do >> better in SVC and STS when there is a SO. In passing, I think all usages of >> tlr should be replaced with

Integrated: 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing

2023-06-16 Thread Daniel D . Daugherty
On Fri, 16 Jun 2023 17:10:08 GMT, Daniel D. Daugherty wrote: > A trivia fix for > serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java > failing. This pull request has now been integrated. Changeset: 16134f44 Author:Daniel D. Daugherty URL:

Re: Integrated: 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing

2023-06-16 Thread Daniel D . Daugherty
On Fri, 16 Jun 2023 17:26:38 GMT, Mikael Vidstedt wrote: >> A trivia fix for >> serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java >> failing. > > Marked as reviewed by mikael (Reviewer). @vidmik - Thanks for the review! It appears that the bots are running very, very

Re: Integrated: 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing

2023-06-16 Thread Daniel D . Daugherty
On Fri, 16 Jun 2023 17:10:08 GMT, Daniel D. Daugherty wrote: > A trivia fix for > serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java > failing. This fix is being tested with an urgent Mach5 Tier1. macosx-aarch64-debug has passed the test when it failed before.

Re: Integrated: 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing

2023-06-16 Thread Mikael Vidstedt
On Fri, 16 Jun 2023 17:10:08 GMT, Daniel D. Daugherty wrote: > A trivia fix for > serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java > failing. Marked as reviewed by mikael (Reviewer). - PR Review:

Integrated: 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing

2023-06-16 Thread Daniel D . Daugherty
A trivia fix for serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing. - Commit messages: - 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing Changes: https://git.openjdk.org/jdk/pull/14524/files Webrev:

Re: RFR: 8309622: Re-examine the cache mechanism in BaseLocale [v3]

2023-06-16 Thread Naoto Sato
On Fri, 16 Jun 2023 12:46:01 GMT, Brett Okken wrote: >> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Addressing review comments > > src/java.base/share/classes/sun/util/locale/BaseLocale.java line 168: > >> 166:

Re: RFR: 8309632: JDK 21 RDP1 L10n resource files update [v2]

2023-06-16 Thread Naoto Sato
On Fri, 16 Jun 2023 15:06:30 GMT, Jonathan Gibbons wrote: >> Left some comments on the translations mainly in Japanese. It is now very >> easy to look at the l10n changes in the generated HTML. One small comment to >> the tool is that it would be nice if the order in HTML (alphabetically >>

Re: RFR: 8308694: Clarify reversed() default methods' implementation requirements

2023-06-16 Thread Roger Riggs
On Thu, 15 Jun 2023 22:38:43 GMT, Stuart Marks wrote: > Can I get a preliminary review of the wording for Deque.reversed()? If the > text is good, I'll make corresponding changes to the implSpecs of the other > reversed() default methods, namely those in List, SortedMap, and SortedSet > and

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v5]

2023-06-16 Thread Roger Riggs
On Fri, 16 Jun 2023 12:14:49 GMT, Sean Coffey wrote: >> New functionality in the -XshowSettings menu to display relevant information >> about JDK security configuration > > Sean Coffey has updated the pull request incrementally with one additional > commit since the last revision: > > Pass

Re: RFR: 8310157: Allow void-returning filters for MethodHandles::collectCoordinates [v2]

2023-06-16 Thread Jorn Vernee
On Fri, 16 Jun 2023 01:53:29 GMT, Jorn Vernee wrote: >> This patch changes the implementation of `MethodHandles::collectCoordinates` >> to allow using filters that return `void`. This brings the behavior in line >> with the previously existing `MethodHandles::collectArgument` which operates

Re: RFR: 8310157: Allow void-returning filters for MethodHandles::collectCoordinates [v3]

2023-06-16 Thread Jorn Vernee
> This patch changes the implementation of `MethodHandles::collectCoordinates` > to allow using filters that return `void`. This brings the behavior in line > with the previously existing `MethodHandles::collectArgument` which operates > on MethodHandles rather than VarHandles. > > Testing:

Re: RFR: 8310157: Allow void-returning filters for MethodHandles::collectCoordinates [v3]

2023-06-16 Thread Maurizio Cimadamore
On Fri, 16 Jun 2023 15:15:07 GMT, Jorn Vernee wrote: >> This patch changes the implementation of `MethodHandles::collectCoordinates` >> to allow using filters that return `void`. This brings the behavior in line >> with the previously existing `MethodHandles::collectArgument` which operates

Re: RFR: 8309632: JDK 21 RDP1 L10n resource files update [v2]

2023-06-16 Thread Jonathan Gibbons
On Tue, 13 Jun 2023 18:38:28 GMT, Naoto Sato wrote: > Left some comments on the translations mainly in Japanese. It is now very > easy to look at the l10n changes in the generated HTML. One small comment to > the tool is that it would be nice if the order in HTML (alphabetically sorted >

Re: RFR: 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations" [v8]

2023-06-16 Thread Alan Bateman
On Thu, 15 Jun 2023 11:45:04 GMT, Andrew Haley wrote: >> Move `runWith()` from `VirtualThread` to `BaseVirtualThread`. >> >> `BoundVirtualThread` does not use `runWith()` to run its task, so when a VM >> error occurs it can not recover scoped values. >> >> Moving `runWith()` into the common

Re: RFR: 8310187: Improve Generational ZGC jtreg testing [v2]

2023-06-16 Thread Stefan Karlsson
On Fri, 16 Jun 2023 11:41:14 GMT, Axel Boldt-Christmas wrote: >> The current implementation for testing generational ZGC with jtreg is >> implemented with a filter on the mode flag `ZGenerational`. Because of this >> only environments which set this flag explicitly will run most of the tests.

Re: RFR: 8309622: Re-examine the cache mechanism in BaseLocale [v3]

2023-06-16 Thread Brett Okken
On Tue, 13 Jun 2023 17:56:57 GMT, Naoto Sato wrote: >> This is stemming from the PR: https://github.com/openjdk/jdk/pull/14211 >> where aggressive GC can cause NPE in `BaseLocale$Key` class. I refactored >> the in-house cache with WeakHashMap, and removed the Key class as it is no >> longer

Re: RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX

2023-06-16 Thread Alan Bateman
On Fri, 16 Jun 2023 11:54:52 GMT, Matthias Baesken wrote: > Hi Alan, I adjusted / simplified the coding. Thanks for taking the suggestion. - PR Comment: https://git.openjdk.org/jdk/pull/14515#issuecomment-1594595016

Re: RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX [v2]

2023-06-16 Thread Alan Bateman
On Fri, 16 Jun 2023 11:59:39 GMT, Matthias Baesken wrote: >> After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , >> the following test started to fail on AIX : >> com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output : >> >>

Integrated: 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"

2023-06-16 Thread Andrew Haley
On Fri, 9 Jun 2023 16:53:15 GMT, Andrew Haley wrote: > Move `runWith()` from `VirtualThread` to `BaseVirtualThread`. > > `BoundVirtualThread` does not use `runWith()` to run its task, so when a VM > error occurs it can not recover scoped values. > > Moving `runWith()` into the common subclass

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v5]

2023-06-16 Thread Sean Coffey
> New functionality in the -XshowSettings menu to display relevant information > about JDK security configuration Sean Coffey has updated the pull request incrementally with one additional commit since the last revision: Pass PrintStream to security helper - Changes: - all:

Re: RFR: 8309622: Re-examine the cache mechanism in BaseLocale [v3]

2023-06-16 Thread Brett Okken
On Tue, 13 Jun 2023 17:56:57 GMT, Naoto Sato wrote: >> This is stemming from the PR: https://github.com/openjdk/jdk/pull/14211 >> where aggressive GC can cause NPE in `BaseLocale$Key` class. I refactored >> the in-house cache with WeakHashMap, and removed the Key class as it is no >> longer

Re: RFR: 8310187: Improve Generational ZGC jtreg testing [v2]

2023-06-16 Thread Erik Ă–sterlund
On Fri, 16 Jun 2023 11:41:14 GMT, Axel Boldt-Christmas wrote: >> The current implementation for testing generational ZGC with jtreg is >> implemented with a filter on the mode flag `ZGenerational`. Because of this >> only environments which set this flag explicitly will run most of the tests.

Re: RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX

2023-06-16 Thread Matthias Baesken
On Fri, 16 Jun 2023 10:44:47 GMT, Matthias Baesken wrote: > After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , > the following test started to fail on AIX : > com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output : > > java.lang.RuntimeException:

Re: RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX [v2]

2023-06-16 Thread Matthias Baesken
> After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , > the following test started to fail on AIX : > com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output : > > java.lang.RuntimeException: 'WARNING: A JVM TI agent has been loaded > dynamically' found

Integrated: 8309937: Add @sealedGraph for some Panama FFM interfaces

2023-06-16 Thread Per Minborg
On Tue, 13 Jun 2023 14:13:42 GMT, Per Minborg wrote: > This PR proposes adding `@sealedGraph` to `GroupLayout` so the latter will be > rendered in the javadocs the same way the other layouts that has public > sub-interfaces. This pull request has now been integrated. Changeset: b412fc79

Re: RFR: 8310187: Improve Generational ZGC jtreg testing [v2]

2023-06-16 Thread Axel Boldt-Christmas
> The current implementation for testing generational ZGC with jtreg is > implemented with a filter on the mode flag `ZGenerational`. Because of this > only environments which set this flag explicitly will run most of the tests. > So they get missed in Github Actions and for developers running

Re: RFR: 8309937: Add @sealedGraph for some Panama FFM interfaces

2023-06-16 Thread Maurizio Cimadamore
On Tue, 13 Jun 2023 14:13:42 GMT, Per Minborg wrote: > This PR proposes adding `@sealedGraph` to `GroupLayout` so the latter will be > rendered in the javadocs the same way the other layouts that has public > sub-interfaces. Marked as reviewed by mcimadamore (Reviewer). - PR

Re: RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX

2023-06-16 Thread Alan Bateman
On Fri, 16 Jun 2023 10:44:47 GMT, Matthias Baesken wrote: > After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , > the following test started to fail on AIX : > com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output : > > java.lang.RuntimeException:

Re: RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v4]

2023-06-16 Thread Alan Bateman
On Mon, 12 Jun 2023 05:03:28 GMT, Alan Bateman wrote: >> Oliver Kopp 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 five additional >> commits

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v3]

2023-06-16 Thread Alan Bateman
On Fri, 16 Jun 2023 11:09:23 GMT, Sean Coffey wrote: > Logged https://bugs.openjdk.org/browse/JDK-8310201 to track the Locale > changes Alan. Thanks, probably should treat this as a bug for JDK 21 so that a new addition doesn't change behavior between 21 and 22. - PR Review

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v4]

2023-06-16 Thread Alan Bateman
On Fri, 16 Jun 2023 11:14:38 GMT, Sean Coffey wrote: >> New functionality in the -XshowSettings menu to display relevant information >> about JDK security configuration > > Sean Coffey has updated the pull request incrementally with two additional > commits since the last revision: > > -

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v3]

2023-06-16 Thread Sean Coffey
On Wed, 14 Jun 2023 11:39:14 GMT, Sean Coffey wrote: >> New functionality in the -XshowSettings menu to display relevant information >> about JDK security configuration > > Sean Coffey has updated the pull request incrementally with one additional > commit since the last revision: > >

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v3]

2023-06-16 Thread Sean Coffey
On Wed, 14 Jun 2023 14:06:33 GMT, Sean Mullan wrote: >> src/java.base/share/classes/sun/launcher/LauncherHelper.java line 424: >> >>> 422:if (!services.isEmpty()) { >>> 423:services.stream() >>> 424: >>>

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v3]

2023-06-16 Thread Sean Coffey
On Thu, 15 Jun 2023 06:32:06 GMT, Alan Bateman wrote: >> src/java.base/share/classes/sun/launcher/LauncherHelper.java line 183: >> >>> 181: case "locale": >>> 182: printLocale(); >>> 183: break; >> >> printLocale might need the same treatment to

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v3]

2023-06-16 Thread Sean Coffey
On Wed, 14 Jun 2023 12:46:36 GMT, Weijun Wang wrote: >> Sean Coffey has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Incorporate review comments from Roger and tweak some code > >

Re: RFR: 8281658: Add a security category to the java -XshowSettings option [v4]

2023-06-16 Thread Sean Coffey
> New functionality in the -XshowSettings menu to display relevant information > about JDK security configuration Sean Coffey has updated the pull request incrementally with two additional commits since the last revision: - Refactor out security code to helper class - Print aliases. Order

RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX

2023-06-16 Thread Matthias Baesken
After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , the following test started to fail on AIX : com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output : java.lang.RuntimeException: 'WARNING: A JVM TI agent has been loaded dynamically' found in stderr

Re: RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v4]

2023-06-16 Thread Oliver Kopp
On Mon, 12 Jun 2023 05:03:28 GMT, Alan Bateman wrote: >> Oliver Kopp 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 five additional >> commits

Re: RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v4]

2023-06-16 Thread Oliver Kopp
> Fix for [JDK-8240567](https://bugs.openjdk.org/browse/JDK-8240567): > "MethodTooLargeException thrown while creating a jlink image". > > Java still has a 64kb limit: A method may not be longer than 64kb. The idea > of the fix is to split up the generated methods in several smaller methods >

RFR: 8310187: Improve Generational ZGC jtreg testing

2023-06-16 Thread Axel Boldt-Christmas
The current implementation for testing generational ZGC with jtreg is implemented with a filter on the mode flag `ZGenerational`. Because of this only environments which set this flag explicitly will run most of the tests. So they get missed in Github Actions and for developers running jtreg

RFR: 8303916: ThreadLists.java inconsistent results

2023-06-16 Thread Kevin Walls
Clean backport from latest jdk repo to jdk21 for the test change: 8303916: ThreadLists.java inconsistent results - Commit messages: - Backport 8c9b85a990d955487f9141207cc83d0051defc57 Changes: https://git.openjdk.org/jdk21/pull/24/files Webrev:

Integrated: 8309408: Thread.sleep cleanup

2023-06-16 Thread Alan Bateman
On Sun, 4 Jun 2023 11:28:33 GMT, Alan Bateman wrote: > Thread.sleep has had quite a bit of churn recently to support virtual > threads, add sleep(Duration), a JFR event, and the change the underlying > implementation to support sub-millis precision. I think the changes have > settled down now