From macarte at openjdk.org Thu May 1 00:23:29 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 1 May 2025 00:23:29 GMT Subject: RFR: Prototype AOTMXBean [v2] In-Reply-To: References: Message-ID: <9FCbuo-W2oP-A2OZ8QiuRDqTOWCVoGCNs2cnMq7OdnQ=.6e05c8c6-520e-4141-81cf-90503422edee@github.com> > /** > * Returns the string representing the current AOT mode of > * operation. > * > * @return the string representing the current AOT mode. > */ > public String getMode(); > > /** > * Tests if a recording is in progress. > * > * @return {@code true} if a recording is in progress; {@code false} otherwise. > */ > public boolean isRecording(); > > /** > * If a recording is in progress or has been completed, then returns the duration in milliseconds > * > * @return duration of the recording in milliseconds. > */ > public long getRecordingDuration(); > > /** > * If a recording is in progress, then stops the recording. > * > * @return {@code true} if a recording was stopped; {@code false} otherwise. > */ > public boolean endRecording(); Mat Carter has updated the pull request incrementally with three additional commits since the last revision: - Merge pull request #3 from macarte/macarte-aotbean-mgmt Moved AOT MXBean from java.lang.management to jdk.management - Removed local test code from previous commit - Moved the AOT bean from java.lang.management to jdk.management ------------- Changes: - all: https://git.openjdk.org/leyden/pull/52/files - new: https://git.openjdk.org/leyden/pull/52/files/bbcc8613..fb71d522 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=01 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=00-01 Stats: 414 lines in 10 files changed: 183 ins; 228 del; 3 mod Patch: https://git.openjdk.org/leyden/pull/52.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/52/head:pull/52 PR: https://git.openjdk.org/leyden/pull/52 From macarte at openjdk.org Thu May 1 00:26:08 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 1 May 2025 00:26:08 GMT Subject: RFR: Prototype AOTMXBean In-Reply-To: References: Message-ID: On Fri, 18 Apr 2025 08:27:49 GMT, Alan Bateman wrote: >>> AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >> >> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? > >> > AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >> >> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? > > Both modules export APIs so both modules will be resolved by default when the initial module is the "class path". Running with -Dcom.sun.management.jmxremote doesn't change that. > > They will also be resolved when the initial module is a named module, e.g. java -m app, even if app doesn't transitively depends on java.management or jdk.management. This is because of services and specifically java.management provides an implementation of JAAS LoginModule that can be used by java.base, and jdk.management provides additional platform MXBeans that can be used by java.management. > > So nothing here where the initial module or command line options will cause a concern. > > In any case, I think this MXBean is best prototyped in the jdk.management module, and in the jdk.management package. VirtualThreadSchedulerMXBean was recently added to this module. In JMX speak, that MXBean defines several attributes and an operation to control the scheduler. The proposal in this MXBean maps to 3 attributes and an operation to stop recording. @AlanBateman / @iklam - thank you for the review and recommendations. I've updated this PR with changes to move the MXBean from java.management to jdk.management ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2843786109 From shade at openjdk.org Thu May 1 07:24:01 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 1 May 2025 07:24:01 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Tue, 29 Apr 2025 18:59:06 GMT, Vladimir Ivanov wrote: >> Aleksey Shipilev 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 since the last revision: >> >> - Co-opt Igor's fix >> - Merge branch 'premain' into JDK-8355915-mdo-array-crash >> - More robust fix >> - Fix >> - Fix > > Looks good. Are we good with this? @iwanowww, @veresov? ------------- PR Comment: https://git.openjdk.org/leyden/pull/64#issuecomment-2844245319 From macarte at openjdk.org Thu May 1 16:05:42 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 1 May 2025 16:05:42 GMT Subject: RFR: Prototype AOTMXBean [v3] In-Reply-To: References: Message-ID: > /** > * Returns the string representing the current AOT mode of > * operation. > * > * @return the string representing the current AOT mode. > */ > public String getMode(); > > /** > * Tests if a recording is in progress. > * > * @return {@code true} if a recording is in progress; {@code false} otherwise. > */ > public boolean isRecording(); > > /** > * If a recording is in progress or has been completed, then returns the duration in milliseconds > * > * @return duration of the recording in milliseconds. > */ > public long getRecordingDuration(); > > /** > * If a recording is in progress, then stops the recording. > * > * @return {@code true} if a recording was stopped; {@code false} otherwise. > */ > public boolean endRecording(); Mat Carter has updated the pull request incrementally with one additional commit since the last revision: Fixed issues from clean build ------------- Changes: - all: https://git.openjdk.org/leyden/pull/52/files - new: https://git.openjdk.org/leyden/pull/52/files/fb71d522..e6e45373 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=02 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=01-02 Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/leyden/pull/52.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/52/head:pull/52 PR: https://git.openjdk.org/leyden/pull/52 From shade at openjdk.org Thu May 1 16:36:20 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 1 May 2025 16:36:20 GMT Subject: Integrated: 8355915: [leyden] Crash in MDO clearing the unloaded array type In-Reply-To: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Tue, 29 Apr 2025 14:57:23 GMT, Aleksey Shipilev wrote: > Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. > > The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. > > Additional testing: > - [x] Ad-hoc testing with most recent spring-boot-petclinic > - [x] Linux x86_64 server fastdebug, `runtime/cds` This pull request has now been integrated. Changeset: e90a38f6 Author: Aleksey Shipilev URL: https://git.openjdk.org/leyden/commit/e90a38f6875b8d33ce7f1020891fc480d8ddffaf Stats: 17 lines in 4 files changed: 6 ins; 4 del; 7 mod 8355915: [leyden] Crash in MDO clearing the unloaded array type Reviewed-by: vlivanov, iveresov ------------- PR: https://git.openjdk.org/leyden/pull/64 From iveresov at openjdk.org Thu May 1 17:18:04 2025 From: iveresov at openjdk.org (Igor Veresov) Date: Thu, 1 May 2025 17:18:04 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: <0UnmAydYHiMeIBuAnTF4LG-7dHTuL5myb41jLOTtoWs=.cadd431f-68c8-4115-9d99-9d9005e2787b@github.com> References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> <0UnmAydYHiMeIBuAnTF4LG-7dHTuL5myb41jLOTtoWs=.cadd431f-68c8-4115-9d99-9d9005e2787b@github.com> Message-ID: On Thu, 1 May 2025 17:07:10 GMT, Vladimir Ivanov wrote: >> Aleksey Shipilev 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 since the last revision: >> >> - Co-opt Igor's fix >> - Merge branch 'premain' into JDK-8355915-mdo-array-crash >> - More robust fix >> - Fix >> - Fix > > src/hotspot/share/ci/ciMethodData.cpp line 82: > >> 80: bool is_live(Method* m) { >> 81: Klass* holder = m->method_holder(); >> 82: if (holder == nullptr || !holder->is_loader_present_and_alive() || !is_klass_loaded(holder)) { > > Why do we need these checks on CI side? Wasn't it you who put it there? :) ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/64#discussion_r2070542322 From shade at openjdk.org Thu May 1 16:34:08 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 1 May 2025 16:34:08 GMT Subject: git: openjdk/leyden: premain: 8355915: [leyden] Crash in MDO clearing the unloaded array type Message-ID: <2b02544c-0f7e-4e72-ad63-aeaae816a0ba@openjdk.org> Changeset: e90a38f6 Branch: premain Author: Aleksey Shipilev Date: 2025-05-01 16:33:27 +0000 URL: https://git.openjdk.org/leyden/commit/e90a38f6875b8d33ce7f1020891fc480d8ddffaf 8355915: [leyden] Crash in MDO clearing the unloaded array type Reviewed-by: vlivanov, iveresov ! src/hotspot/share/ci/ciMethodData.cpp ! src/hotspot/share/oops/klass.hpp ! src/hotspot/share/oops/klass.inline.hpp ! src/hotspot/share/oops/methodData.cpp From shade at openjdk.org Thu May 1 16:36:20 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 1 May 2025 16:36:20 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Wed, 30 Apr 2025 10:01:58 GMT, Aleksey Shipilev wrote: >> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. >> >> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. >> >> Additional testing: >> - [x] Ad-hoc testing with most recent spring-boot-petclinic >> - [x] Linux x86_64 server fastdebug, `runtime/cds` > > Aleksey Shipilev 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 since the last revision: > > - Co-opt Igor's fix > - Merge branch 'premain' into JDK-8355915-mdo-array-crash > - More robust fix > - Fix > - Fix Thanks! Igor, I think you want to mix this into your persistent profiles PR. ------------- PR Comment: https://git.openjdk.org/leyden/pull/64#issuecomment-2845199408 From vlivanov at openjdk.org Thu May 1 17:10:14 2025 From: vlivanov at openjdk.org (Vladimir Ivanov) Date: Thu, 1 May 2025 17:10:14 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: <0UnmAydYHiMeIBuAnTF4LG-7dHTuL5myb41jLOTtoWs=.cadd431f-68c8-4115-9d99-9d9005e2787b@github.com> On Wed, 30 Apr 2025 10:01:58 GMT, Aleksey Shipilev wrote: >> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. >> >> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. >> >> Additional testing: >> - [x] Ad-hoc testing with most recent spring-boot-petclinic >> - [x] Linux x86_64 server fastdebug, `runtime/cds` > > Aleksey Shipilev 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 since the last revision: > > - Co-opt Igor's fix > - Merge branch 'premain' into JDK-8355915-mdo-array-crash > - More robust fix > - Fix > - Fix src/hotspot/share/ci/ciMethodData.cpp line 82: > 80: bool is_live(Method* m) { > 81: Klass* holder = m->method_holder(); > 82: if (holder == nullptr || !holder->is_loader_present_and_alive() || !is_klass_loaded(holder)) { Why do we need these checks on CI side? ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/64#discussion_r2070529243 From iveresov at openjdk.org Thu May 1 16:31:58 2025 From: iveresov at openjdk.org (Igor Veresov) Date: Thu, 1 May 2025 16:31:58 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Wed, 30 Apr 2025 10:01:58 GMT, Aleksey Shipilev wrote: >> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. >> >> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. >> >> Additional testing: >> - [x] Ad-hoc testing with most recent spring-boot-petclinic >> - [x] Linux x86_64 server fastdebug, `runtime/cds` > > Aleksey Shipilev 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 since the last revision: > > - Co-opt Igor's fix > - Merge branch 'premain' into JDK-8355915-mdo-array-crash > - More robust fix > - Fix > - Fix Looks ok ------------- Marked as reviewed by iveresov (Committer). PR Review: https://git.openjdk.org/leyden/pull/64#pullrequestreview-2810158662 From iveresov at openjdk.org Thu May 1 16:41:10 2025 From: iveresov at openjdk.org (Igor Veresov) Date: Thu, 1 May 2025 16:41:10 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Wed, 30 Apr 2025 10:01:58 GMT, Aleksey Shipilev wrote: >> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. >> >> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. >> >> Additional testing: >> - [x] Ad-hoc testing with most recent spring-boot-petclinic >> - [x] Linux x86_64 server fastdebug, `runtime/cds` > > Aleksey Shipilev 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 since the last revision: > > - Co-opt Igor's fix > - Merge branch 'premain' into JDK-8355915-mdo-array-crash > - More robust fix > - Fix > - Fix > Thanks! Igor, I think you want to mix this into your persistent profiles PR. > > /integrate Yup, I'll port it. ------------- PR Comment: https://git.openjdk.org/leyden/pull/64#issuecomment-2845211366 From vlivanov at openjdk.org Thu May 1 18:44:00 2025 From: vlivanov at openjdk.org (Vladimir Ivanov) Date: Thu, 1 May 2025 18:44:00 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> <0UnmAydYHiMeIBuAnTF4LG-7dHTuL5myb41jLOTtoWs=.cadd431f-68c8-4115-9d99-9d9005e2787b@github.com> Message-ID: <_VOhhHXwXZnGa_dYSBqvG6N_6G0NgRG_-woT-FUyg3M=.314d3cc2-a0a1-43c5-bc12-90583fdc9473@github.com> On Thu, 1 May 2025 17:15:18 GMT, Igor Veresov wrote: >> src/hotspot/share/ci/ciMethodData.cpp line 82: >> >>> 80: bool is_live(Method* m) { >>> 81: Klass* holder = m->method_holder(); >>> 82: if (holder == nullptr || !holder->is_loader_present_and_alive() || !is_klass_loaded(holder)) { >> >> Why do we need these checks on CI side? > > Wasn't it you who put it there? :) Nevermind, it turns out to be just a refactoring:`holder == nullptr || !holder->is_loader_present_and_alive()` is equivalent to the original check `!has_cld(holder) || !holder->is_loader_alive()`. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/64#discussion_r2070642734 From iveresov at openjdk.org Thu May 1 19:28:09 2025 From: iveresov at openjdk.org (Igor Veresov) Date: Thu, 1 May 2025 19:28:09 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Wed, 30 Apr 2025 10:01:58 GMT, Aleksey Shipilev wrote: >> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. >> >> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. >> >> Additional testing: >> - [x] Ad-hoc testing with most recent spring-boot-petclinic >> - [x] Linux x86_64 server fastdebug, `runtime/cds` > > Aleksey Shipilev 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 since the last revision: > > - Co-opt Igor's fix > - Merge branch 'premain' into JDK-8355915-mdo-array-crash > - More robust fix > - Fix > - Fix src/hotspot/share/ci/ciMethodData.cpp line 317: > 315: for (uint row = 0; row < row_limit(); row++) { > 316: Klass* k = data->as_ReceiverTypeData()->receiver(row); > 317: if (k != nullptr && k->is_loader_present_and_alive() && is_klass_loaded(k)) { This little part is actually incorrect. It should be just `k->class_loader_data() != nullptr` because there are different branch before for handling if `is_loader_alive()` and if not. I'll push the fix. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/64#discussion_r2070695947 From duke at openjdk.org Thu May 1 19:33:16 2025 From: duke at openjdk.org (duke) Date: Thu, 1 May 2025 19:33:16 GMT Subject: git: openjdk/leyden: premain: Fix semantics change from the previous commit Message-ID: <1a3e5fda-1321-4169-917e-cb6a3e8d0637@openjdk.org> Changeset: bae88b3b Branch: premain Author: Igor Veresov Date: 2025-05-01 12:29:53 +0000 URL: https://git.openjdk.org/leyden/commit/bae88b3b1606c528a386b38357724902eb75b50b Fix semantics change from the previous commit ! src/hotspot/share/ci/ciMethodData.cpp From vlivanov at openjdk.org Thu May 1 19:00:02 2025 From: vlivanov at openjdk.org (Vladimir Ivanov) Date: Thu, 1 May 2025 19:00:02 GMT Subject: RFR: 8355915: [leyden] Crash in MDO clearing the unloaded array type [v3] In-Reply-To: References: <8ScWqvUsA3HzI-L0xWIw1fUieUkDHJzrJhLLAGBoxY4=.5b40e783-b40c-4adc-b336-996e102668a8@github.com> Message-ID: On Wed, 30 Apr 2025 10:01:58 GMT, Aleksey Shipilev wrote: >> Caught this when doing benchmarks with Spring Boot. See the bug for reproducer. >> >> The lifecycle of array types of `T` is bound to the lifecycle of `T` themselves. So the fix does similar thing to `is_excluded` and other code: when we encounter the `T[]`, we ask if its bottom component classes is not yet initialized. This fits nicely with our current uses, which skip such classes, and ever touch their (potentially nullptr) CLDs. >> >> Additional testing: >> - [x] Ad-hoc testing with most recent spring-boot-petclinic >> - [x] Linux x86_64 server fastdebug, `runtime/cds` > > Aleksey Shipilev 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 since the last revision: > > - Co-opt Igor's fix > - Merge branch 'premain' into JDK-8355915-mdo-array-crash > - More robust fix > - Fix > - Fix src/hotspot/share/oops/methodData.cpp line 352: > 350: continue; // skip not-yet-initialized classes // TODO: maybe clear the slot instead? > 351: } > 352: if (always_clean || !k->is_loader_present_and_alive() || is_excluded(k)) { In the longer term, the thing which concerns me about it is that both `is_excluded()` (and `is_klass_loaded()` in `ciMethodData.cpp`) are deliberately limited to Leyden-related modes while `k->is_loader_present_and_alive()` is performed unconditionally across all execution modes. Seeing a Klass with a missing CLD during normal execution mode is a sign of a bug in some other place. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/64#discussion_r2070661760 From macarte at openjdk.org Thu May 1 17:37:22 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 1 May 2025 17:37:22 GMT Subject: RFR: Prototype AOTMXBean [v4] In-Reply-To: References: Message-ID: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> > /** > * Returns the string representing the current AOT mode of > * operation. > * > * @return the string representing the current AOT mode. > */ > public String getMode(); > > /** > * Tests if a recording is in progress. > * > * @return {@code true} if a recording is in progress; {@code false} otherwise. > */ > public boolean isRecording(); > > /** > * If a recording is in progress or has been completed, then returns the duration in milliseconds > * > * @return duration of the recording in milliseconds. > */ > public long getRecordingDuration(); > > /** > * If a recording is in progress, then stops the recording. > * > * @return {@code true} if a recording was stopped; {@code false} otherwise. > */ > public boolean endRecording(); Mat Carter has updated the pull request incrementally with one additional commit since the last revision: Fixed recording time ------------- Changes: - all: https://git.openjdk.org/leyden/pull/52/files - new: https://git.openjdk.org/leyden/pull/52/files/e6e45373..436b5901 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=03 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=02-03 Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod Patch: https://git.openjdk.org/leyden/pull/52.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/52/head:pull/52 PR: https://git.openjdk.org/leyden/pull/52 From kvn at openjdk.org Fri May 2 17:17:37 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 2 May 2025 17:17:37 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings Message-ID: Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. Tested with premain-tier1, tier1-3 ------------- Commit messages: - remove trailing spaces - 8355514: [premain] rename AOT code flags and adjust their ergonomic settings Changes: https://git.openjdk.org/leyden/pull/65/files Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=65&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8355514 Stats: 1058 lines in 24 files changed: 606 ins; 318 del; 134 mod Patch: https://git.openjdk.org/leyden/pull/65.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/65/head:pull/65 PR: https://git.openjdk.org/leyden/pull/65 From mark.reinhold at oracle.com Fri May 2 19:10:48 2025 From: mark.reinhold at oracle.com (Mark Reinhold) Date: Fri, 2 May 2025 19:10:48 +0000 Subject: New candidate JEP: 515: Ahead-of-Time Method Profiling Message-ID: <20250502191047.CE94D813C82@eggemoggin.niobe.net> https://openjdk.org/jeps/515 Summary: Improve warmup time by making method-execution profiles from a previous run of an application instantly available, when the HotSpot Java Virtual Machine starts. This will enable the JIT compiler to generate native code immediately upon application startup, rather than having to wait for profiles to be collected. - Mark From kvn at openjdk.org Fri May 2 20:00:11 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 2 May 2025 20:00:11 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings In-Reply-To: References: Message-ID: On Fri, 2 May 2025 15:48:11 GMT, Vladimir Kozlov wrote: > Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 > > This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. > > Tested with premain-tier1, tier1-3 I don't think GHA failure is related to changes - it does not use AOT. ------------- PR Comment: https://git.openjdk.org/leyden/pull/65#issuecomment-2848002420 From duke at openjdk.org Sat May 3 01:13:25 2025 From: duke at openjdk.org (duke) Date: Sat, 3 May 2025 01:13:25 GMT Subject: git: openjdk/leyden: premain: Flags verification Message-ID: <5987056c-8fed-4972-b187-dc759883c7ea@openjdk.org> Changeset: e0c3e874 Branch: premain Author: Igor Veresov Date: 2025-05-02 18:11:04 +0000 URL: https://git.openjdk.org/leyden/commit/e0c3e8746075ab5d23992ef6c526884164296180 Flags verification ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/compiler/compilationPolicy.cpp From duke at openjdk.org Sat May 3 05:23:01 2025 From: duke at openjdk.org (duke) Date: Sat, 3 May 2025 05:23:01 GMT Subject: git: openjdk/leyden: premain: Fix compile Message-ID: <3a1ec4d4-6e09-4edc-94bb-8113328d61be@openjdk.org> Changeset: aa6cc102 Branch: premain Author: Igor Veresov Date: 2025-05-02 22:22:00 +0000 URL: https://git.openjdk.org/leyden/commit/aa6cc102bc7aa21af4953d7c4d12120de31a2cbe Fix compile ! src/hotspot/share/cds/filemap.cpp From sgehwolf at openjdk.org Mon May 5 09:10:03 2025 From: sgehwolf at openjdk.org (Severin Gehwolf) Date: Mon, 5 May 2025 09:10:03 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: Cleaner GHA build of hermetic-java-runtime branch Message-ID: <02555c8c-355b-424a-b568-37e9fd8bbb69@openjdk.org> Changeset: 5f2b29cf Branch: hermetic-java-runtime Author: Severin Gehwolf Date: 2025-05-05 09:08:56 +0000 URL: https://git.openjdk.org/leyden/commit/5f2b29cff877efe845bd077af405f1f45f9bd745 Cleaner GHA build of hermetic-java-runtime branch Reviewed-by: jiangli ! src/java.base/share/native/launcher/main.c ! src/java.base/share/native/libjava/NativeLibraries.c From sgehwolf at openjdk.org Mon May 5 09:12:09 2025 From: sgehwolf at openjdk.org (Severin Gehwolf) Date: Mon, 5 May 2025 09:12:09 GMT Subject: Integrated: Cleaner GHA build of hermetic-java-runtime branch In-Reply-To: <9kO8DtvfBPz4xUus0dJSJJB7LAlGgdAMiFxtmwB8rSA=.4343e16e-b322-4c62-8bdb-fcd59d939317@github.com> References: <9kO8DtvfBPz4xUus0dJSJJB7LAlGgdAMiFxtmwB8rSA=.4343e16e-b322-4c62-8bdb-fcd59d939317@github.com> Message-ID: On Mon, 28 Apr 2025 13:04:49 GMT, Severin Gehwolf wrote: > Please review this simple PR which fixes build issues seen on GHA. Before this PR we see build failures in various Linux cross-builds and windows builds. This PR should fix those. Note: There are still GHA test failures, but at least we can build the branch on the main 3 platforms. > > Thoughts? This pull request has now been integrated. Changeset: 5f2b29cf Author: Severin Gehwolf URL: https://git.openjdk.org/leyden/commit/5f2b29cff877efe845bd077af405f1f45f9bd745 Stats: 9 lines in 2 files changed: 7 ins; 0 del; 2 mod Cleaner GHA build of hermetic-java-runtime branch Reviewed-by: jiangli ------------- PR: https://git.openjdk.org/leyden/pull/63 From shade at openjdk.org Mon May 5 10:53:12 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 5 May 2025 10:53:12 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings In-Reply-To: References: Message-ID: On Fri, 2 May 2025 15:48:11 GMT, Vladimir Kozlov wrote: > Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 > > This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. > > Tested with premain-tier1, tier1-3 Looks reasonable, with one nit: src/hotspot/share/cds/metaspaceShared.cpp line 2139: > 2137: TrainingData::print_archived_training_data_on(tty); > 2138: > 2139: if (AOTCodeCache::is_dumping_code()) { `LoadCachedCode` should be replaced with `is_using_code()`? ------------- Marked as reviewed by shade (Committer). PR Review: https://git.openjdk.org/leyden/pull/65#pullrequestreview-2814148236 PR Review Comment: https://git.openjdk.org/leyden/pull/65#discussion_r2073051642 From kvn at openjdk.org Mon May 5 17:15:56 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Mon, 5 May 2025 17:15:56 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings [v2] In-Reply-To: References: Message-ID: > Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 > > This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. > > Tested with premain-tier1, tier1-3 Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: Fix printing condition ------------- Changes: - all: https://git.openjdk.org/leyden/pull/65/files - new: https://git.openjdk.org/leyden/pull/65/files/4e0969a9..5d689f40 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=65&range=01 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=65&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/leyden/pull/65.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/65/head:pull/65 PR: https://git.openjdk.org/leyden/pull/65 From kvn at openjdk.org Mon May 5 17:15:57 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Mon, 5 May 2025 17:15:57 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings [v2] In-Reply-To: References: Message-ID: On Mon, 5 May 2025 10:50:46 GMT, Aleksey Shipilev wrote: >> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: >> >> Fix printing condition > > Looks reasonable, with one nit: Thank you @shipilev for review. > src/hotspot/share/cds/metaspaceShared.cpp line 2139: > >> 2137: TrainingData::print_archived_training_data_on(tty); >> 2138: >> 2139: if (AOTCodeCache::is_dumping_code()) { > > `LoadCachedCode` should be replaced with `is_using_code()`? Fixed. It is `is_on_for_read()` actually since it prints all AOT code entries. ------------- PR Comment: https://git.openjdk.org/leyden/pull/65#issuecomment-2851691643 PR Review Comment: https://git.openjdk.org/leyden/pull/65#discussion_r2073836513 From duke at openjdk.org Mon May 5 17:19:35 2025 From: duke at openjdk.org (duke) Date: Mon, 5 May 2025 17:19:35 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 84 new changesets Message-ID: Changeset: ead67574 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-04-29 18:08:28 +0000 URL: https://git.openjdk.org/leyden/commit/ead6757486fb58f35f6e93b691519673bca1a549 8342283: CDS cannot handle a large number of classes Co-authored-by: Ioi Lam Reviewed-by: iklam, lmesnik, ccheung ! src/java.base/share/classes/java/lang/ClassLoader.java ! test/hotspot/jtreg/TEST.groups = test/hotspot/jtreg/runtime/cds/appcds/LotsOfJRTClasses.java + test/hotspot/jtreg/runtime/cds/appcds/LotsOfSyntheticClasses.java Changeset: c2485d5f Branch: hermetic-java-runtime Author: Mark Powers Date: 2025-04-29 19:12:52 +0000 URL: https://git.openjdk.org/leyden/commit/c2485d5f7dd00eaed34a5d309276114eb4c78cb0 8351113: RC2ParameterSpec throws IllegalArgumentException when offset is negative Reviewed-by: mullan ! src/java.base/share/classes/javax/crypto/spec/RC2ParameterSpec.java + test/jdk/java/security/spec/RC2ParameterSpec/InvalidArrayIndex.java Changeset: bf52eb03 Branch: hermetic-java-runtime Author: Brent Christian Date: 2025-04-29 20:15:00 +0000 URL: https://git.openjdk.org/leyden/commit/bf52eb035865353fdf5c6c242f9676a51dcc9e22 8355632: WhiteBox.waitForReferenceProcessing() fails assert for return type Reviewed-by: kbarrett + test/lib-test/jdk/test/whitebox/WaitForRefProcTest.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: 8b16897b Branch: hermetic-java-runtime Author: Artur Barashev Committer: Bradford Wetmore Date: 2025-04-29 20:42:37 +0000 URL: https://git.openjdk.org/leyden/commit/8b16897b74cfdc3c2693e3ae7e05f3d8c6468ebe 8355262: Test sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java failed: accept timed out Reviewed-by: jnimeh, wetmore ! test/jdk/sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java Changeset: 6850757f Branch: hermetic-java-runtime Author: Vladimir Ivanov Date: 2025-04-29 22:25:20 +0000 URL: https://git.openjdk.org/leyden/commit/6850757fe6c6c7868fab2314babb7c30bce2662e 8355689: Wrong native entry name for FloatMaxVector vector math stubs with -XX:MaxVectorSize=8 Reviewed-by: psandoz, haosun, kvn ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.java Changeset: 5e27547e Branch: hermetic-java-runtime Author: William Kemper Date: 2025-04-29 22:56:19 +0000 URL: https://git.openjdk.org/leyden/commit/5e27547e2d577e17316ae1a91f83e4091e9729c5 8355789: GenShen: assert(_degen_point == ShenandoahGC::_degenerated_unset) failed: Should not be set yet: Outside of Cycle Reviewed-by: kdnilsen, ysr ! src/hotspot/share/gc/shenandoah/shenandoahGenerationalControlThread.cpp Changeset: 16529488 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-04-29 23:07:14 +0000 URL: https://git.openjdk.org/leyden/commit/1652948862c135c67d52622062773bf7922e02d0 8355442: Reference field lambda forms with type casts are not generated Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/GenerateJLIClassesHelper.java ! src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java Changeset: 83d0bd85 Branch: hermetic-java-runtime Author: Leonid Mesnik Date: 2025-04-29 23:44:45 +0000 URL: https://git.openjdk.org/leyden/commit/83d0bd85afaf1b5724c12f4d2f6e9c7087bab4e8 8355069: Allocation::check_out_of_memory() should support CheckUnhandledOops mode Reviewed-by: sspitsyn ! src/hotspot/share/gc/shared/memAllocator.cpp Changeset: dcffd9d9 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-04-30 00:39:02 +0000 URL: https://git.openjdk.org/leyden/commit/dcffd9d9ac1ad1ed814b5bb45222a25621eeccda 8347471: Provide valid flags and mask in AccessFlag.Location Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java ! src/java.base/share/classes/java/lang/reflect/Modifier.java ! test/jdk/java/lang/reflect/AccessFlag/BasicAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/ClassAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/FieldAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/MethodAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/StrictAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/VersionedLocationsTest.java ! test/jdk/java/util/Collection/MOAT.java Changeset: 1a9a9288 Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-04-30 01:14:51 +0000 URL: https://git.openjdk.org/leyden/commit/1a9a9288a6c1a58e1678cf0abae75bcf84e1f6af 8355651: Issues with post-image hook Reviewed-by: almatvee ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxRpmBundler.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties ! test/jdk/tools/jpackage/helpers-test/jdk/jpackage/test/TKitTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/Comm.java + test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageUserScript.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/share/BasicTest.java + test/jdk/tools/jpackage/share/PostImageScriptTest.java ! test/jdk/tools/jpackage/windows/WinScriptTest.java Changeset: 375ac6d4 Branch: hermetic-java-runtime Author: Anjian-Wen Committer: Fei Yang Date: 2025-04-30 01:58:41 +0000 URL: https://git.openjdk.org/leyden/commit/375ac6d446332f0763ce294b200143ff63865cf6 8355796: RISC-V: compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java fails after JDK-8355657 Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 7d9a4383 Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Jaikiran Pai Date: 2025-04-30 08:15:21 +0000 URL: https://git.openjdk.org/leyden/commit/7d9a43839ad190a53efdbcc7afd1728760c14e21 8355370: Include server name in HTTP test server thread names to improve diagnostics Reviewed-by: dfuchs, jpai ! test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/common/HttpServerAdapters.java ! test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/http2/Http2TestServer.java Changeset: d802fd0d Branch: hermetic-java-runtime Author: Marc Chevalier Committer: Emanuel Peter Date: 2025-04-30 08:45:54 +0000 URL: https://git.openjdk.org/leyden/commit/d802fd0da234275c79b67f74f2cfb15fbe18d7b9 8352422: [ubsan] Out-of-range reported in ciMethod.cpp:917:20: runtime error: 2.68435e+09 is outside the range of representable values of type 'int' Reviewed-by: epeter, dlong ! src/hotspot/share/ci/ciMethod.cpp Changeset: 765cef45 Branch: hermetic-java-runtime Author: Gui Cao Committer: Fei Yang Date: 2025-04-30 09:04:54 +0000 URL: https://git.openjdk.org/leyden/commit/765cef45465806e53f11fa7d92b9c184899b0932 8355878: RISC-V: jdk/incubator/vector/DoubleMaxVectorTests.java fails when using RVV Reviewed-by: fyang, dzhang ! src/hotspot/cpu/riscv/riscv.ad Changeset: 526951db Branch: hermetic-java-runtime Author: Tongbao Zhang Committer: Albert Mingkun Yang Date: 2025-04-30 09:57:23 +0000 URL: https://git.openjdk.org/leyden/commit/526951dba731f0e733e22a3bff7ac7a18ce9dece 8354145: G1: UseCompressedOops boundary is calculated on maximum heap region size instead of maxiumum ergonomic heap region size Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1Arguments.cpp ! src/hotspot/share/gc/g1/g1HeapRegion.cpp ! src/hotspot/share/gc/g1/g1HeapRegion.hpp + test/hotspot/jtreg/gc/arguments/TestG1CompressedOops.java Changeset: 0110acaa Branch: hermetic-java-runtime Author: Andrey Turbanov Date: 2025-04-30 11:29:06 +0000 URL: https://git.openjdk.org/leyden/commit/0110acaa9086e5adb49be4fff06d66f96b821119 8354791: Use Hashtable.putIfAbsent in CSS constructor Reviewed-by: serb, aivanov ! src/java.desktop/share/classes/javax/swing/text/html/CSS.java Changeset: 482538b1 Branch: hermetic-java-runtime Author: Rajat Mahajan Committer: Alexey Ivanov Date: 2025-04-30 12:23:24 +0000 URL: https://git.openjdk.org/leyden/commit/482538b100856afe2252395d47e576e6c6d885ce 8351884: Refactor bug8033699.java test code Reviewed-by: aivanov, honkar, dmarkov ! test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java Changeset: 4c695fa8 Branch: hermetic-java-runtime Author: Roger Riggs Date: 2025-04-30 13:50:57 +0000 URL: https://git.openjdk.org/leyden/commit/4c695fa8a459adcdb8cdfe9e90783007c65fb90e 8351000: StringBuilder getChar and putChar robustness Reviewed-by: liach, lancea, rgiulietti, pminborg ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java + test/jdk/java/lang/StringBuilder/RacingSBThreads.java Changeset: fbc4691b Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-04-30 16:03:25 +0000 URL: https://git.openjdk.org/leyden/commit/fbc4691bfa11f31601fd89d05da63e689343e214 8351565: Implement JEP 502: Stable Values (Preview) Co-authored-by: Maurizio Cimadamore Reviewed-by: vklang, jvernee, alanb, liach + src/java.base/share/classes/java/lang/StableValue.java ! src/java.base/share/classes/java/util/Collection.java ! src/java.base/share/classes/java/util/ImmutableCollections.java ! src/java.base/share/classes/jdk/internal/access/JavaUtilCollectionAccess.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java + src/java.base/share/classes/jdk/internal/lang/stable/StableEnumFunction.java + src/java.base/share/classes/jdk/internal/lang/stable/StableFunction.java + src/java.base/share/classes/jdk/internal/lang/stable/StableIntFunction.java + src/java.base/share/classes/jdk/internal/lang/stable/StableSupplier.java + src/java.base/share/classes/jdk/internal/lang/stable/StableUtil.java + src/java.base/share/classes/jdk/internal/lang/stable/StableValueImpl.java + test/jdk/java/lang/StableValue/StableFunctionTest.java + test/jdk/java/lang/StableValue/StableIntFunctionTest.java + test/jdk/java/lang/StableValue/StableListTest.java + test/jdk/java/lang/StableValue/StableMapTest.java + test/jdk/java/lang/StableValue/StableSupplierTest.java + test/jdk/java/lang/StableValue/StableTestUtil.java + test/jdk/java/lang/StableValue/StableValueFactoriesTest.java + test/jdk/java/lang/StableValue/StableValueTest.java + test/jdk/java/lang/StableValue/StableValuesSafePublicationTest.java + test/jdk/java/lang/StableValue/TrustedFieldTypeTest.java ! test/jdk/java/util/Collection/MOAT.java + test/micro/org/openjdk/bench/java/lang/stable/StableFunctionBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableFunctionSingleBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableIntFunctionBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableIntFunctionSingleBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableMethodHandleBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableSupplierBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableValueBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/VarHandleHolderBenchmark.java Changeset: 66122811 Branch: hermetic-java-runtime Author: Gautham Krishnan <140151984+gauthamkrishnanibm at users.noreply.github.com> Committer: Naoto Sato Date: 2025-04-30 16:06:22 +0000 URL: https://git.openjdk.org/leyden/commit/66122811aae02caaa0545a7b6dd1fdb06b186f00 8342886: Update MET timezone in TimeZoneNames files Reviewed-by: naoto ! src/java.base/share/classes/sun/util/resources/TimeZoneNames.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_de.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_es.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_fr.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_it.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ja.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ko.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_pt_BR.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_sv.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_CN.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_TW.java ! test/jdk/sun/util/resources/TimeZone/Bug4848242.java Changeset: 486acc06 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-04-30 17:09:53 +0000 URL: https://git.openjdk.org/leyden/commit/486acc06e0325d247a96df8f7fc88c9111c3315d 8355453: nsk.share.jdi.Debugee.waitingEvent() does not timeout properly Reviewed-by: lmesnik, amenkov, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: 50145bb7 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-04-30 17:15:52 +0000 URL: https://git.openjdk.org/leyden/commit/50145bb74ad87f5b3f80ed910f6ebb95e406b802 8355773: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/addCountFilter/addcountfilter001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/disable/disable001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/disable/disable002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/enable/enable001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/enable/enable002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/getProperty/getproperty001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/isEnabled/isenabled001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/putProperty/putproperty001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/setEnabled/setenabled001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/setEnabled/setenabled002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/setSuspendPolicy/setsuspendpolicy001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/suspendPolicy/suspendpolicy001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_rt/filter_rt002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_s/filter_s002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/depth/depth001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/depth/depth002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/depth/depth003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/size/size001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/size/size002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/thread/thread001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes005.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: 18983b63 Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Naoto Sato Date: 2025-04-30 17:52:55 +0000 URL: https://git.openjdk.org/leyden/commit/18983b635fe3469c1d9060611eee76e0155ba21b 8355391: Use Long::hashCode in java.time Reviewed-by: rriggs, pminborg, naoto ! src/java.base/share/classes/java/time/Clock.java ! src/java.base/share/classes/java/time/Duration.java ! src/java.base/share/classes/java/time/Instant.java ! src/java.base/share/classes/java/time/LocalDate.java ! src/java.base/share/classes/java/time/chrono/ChronoLocalDateImpl.java Changeset: 9a2a2c5b Branch: hermetic-java-runtime Author: Gerard Ziemski Date: 2025-04-30 17:57:00 +0000 URL: https://git.openjdk.org/leyden/commit/9a2a2c5bb17d052574f7e6cd712672151e1b193f 8354547: REDO: Force clients to explicitly pass mem_tag value, even if it is mtNone Co-authored-by: Stefan Karlsson Reviewed-by: stefank, coleenp, jsjolen ! src/hotspot/cpu/aarch64/compressedKlass_aarch64.cpp ! src/hotspot/os/bsd/gc/z/zPhysicalMemoryBacking_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/perfMemory_posix.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os/windows/perfMemory_windows.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/compactHashtable.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/parallel/parMarkBitMap.cpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/shared/cardTable.cpp ! src/hotspot/share/gc/shenandoah/shenandoahCardTable.cpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/jfr/recorder/storage/jfrVirtualMemory.cpp ! src/hotspot/share/memory/allocation.inline.hpp ! src/hotspot/share/memory/memoryReserver.cpp ! src/hotspot/share/memory/memoryReserver.hpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/metaspace/testHelpers.cpp ! src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp ! src/hotspot/share/nmt/memReporter.cpp ! src/hotspot/share/nmt/memReporter.hpp ! src/hotspot/share/nmt/memTracker.hpp ! src/hotspot/share/nmt/virtualMemoryTracker.hpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/safepointMechanism.cpp ! src/hotspot/share/utilities/debug.cpp ! test/hotspot/gtest/gc/g1/test_stressCommitUncommit.cpp ! test/hotspot/gtest/gc/z/test_zForwarding.cpp ! test/hotspot/gtest/gc/z/test_zVirtualMemoryManager.cpp ! test/hotspot/gtest/memory/test_virtualspace.cpp ! test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp ! test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp ! test/hotspot/gtest/runtime/test_os.cpp ! test/hotspot/gtest/runtime/test_os_aix.cpp ! test/hotspot/gtest/runtime/test_os_linux.cpp ! test/hotspot/gtest/runtime/test_os_reserve_between.cpp ! test/hotspot/jtreg/runtime/NMT/MallocRoundingReportTest.java ! test/hotspot/jtreg/runtime/NMT/MallocTestType.java ! test/hotspot/jtreg/runtime/NMT/MallocTrackingVerify.java ! test/hotspot/jtreg/runtime/NMT/ThreadedMallocTestType.java Changeset: 1ff7e813 Branch: hermetic-java-runtime Author: Mat Carter Committer: Ioi Lam Date: 2025-04-30 18:05:59 +0000 URL: https://git.openjdk.org/leyden/commit/1ff7e813e39d16376baccdbd9e7075035248319d 8354897: Support Soft/Weak Reference in AOT cache Co-authored-by: Ioi Lam Reviewed-by: liach, eosterlund ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp + src/hotspot/share/cds/aotReferenceObjSupport.cpp + src/hotspot/share/cds/aotReferenceObjSupport.hpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/java.base/share/classes/java/lang/invoke/LambdaFormEditor.java ! src/java.base/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/java.base/share/classes/java/lang/invoke/MethodType.java ! src/java.base/share/classes/java/lang/invoke/MethodTypeForm.java ! src/java.base/share/classes/java/lang/ref/Reference.java ! src/java.base/share/classes/java/lang/ref/ReferenceQueue.java ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! src/java.base/share/classes/jdk/internal/util/ReferencedKeyMap.java ! src/java.base/share/classes/jdk/internal/util/ReferencedKeySet.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/TestSetupAOTTest.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/WeakReferenceTest.java ! test/setup_aot/TestSetupAOT.java Changeset: 1313349a Branch: hermetic-java-runtime Author: Rajan Halade Date: 2025-04-30 18:14:10 +0000 URL: https://git.openjdk.org/leyden/commit/1313349a2efd42ab84a543dfee11e3547f6ef4a3 8350498: Remove two Camerfirma root CA certificates Reviewed-by: mullan ! src/java.base/share/classes/sun/security/validator/CamerfirmaTLSPolicy.java - src/java.base/share/data/cacerts/camerfirmachamberscommerceca - src/java.base/share/data/cacerts/camerfirmachambersignca ! test/jdk/sun/security/lib/cacerts/VerifyCACerts.java ! test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java - test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/chains/camerfirma/camerfirmachamberscommerceca-chain.pem - test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/chains/camerfirma/camerfirmachambersignca-chain.pem Changeset: bccf057f Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-04-30 19:26:27 +0000 URL: https://git.openjdk.org/leyden/commit/bccf057fa4a0208bda55d2972d0161044f050ea5 8355971: Build warnings after the changes for JDK-8354996 Reviewed-by: shade, erikj ! make/GenerateLinkOptData.gmk Changeset: 4cc19ba5 Branch: hermetic-java-runtime Author: Zhengyu Gu Date: 2025-04-30 20:24:54 +0000 URL: https://git.openjdk.org/leyden/commit/4cc19ba5e36829e23ebdfc0a9f4a7bc2117387f6 8355650: Remove unused fields in ParkEvent Reviewed-by: coleenp ! src/hotspot/share/runtime/park.hpp Changeset: 24bc714d Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-04-30 21:55:57 +0000 URL: https://git.openjdk.org/leyden/commit/24bc714d5e8437c191a6e88871756acdf4b1a36f 8355956: Prepare javap for class file format aware access flag parsing Reviewed-by: vromero ! src/jdk.jdeps/share/classes/com/sun/tools/javap/AttributeWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/BasicWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/ClassWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/CodeWriter.java ! test/langtools/tools/javap/UndefinedAccessFlagTest.java Changeset: e36756b2 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-04-30 21:56:13 +0000 URL: https://git.openjdk.org/leyden/commit/e36756b264000fe2deb95ec8f68d1571fd7653f9 8297727: Forcing LF interpretation lead to StackOverflowError in reflection code Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java + test/jdk/java/lang/invoke/LFInterpret/ReflectionInInterpretTest.java Changeset: e2ae50d8 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-04-30 22:53:31 +0000 URL: https://git.openjdk.org/leyden/commit/e2ae50d877b13b121912e2496af4b5209b315a05 8355569: Some nsk/jdi tests can glean the "main" thread by using the ClassPrepareEvent for the debuggee main class Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Accessible/isPackagePrivate/accipp001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/hashCode/hashcode001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/_bounds_/requests001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Method/isObsolete/isobsolete003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodEntryEvent/method/method002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodExitEvent/method/method001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodExitEvent/method/method002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/entryCount/entrycount002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/owningThread/owningthread002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/_bounds_/bounds002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/_bounds_/filters001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/_bounds_/bounds001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses008.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses010.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses011.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses012.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses013.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses015.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses016.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses020.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses021.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses022.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses024.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses025.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses026.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses027.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses028.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses030.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses032.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: 8ef7e256 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-01 07:29:56 +0000 URL: https://git.openjdk.org/leyden/commit/8ef7e256a09115b475601b621c9b6842185289d0 8355769: Optimize nmethod dependency recording Reviewed-by: adinn, vlivanov, kvn ! src/hotspot/share/code/dependencyContext.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/prims/methodHandles.cpp Changeset: b2184105 Branch: hermetic-java-runtime Author: Gustavo Simon Committer: Aleksey Shipilev Date: 2025-05-01 07:32:10 +0000 URL: https://git.openjdk.org/leyden/commit/b2184105088a21d0c55fd3105e3433d4eac767da 8354292: Remove unused PRAGMA_FORMAT_IGNORED Reviewed-by: mbaesken, kbarrett, shade ! src/hotspot/share/utilities/compilerWarnings.hpp ! src/hotspot/share/utilities/compilerWarnings_gcc.hpp Changeset: 0a697f6f Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-01 07:42:38 +0000 URL: https://git.openjdk.org/leyden/commit/0a697f6ff4c2f8254e95519e04708cf406009dc3 8344708: Implement JEP 511: Module Import Declarations Reviewed-by: mcimadamore, vromero, alanb ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/module/ModuleInfo.java ! src/jdk.compiler/share/classes/com/sun/source/tree/ImportTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Startup.java ! src/jdk.jshell/share/classes/jdk/jshell/Snippet.java ! src/jdk.jshell/share/classes/jdk/jshell/SnippetMaps.java ! src/jdk.jshell/share/classes/jdk/jshell/tool/resources/DEFAULT.jsh = src/jdk.jshell/share/classes/jdk/jshell/tool/resources/DEFAULT_NO_MODULE_IMPORTS.jsh ! test/jdk/java/lang/module/ClassFileVersionsTest.java ! test/jdk/java/lang/module/ModuleDescriptorTest.java ! test/langtools/jdk/jshell/ReplToolTesting.java ! test/langtools/jdk/jshell/StartOptionTest.java ! test/langtools/jdk/jshell/ToolCommandOptionTest.java ! test/langtools/jdk/jshell/ToolEnablePreviewTest.java ! test/langtools/jdk/jshell/ToolLocalSimpleTest.java ! test/langtools/jdk/jshell/ToolProviderTest.java ! test/langtools/jdk/jshell/ToolSimpleTest.java ! test/langtools/tools/javac/ImportModule.java ! test/langtools/tools/javac/diags/examples/ImportModule.java ! test/langtools/tools/javac/diags/examples/ImportModuleDoesNotRead/module-info.java ! test/langtools/tools/javac/diags/examples/ImportModuleDoesNotReadUnnamed.java ! test/langtools/tools/javac/diags/examples/ImportModuleNotFound.java ! test/langtools/tools/javac/diags/examples/ModifierNotAllowed/module-info.java ! test/langtools/tools/javac/modules/AnnotationsOnModules.java ! test/langtools/tools/javac/modules/ConvenientAccessErrorsTest.java ! test/langtools/tools/javac/modules/EdgeCases.java ! test/langtools/tools/javac/modules/JavaBaseTest.java ! test/langtools/tools/jdeps/listdeps/ListModuleDeps.java Changeset: 0cd0afb2 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-01 08:15:24 +0000 URL: https://git.openjdk.org/leyden/commit/0cd0afb2b32abd77f6275cf34a499b5cb31f22b5 8355913: RISC-V: improve hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java Reviewed-by: fyang, rehn ! src/hotspot/cpu/riscv/riscv.ad ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java Changeset: 7b317623 Branch: hermetic-java-runtime Author: Matthew Donovan Date: 2025-05-01 11:04:33 +0000 URL: https://git.openjdk.org/leyden/commit/7b317623756d3e21d029bcded8a5e15de070a0c9 8354235: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine Reviewed-by: rhalade ! test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java Changeset: 34807df7 Branch: hermetic-java-runtime Author: Artur Barashev Committer: Sean Mullan Date: 2025-05-01 13:09:14 +0000 URL: https://git.openjdk.org/leyden/commit/34807df7627b067f750578987c941213a5f8336a 8355779: When no "signature_algorithms_cert" extension is present we do not apply certificate scope constraints to algorithms in "signature_algorithms" extension Reviewed-by: mullan ! src/java.base/share/classes/sun/security/ssl/SignatureAlgorithmsExtension.java Changeset: bee273d6 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-01 14:37:26 +0000 URL: https://git.openjdk.org/leyden/commit/bee273d6b4e34692952d4e7474ab72ee5c54e33a 8297271: AccessFlag.maskToAccessFlags should be specific to class file version Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java ! src/java.base/share/classes/java/lang/reflect/Executable.java ! src/java.base/share/classes/java/lang/reflect/Field.java ! src/java.base/share/classes/java/lang/reflect/Parameter.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/BasicWriter.java ! test/jdk/java/lang/reflect/AccessFlag/BasicAccessFlagTest.java Changeset: 2ad639f1 Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-01 15:47:01 +0000 URL: https://git.openjdk.org/leyden/commit/2ad639f1b33fcd8e218e8ad549caf32024a36cb2 8356021: Use Double::hashCode in java.util.Locale::hashCode Reviewed-by: rriggs, liach ! src/java.base/share/classes/java/util/Locale.java Changeset: 09cae5fd Branch: hermetic-java-runtime Author: Kevin Walls Date: 2025-05-01 16:05:59 +0000 URL: https://git.openjdk.org/leyden/commit/09cae5fd8f228a8826e4de7aa43fe5365549c00c 8354407: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java still fails on Windows Reviewed-by: cjplummer, lmesnik ! test/jdk/com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java - test/jdk/com/sun/management/OperatingSystemMXBean/TEST.properties Changeset: 6b553acb Branch: hermetic-java-runtime Author: Mikhail Yankelevich Committer: Rajan Halade Date: 2025-05-01 16:16:25 +0000 URL: https://git.openjdk.org/leyden/commit/6b553acbaace0a61203305f36f70bb74d14a234f 8277424: javax/net/ssl/TLSCommon/TLSTest.java fails with connection refused Reviewed-by: rhalade ! test/jdk/javax/net/ssl/TLSCommon/TLSTest.java Changeset: cf0db963 Branch: hermetic-java-runtime Author: Joe Wang Date: 2025-05-01 17:03:29 +0000 URL: https://git.openjdk.org/leyden/commit/cf0db96314863376254bacbff4eefd13e3527707 8354084: Streamline XPath API's extension function control Reviewed-by: rriggs, naoto ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/functions/FuncExtFunction.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathImplUtil.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java ! src/java.xml/share/classes/module-info.java - test/jaxp/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.java - test/jaxp/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.xml + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathFunctionTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathFunctionTest.xml Changeset: 394961c8 Branch: hermetic-java-runtime Author: Koushik Thirupattur Committer: Sean Mullan Date: 2025-05-01 17:26:32 +0000 URL: https://git.openjdk.org/leyden/commit/394961c8fe87da7376cc7522580cd4ac104c3cf5 8328914: Document the java.security.debug property in javadoc Reviewed-by: mullan + src/java.base/share/classes/java/security/doc-files/debug-system-property.html ! src/java.base/share/classes/java/security/package-info.java Changeset: 9e26b9fa Branch: hermetic-java-runtime Author: William Kemper Date: 2025-05-01 17:40:57 +0000 URL: https://git.openjdk.org/leyden/commit/9e26b9facba09c4d6f516e8032b876c6d9e95e9e 8355372: GenShen: Test gc/shenandoah/generational/TestOldGrowthTriggers.java fails with UseCompactObjectHeaders enabled Reviewed-by: ysr, kdnilsen ! test/hotspot/jtreg/gc/shenandoah/generational/TestOldGrowthTriggers.java Changeset: c116b18b Branch: hermetic-java-runtime Author: Sergey Kuksenko Date: 2025-05-01 18:45:20 +0000 URL: https://git.openjdk.org/leyden/commit/c116b18b89950362d899448a36a4693f733067b1 8355559: Benchmark modification/extension shouldn't affect the behavior of other benchmarks Reviewed-by: ecaspole ! test/micro/org/openjdk/bench/javax/crypto/full/AESBench.java + test/micro/org/openjdk/bench/javax/crypto/full/AESExtraBench.java Changeset: aae2bb62 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-01 21:03:24 +0000 URL: https://git.openjdk.org/leyden/commit/aae2bb62499855e3da33c06547d437e49c91a14b 8350209: Preserve adapters in AOT cache Co-authored-by: Ashutosh Mehra Reviewed-by: vlivanov, asmehra, ihse, iklam ! make/hotspot/lib/JvmFeatures.gmk ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/arm/sharedRuntime_arm.cpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/s390/sharedRuntime_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/zero/sharedRuntime_zero.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp + src/hotspot/share/cds/aotCacheAccess.cpp + src/hotspot/share/cds/aotCacheAccess.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveBuilder.hpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/compactHashtable.hpp + src/hotspot/share/code/aotCodeCache.cpp + src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/include/cds.h ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/nmt/virtualMemoryTracker.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/init.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! test/hotspot/jtreg/TEST.groups + test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 6536430a Branch: hermetic-java-runtime Author: Valerie Peng Date: 2025-05-01 23:08:16 +0000 URL: https://git.openjdk.org/leyden/commit/6536430a3bdedcf5e0636e0eb27bde5e0d7b40fd 8348732: SunJCE and SunPKCS11 have different PBE key encodings Reviewed-by: weijun, fferrari ! src/java.base/share/classes/com/sun/crypto/provider/PBEKey.java ! src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java ! src/java.base/share/classes/sun/security/util/PBEUtil.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! test/jdk/sun/security/pkcs11/Cipher/PBECipher.java ! test/jdk/sun/security/pkcs11/Mac/PBAMac.java ! test/jdk/sun/security/pkcs11/Provider/RequiredMechCheck.java ! test/jdk/sun/security/pkcs11/SecretKeyFactory/TestPBKD.java Changeset: 494ef6cb Branch: hermetic-java-runtime Author: Weijun Wang Date: 2025-05-01 23:34:35 +0000 URL: https://git.openjdk.org/leyden/commit/494ef6cb8cff7f29a7346364e7620eebcec48d3b 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms Reviewed-by: valeriep, mullan ! src/java.base/share/classes/sun/security/provider/SHA3.java ! src/java.base/share/classes/sun/security/provider/SunEntries.java ! src/java.base/share/classes/sun/security/util/KnownOIDs.java + test/jdk/sun/security/provider/MessageDigest/SHAKEhash.java ! test/jdk/sun/security/provider/MessageDigest/SHAKEsqueeze.java Changeset: c514f135 Branch: hermetic-java-runtime Author: Weijun Wang Date: 2025-05-02 00:25:19 +0000 URL: https://git.openjdk.org/leyden/commit/c514f135ccf08c3be016a32ae8f2c055fb941857 8356051: Update SignatureUtil.java with the new KnownOIDs Reviewed-by: rhalade ! src/java.base/share/classes/sun/security/util/SignatureUtil.java Changeset: bd7c7789 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-02 01:30:47 +0000 URL: https://git.openjdk.org/leyden/commit/bd7c77898a75dece0586bef24d4e18d540f08288 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe Reviewed-by: jpai, jvernee ! src/java.base/share/classes/java/lang/invoke/MethodHandleProxies.java ! test/jdk/java/lang/invoke/MethodHandleProxies/BasicTest.java Changeset: d29700cc Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-02 06:10:48 +0000 URL: https://git.openjdk.org/leyden/commit/d29700cc80003d6baddb419f2974ab226478bacc 8344706: Implement JEP 512: Compact Source Files and Instance Main Methods Co-authored-by: Stuart Marks Reviewed-by: liach, cstein, vromero, naoto ! src/java.base/share/classes/java/io/Console.java - src/java.base/share/classes/java/io/IO.java ! src/java.base/share/classes/java/io/ProxyingConsole.java + src/java.base/share/classes/java/lang/IO.java ! src/java.base/share/classes/jdk/internal/io/JdkConsole.java ! src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/misc/MethodFinder.java ! src/java.base/share/classes/sun/launcher/LauncherHelper.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/jshell/JShellConsole.java ! src/jdk.jshell/share/classes/jdk/jshell/execution/impl/ConsoleImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/tool/resources/PREVIEW_DEFAULT.jsh = test/jdk/java/lang/IO/IO.java = test/jdk/java/lang/IO/Input.java = test/jdk/java/lang/IO/Methods.java = test/jdk/java/lang/IO/Output.java = test/jdk/java/lang/IO/input-no-prompt.exp = test/jdk/java/lang/IO/input.exp = test/jdk/java/lang/IO/output.exp ! test/jdk/jdk/internal/jline/LazyJdkConsoleProvider.java ! test/jdk/tools/launcher/Arrrghs.java ! test/langtools/jdk/jshell/ConsoleTest.java ! test/langtools/jdk/jshell/ConsoleToolTest.java + test/langtools/jdk/jshell/StartOptionTest-module-patch/jdk/jshell/tool/resources/PREVIEW_DEFAULT.jsh ! test/langtools/jdk/jshell/StartOptionTest.java ! test/langtools/jdk/jshell/ToolProviderTest.java ! test/langtools/tools/javac/ImplicitClass/ErrorRecovery.java ! test/langtools/tools/javac/ImplicitClass/ImplicitClassRecovery.java ! test/langtools/tools/javac/ImplicitClass/ImplicitClassRecovery.out ! test/langtools/tools/javac/ImplicitClass/ImplicitImports.java ! test/langtools/tools/javac/ImplicitClass/NestedClasses.java ! test/langtools/tools/javac/ImplicitClass/NestedEnum.java ! test/langtools/tools/javac/ImplicitClass/SourceLevelErrorPosition.java ! test/langtools/tools/javac/ImplicitClass/SourceLevelErrorPosition.out ! test/langtools/tools/javac/ImplicitClass/TestImplicitClass.java ! test/langtools/tools/javac/T8036019.out ! test/langtools/tools/javac/annotations/typeAnnotations/failures/AnnotatedImport.out ! test/langtools/tools/javac/attr/AttrRecoveryTest.java ! test/langtools/tools/javac/diags/examples.not-yet.txt ! test/langtools/tools/javac/diags/examples/Expected3.java ! test/langtools/tools/javac/diags/examples/IllegalStartOfStmt.java ! test/langtools/tools/javac/diags/examples/ImplicitClass.java ! test/langtools/tools/javac/diags/examples/ImplicitClassBad-Filename.java ! test/langtools/tools/javac/diags/examples/ImplicitClassHasPackage.java ! test/langtools/tools/javac/diags/examples/ImplicitClassNoMain.java ! test/langtools/tools/javac/launcher/BasicSourceLauncherTests.java ! test/langtools/tools/javac/launcher/SourceLauncherTest.java ! test/langtools/tools/javac/parser/JavacParserTest.java ! test/langtools/tools/javac/parser/SingleCommaAnnotationValueFail.out ! test/langtools/tools/javac/sealed/SealedCompilationTests.java ! test/langtools/tools/javac/tree/TreePosTest.java Changeset: 811f117c Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-02 08:28:57 +0000 URL: https://git.openjdk.org/leyden/commit/811f117ce396ac7aafd71f5618f2de96bb96f311 8355980: RISC-V: remove vmclr_m before vmsXX and vmfXX Reviewed-by: dzhang, fyang ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp Changeset: afb9134a Branch: hermetic-java-runtime Author: Coleen Phillimore Date: 2025-05-02 11:40:19 +0000 URL: https://git.openjdk.org/leyden/commit/afb9134a31c326e90f2bb68ae17e32de9d1d7740 8355627: Don't use ThreadCritical for EventLog list Reviewed-by: shade, lmesnik, zgu ! src/hotspot/share/utilities/events.cpp + test/hotspot/jtreg/runtime/ErrorHandling/ShowEventsOnCrashTest.java Changeset: cdad6d78 Branch: hermetic-java-runtime Author: Suchismith Roy Committer: Martin Doerr Date: 2025-05-02 12:30:32 +0000 URL: https://git.openjdk.org/leyden/commit/cdad6d788de4785c8dbf2710a86fdacb8d070565 8216437: PPC64: Add intrinsic for GHASH algorithm Reviewed-by: mdoerr, amitkumar ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.cpp Changeset: cf2f9ce8 Branch: hermetic-java-runtime Author: Ivan Bereziuk Committer: Erik Joelsson Date: 2025-05-02 12:49:03 +0000 URL: https://git.openjdk.org/leyden/commit/cf2f9ce8207f12bd25fc866c179ff13b961bea44 8356032: createAutoconfBundle.sh downloads to local directory Reviewed-by: erikj ! make/devkit/createAutoconfBundle.sh Changeset: 995d5416 Branch: hermetic-java-runtime Author: Ivan Walulya Date: 2025-05-02 12:54:09 +0000 URL: https://git.openjdk.org/leyden/commit/995d54161fed657f38753813f55d0591e77a42e3 8355681: G1HeapRegionManager::find_contiguous_allow_expand ignores free regions when checking regions available for allocation Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1HeapRegionManager.cpp Changeset: 9f9e73d5 Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-05-02 14:14:59 +0000 URL: https://git.openjdk.org/leyden/commit/9f9e73d5f9fcb5e926a2674c54cbbc92012b75f6 8349146: [REDO] Implement a better allocator for downcalls Reviewed-by: mcimadamore, jvernee, liach + src/java.base/share/classes/jdk/internal/foreign/BufferStack.java ! src/java.base/share/classes/jdk/internal/foreign/SlicingAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! test/jdk/ProblemList.txt + test/jdk/java/foreign/TestBufferStack.java + test/jdk/java/foreign/TestBufferStackStress.java + test/jdk/java/foreign/TestBufferStackStress2.java + test/jdk/java/foreign/libTestBufferStack.c + test/micro/org/openjdk/bench/java/lang/foreign/BufferStackBench.java + test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadByValue.java + test/micro/org/openjdk/bench/java/lang/foreign/libCallOverheadByValue.c Changeset: 01fd49ff Branch: hermetic-java-runtime Author: Mikael Vidstedt Date: 2025-05-02 16:56:05 +0000 URL: https://git.openjdk.org/leyden/commit/01fd49ffb3f02840a360f5d4e19c6b0e6d22cd70 8355446: Change to Xcode 15.4 for building on macOS at Oracle Reviewed-by: erikj, ihse ! doc/building.html ! doc/building.md ! make/conf/jib-profiles.js Changeset: 5faa5590 Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-02 16:59:41 +0000 URL: https://git.openjdk.org/leyden/commit/5faa55902211e5ad8edc51282022ed9db3684b25 8355444: [java.io] Use @requires tag instead of exiting based on "os.name" property value Reviewed-by: jpai, lancea ! test/jdk/java/io/File/MacPathTest.java ! test/jdk/java/io/File/MaxPath.java ! test/jdk/java/io/File/WinDeviceName.java ! test/jdk/java/io/File/WinMaxPath.java ! test/jdk/java/io/File/WinSpecialFiles.java ! test/jdk/java/io/FileOutputStream/ManyFiles.java Changeset: 4826a91e Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-02 16:59:56 +0000 URL: https://git.openjdk.org/leyden/commit/4826a91e7a729999343f450ab7ec4621cc418550 8355443: [java.io] Use @requires tag instead of exiting based on File.separatorChar value Reviewed-by: naoto, vyazici ! test/jdk/java/io/FileInputStream/LeadingSlash.java ! test/jdk/java/io/pathNames/GeneralSolaris.java ! test/jdk/java/io/pathNames/GeneralWin32.java ! test/jdk/java/io/pathNames/unix/TrailingSlash.java ! test/jdk/java/io/pathNames/win32/DriveOnly.java ! test/jdk/java/io/pathNames/win32/DriveRelativePath.java ! test/jdk/java/io/pathNames/win32/DriveSlash.java ! test/jdk/java/io/pathNames/win32/RenameDelete.java ! test/jdk/java/io/pathNames/win32/SJIS.java ! test/jdk/java/io/pathNames/win32/bug6344646.java Changeset: 84f570c5 Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-02 17:00:12 +0000 URL: https://git.openjdk.org/leyden/commit/84f570c573f5c355cf55e05d06ddb383deb476ca 8355445: [java.nio] Use @requires tag instead of exiting based on "os.name" property value Reviewed-by: lancea, jpai, iris ! test/jdk/java/nio/channels/Selector/HelperSlowToDie.java ! test/jdk/java/nio/channels/SocketChannel/AsyncCloseChannel.java ! test/jdk/java/nio/channels/SocketChannel/SocketInheritance.java ! test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java ! test/jdk/java/nio/charset/RemovingSunIO/TestCOMP.java ! test/jdk/java/nio/file/DirectoryStream/DriveLetter.java ! test/jdk/java/nio/file/WatchService/FileTreeModifier.java Changeset: c8bbcaf5 Branch: hermetic-java-runtime Author: Mohamed Issa Committer: Jatin Bhateja Date: 2025-05-02 17:21:50 +0000 URL: https://git.openjdk.org/leyden/commit/c8bbcaf5de6982f673504a8dc766fb80bb6f0d07 8348638: Performance regression in Math.tanh Reviewed-by: jbhateja, epeter, sviswanathan ! src/hotspot/cpu/x86/stubGenerator_x86_64_tanh.cpp + test/micro/org/openjdk/bench/java/lang/TanhPerf.java Changeset: 60ba81d7 Branch: hermetic-java-runtime Author: Peter B. Kessler Date: 2025-05-02 18:54:11 +0000 URL: https://git.openjdk.org/leyden/commit/60ba81d77f0e299b8131cf23b1253689fa898e85 8354347: Increase the default padding size for aarch64 in JDK code. Reviewed-by: aph, ecaspole ! src/hotspot/cpu/aarch64/globalDefinitions_aarch64.hpp Changeset: 56468c42 Branch: hermetic-java-runtime Author: Vicente Romero Date: 2025-05-02 20:44:22 +0000 URL: https://git.openjdk.org/leyden/commit/56468c42bef8524e53a929dc2ae603cff05b55e3 8322810: Lambda expression types can't be classes Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/langtools/tools/javac/diags/examples.not-yet.txt ! test/langtools/tools/javac/diags/examples/NotAnInterfaceComponent.java + test/langtools/tools/javac/lambda/ClassInIntersectionTypeTest.java + test/langtools/tools/javac/lambda/ClassInIntersectionTypeTest.out Changeset: 4d2d1298 Branch: hermetic-java-runtime Author: Chen Liang Committer: Man Cao Date: 2025-05-02 22:34:10 +0000 URL: https://git.openjdk.org/leyden/commit/4d2d12987f8c1be64719a7d01276a789af245ee2 8355962: RISCV64 cross build fails after 8354996 Reviewed-by: erikj, manc ! make/GenerateLinkOptData.gmk ! make/jdk/src/classes/build/tools/classlist/HelloClasslist.java Changeset: 03f0ec4a Branch: hermetic-java-runtime Author: Mikhail Yankelevich Committer: Weijun Wang Date: 2025-05-02 23:15:26 +0000 URL: https://git.openjdk.org/leyden/commit/03f0ec4a35855b59c8faaf4be2e7569a12b4d5db 8183348: Better cleanup for jdk/test/sun/security/pkcs12/P12SecretKey.java Reviewed-by: rhalade, weijun ! test/jdk/sun/security/pkcs12/P12SecretKey.java Changeset: 5b3ae921 Branch: hermetic-java-runtime Author: Amit Kumar Date: 2025-05-05 04:02:51 +0000 URL: https://git.openjdk.org/leyden/commit/5b3ae9210564c16b4d350dabd0445248cb205698 8350182: [s390x] Relativize locals in interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/frame_s390.cpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp Changeset: c8ce61c8 Branch: hermetic-java-runtime Author: Tatsunori Uchino Committer: Jan Lahoda Date: 2025-05-05 05:03:15 +0000 URL: https://git.openjdk.org/leyden/commit/c8ce61c8cadaf0371dc490c76b753f98bbaa118a 8355371: NegativeArraySizeException in print methods in IO or System.console() in JShell 8354910: Output by java.io.IO or System.console() corrupted for some non-ASCII characters Reviewed-by: liach, jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/execution/impl/ConsoleImpl.java ! test/langtools/jdk/jshell/ConsoleTest.java Changeset: a5f4366a Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-05 05:04:17 +0000 URL: https://git.openjdk.org/leyden/commit/a5f4366a7f0b702b748fec9bcbcb95c522ff190b 8353565: Javac throws "inconsistent stack types at join point" exception Reviewed-by: vromero, liach, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! test/langtools/tools/javac/switchexpr/ExpressionSwitchEmbedding.java Changeset: c94a7ae1 Branch: hermetic-java-runtime Author: Daniel Jeli?ski Date: 2025-05-05 05:29:06 +0000 URL: https://git.openjdk.org/leyden/commit/c94a7ae11e588250cd0eb064c3280afd580530ea 8354276: Strict HTTP header validation Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/HeaderDecoder.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/ValidatingHeadersConsumer.java ! test/jdk/java/net/httpclient/http2/BadHeadersTest.java + test/jdk/java/net/httpclient/http2/BadPushPromiseTest.java Changeset: 69d0f7a3 Branch: hermetic-java-runtime Author: Marc Chevalier Committer: Christian Hagedorn Date: 2025-05-05 06:57:09 +0000 URL: https://git.openjdk.org/leyden/commit/69d0f7a3954048da358bd2ac5ab458fb37fa25a6 8354284: Add more compiler test folders to tier1 runs Reviewed-by: chagedorn, kvn ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/compiler/ccp/TestAndConZeroCCP.java Changeset: 604225fb Branch: hermetic-java-runtime Author: Johan Sj?len Date: 2025-05-05 06:58:20 +0000 URL: https://git.openjdk.org/leyden/commit/604225fb0c5f6bf2128a305d09649d76c43dedc9 8354954: Typed static memory for late initialization of static class members in Hotspot Reviewed-by: qamai, kbarrett, jvernee ! src/hotspot/share/nmt/memTracker.cpp ! src/hotspot/share/nmt/memTracker.hpp ! src/hotspot/share/nmt/memoryFileTracker.cpp ! src/hotspot/share/nmt/memoryFileTracker.hpp + src/hotspot/share/utilities/deferred.hpp Changeset: f04e556d Branch: hermetic-java-runtime Author: Johan Sj?len Date: 2025-05-05 07:14:24 +0000 URL: https://git.openjdk.org/leyden/commit/f04e556d471d65a9b1a86d33acf72f6ddec944e1 8355711: Remove incorrect overflow check in RawBytecodeStream::raw_next Reviewed-by: dlong, matsaave ! src/hotspot/share/interpreter/bytecodeStream.hpp Changeset: 8511220f Branch: hermetic-java-runtime Author: Johan Sj?len Date: 2025-05-05 07:15:46 +0000 URL: https://git.openjdk.org/leyden/commit/8511220f9dd1428f9793ead43c20ed197881ab36 8355490: Make VM_RedefineClasses::merge_constant_pools only take reference arguments Reviewed-by: amenkov, sspitsyn, coleenp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp ! src/hotspot/share/prims/jvmtiRedefineClasses.hpp Changeset: 6dd55538 Branch: hermetic-java-runtime Author: Anton Artemov Committer: Afshin Zafari Date: 2025-05-05 08:52:52 +0000 URL: https://git.openjdk.org/leyden/commit/6dd555382326d02a1fc419bc443285509886e46f 8354329: Rewrite runtime/ClassFile/JsrRewriting.java and OomWhileParsingRepeatedJsr.java tests Reviewed-by: matsaave, coleenp ! test/hotspot/jtreg/runtime/ClassFile/JsrRewriting.java - test/hotspot/jtreg/runtime/ClassFile/JsrRewritingTestCase.jar + test/hotspot/jtreg/runtime/ClassFile/OOMCrashClass1960_2.java + test/hotspot/jtreg/runtime/ClassFile/OOMCrashClass4000_1.java ! test/hotspot/jtreg/runtime/ClassFile/OomWhileParsingRepeatedJsr.java - test/hotspot/jtreg/runtime/ClassFile/testcase.jar Changeset: f1e06c3c Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-05 09:00:59 +0000 URL: https://git.openjdk.org/leyden/commit/f1e06c3c050b3440555d63b6de80fe9f60b35dfa 8299934: LocalExecutionControl replaces default uncaught exception handler Reviewed-by: liach ! src/jdk.jshell/share/classes/jdk/jshell/execution/LocalExecutionControl.java + test/langtools/jdk/jshell/LocalExecutionControlExceptionTest.java Changeset: 02647976 Branch: hermetic-java-runtime Author: Robbin Ehn Date: 2025-05-05 11:43:45 +0000 URL: https://git.openjdk.org/leyden/commit/026479767c011227b63e7fdb8a38f61977782249 8352730: RISC-V: Disable tests in qemu-user Reviewed-by: fyang, mli ! test/hotspot/jtreg/runtime/os/TestTracePageSizes.java ! test/hotspot/jtreg/serviceability/dcmd/vm/SystemDumpMapTest.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbAttach.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbAttachDifferentJVMs.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbClasses.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbDumpclass.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbDumpheap.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbField.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbHistory.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbInspect.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJdis.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJhisto.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJstack.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJstackWithConcurrentLock.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJstackXcompStress.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbLongConstant.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAll.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAs.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPrintStatics.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPstack.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbScanOops.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbSource.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbSymbol.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbTestAllocationMerge.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbThread.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbThreadContext.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java ! test/hotspot/jtreg/serviceability/sa/DeadlockDetectionTest.java ! test/hotspot/jtreg/serviceability/sa/JhsdbThreadInfoTest.java ! test/hotspot/jtreg/serviceability/sa/TestClassDump.java ! test/hotspot/jtreg/serviceability/sa/TestClhsdbJstackLock.java ! test/hotspot/jtreg/serviceability/sa/TestCpoolForInvokeDynamic.java ! test/hotspot/jtreg/serviceability/sa/TestDebugInfoDecode.java ! test/hotspot/jtreg/serviceability/sa/TestDefaultMethods.java ! test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java ! test/hotspot/jtreg/serviceability/sa/TestHeapDumpForInvokeDynamic.java ! test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSize.java ! test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSizeForInterface.java ! test/hotspot/jtreg/serviceability/sa/TestIntConstant.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLock.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackMixed.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackPrintVMLocks.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackUpcall.java ! test/hotspot/jtreg/serviceability/sa/TestObjectAlignment.java ! test/hotspot/jtreg/serviceability/sa/TestObjectMonitorIterate.java ! test/hotspot/jtreg/serviceability/sa/TestPrintMdo.java ! test/hotspot/jtreg/serviceability/sa/TestSysProps.java ! test/hotspot/jtreg/serviceability/sa/TestType.java ! test/hotspot/jtreg/serviceability/sa/TestUniverse.java ! test/hotspot/jtreg/serviceability/sa/UniqueVtableTest.java ! test/hotspot/jtreg/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/ClhsdbAttachToDebugServer.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/ClhsdbTestConnectArgument.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/DebugdConnectTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/DisableRegistryTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/PmapOnDebugdTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/RunCommandOnServerTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/SADebugDTest.java ! test/jdk/java/lang/ProcessHandle/InfoTest.java ! test/jdk/java/lang/System/i18nEnvArg.java Changeset: a8cd01f6 Branch: hermetic-java-runtime Author: Coleen Phillimore Date: 2025-05-05 11:57:01 +0000 URL: https://git.openjdk.org/leyden/commit/a8cd01f6e2075bef89fcd82893cf417c9e1fa877 8355353: File Leak in os::read_image_release_file of os.cpp:1552 Reviewed-by: zgu, jsjolen ! src/hotspot/share/runtime/os.cpp Changeset: 1501a5e4 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-05 12:51:02 +0000 URL: https://git.openjdk.org/leyden/commit/1501a5e41e59162a374cf5b8cfc37faced48a6ed 8356122: Client build fails after JDK-8350209 Reviewed-by: chagedorn ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 6719b921 Branch: hermetic-java-runtime Author: Joe Darcy Date: 2025-05-05 15:42:19 +0000 URL: https://git.openjdk.org/leyden/commit/6719b9214fb9c99da52e5d6c11f5d40b2aa73bd9 8356108: Update SourceVersion.RELEASE_25 description for JEPs 511 and 512 Reviewed-by: vromero, liach, iris, jlahoda ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! test/langtools/tools/javac/versions/Versions.java Changeset: f6876449 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-05 16:30:25 +0000 URL: https://git.openjdk.org/leyden/commit/f68764490c9d355770475d26202fe10005375388 8356153: Shenandoah stubs are missing in AOT Code Cache addresses table Reviewed-by: kvn ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 32f67a3e Branch: hermetic-java-runtime Author: Justin Lu Date: 2025-05-05 16:42:44 +0000 URL: https://git.openjdk.org/leyden/commit/32f67a3e38be807164435ea0841c01d2b7c73652 8356040: java/util/PluggableLocale/LocaleNameProviderTest.java timed out Reviewed-by: naoto ! test/jdk/java/util/PluggableLocale/LocaleNameProviderTest.java Changeset: baf18d89 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-05 10:07:12 +0000 URL: https://git.openjdk.org/leyden/commit/baf18d895f0bf76392525ea584008db570469a3f Merge branch 'master' into hermetic-java-runtime ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/runtime/os.cpp Changeset: f644eebe Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-05 10:14:29 +0000 URL: https://git.openjdk.org/leyden/commit/f644eebed52a960819840bfeadb3679380e1df48 Merge branch 'hermetic-java-runtime' of github.com:openjdk/leyden into hermetic-java-runtime From iklam at openjdk.org Mon May 5 23:54:27 2025 From: iklam at openjdk.org (Ioi Lam) Date: Mon, 5 May 2025 23:54:27 GMT Subject: RFR: Prototype AOTMXBean In-Reply-To: References: Message-ID: On Fri, 18 Apr 2025 08:27:49 GMT, Alan Bateman wrote: >>> AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >> >> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? > >> > AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >> >> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? > > Both modules export APIs so both modules will be resolved by default when the initial module is the "class path". Running with -Dcom.sun.management.jmxremote doesn't change that. > > They will also be resolved when the initial module is a named module, e.g. java -m app, even if app doesn't transitively depends on java.management or jdk.management. This is because of services and specifically java.management provides an implementation of JAAS LoginModule that can be used by java.base, and jdk.management provides additional platform MXBeans that can be used by java.management. > > So nothing here where the initial module or command line options will cause a concern. > > In any case, I think this MXBean is best prototyped in the jdk.management module, and in the jdk.management package. VirtualThreadSchedulerMXBean was recently added to this module. In JMX speak, that MXBean defines several attributes and an operation to control the scheduler. The proposal in this MXBean maps to 3 attributes and an operation to stop recording. The module names look good. Perhaps we can have a more descriptive name than AOTMXBean? @AlanBateman any suggestions? ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2852735914 From shade at openjdk.org Tue May 6 06:35:45 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 6 May 2025 06:35:45 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings [v2] In-Reply-To: References: Message-ID: On Mon, 5 May 2025 17:15:56 GMT, Vladimir Kozlov wrote: >> Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 >> >> This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. >> >> Tested with premain-tier1, tier1-3 > > Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: > > Fix printing condition Marked as reviewed by shade (Committer). ------------- PR Review: https://git.openjdk.org/leyden/pull/65#pullrequestreview-2817007888 From alanb at openjdk.org Tue May 6 07:29:44 2025 From: alanb at openjdk.org (Alan Bateman) Date: Tue, 6 May 2025 07:29:44 GMT Subject: RFR: Prototype AOTMXBean In-Reply-To: References: Message-ID: On Fri, 18 Apr 2025 08:27:49 GMT, Alan Bateman wrote: >>> AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >> >> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? > >> > AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >> >> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? > > Both modules export APIs so both modules will be resolved by default when the initial module is the "class path". Running with -Dcom.sun.management.jmxremote doesn't change that. > > They will also be resolved when the initial module is a named module, e.g. java -m app, even if app doesn't transitively depends on java.management or jdk.management. This is because of services and specifically java.management provides an implementation of JAAS LoginModule that can be used by java.base, and jdk.management provides additional platform MXBeans that can be used by java.management. > > So nothing here where the initial module or command line options will cause a concern. > > In any case, I think this MXBean is best prototyped in the jdk.management module, and in the jdk.management package. VirtualThreadSchedulerMXBean was recently added to this module. In JMX speak, that MXBean defines several attributes and an operation to control the scheduler. The proposal in this MXBean maps to 3 attributes and an operation to stop recording. > The module names look good. Perhaps we can have a more descriptive name than AOTMXBean? @AlanBateman any suggestions? Something like "AheadOfTimeCacheMXBean", registered with the MBeanServer as "jdk.management:type=AheadOfTimeCache", might be closer to what you want. An enum could be used to model the modes and that would give you a place to specify them too. Right now the prototype uses a string "representing the current AOT mode" so you would need to search around to know what the modes are. The operation to stop the recording is currently named "endRecording" so there is a mix of "stop" and "end", pick one. The recording duration attribute (getRecordingDuration method) will need to say more. When does recording start, so it this VM uptime? ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2853536633 From ihse at openjdk.org Tue May 6 11:09:42 2025 From: ihse at openjdk.org (Magnus Ihse Bursie) Date: Tue, 6 May 2025 11:09:42 GMT Subject: RFR: Cleaner GHA build of hermetic-java-runtime branch [v3] In-Reply-To: References: <9kO8DtvfBPz4xUus0dJSJJB7LAlGgdAMiFxtmwB8rSA=.4343e16e-b322-4c62-8bdb-fcd59d939317@github.com> <5-WwkbrrlCQfA9afYreLL-anKSNPeAR5uOm1p5YDT2U=.0a643a77-c8d3-450e-8c53-12798854b220@github.com> <8psly0J5UsKmxFDskoCLORlO_Km54gOerfo4lu9rZbA=.aaee09ed-f9d7-450d-ae97-6151bb1bde55@github.com> Message-ID: On Wed, 30 Apr 2025 09:31:55 GMT, Severin Gehwolf wrote: >> I pushed https://git.openjdk.org/leyden/commit/c93d26d944b65b955a78c4227776bb0fc1d72363. > > OK. I've merged in the latest updates and reverted the change in `src/hotspot/share/utilities/globalDefinitions.hpp`. Let's see how GHA looks. @jerboaa The long-term plan is to handle this issue by using the linker to turn non-exported public symbols into private symbols before generating static libraries. This works on linux and macos, but I have not yet gotten it to work properly on Windows, and there is only a proof-of-concept sketch on how to get it to work on AIX. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/63#discussion_r2075234683 From sgehwolf at openjdk.org Tue May 6 14:21:49 2025 From: sgehwolf at openjdk.org (Severin Gehwolf) Date: Tue, 6 May 2025 14:21:49 GMT Subject: RFR: Cleaner GHA build of hermetic-java-runtime branch [v3] In-Reply-To: References: <9kO8DtvfBPz4xUus0dJSJJB7LAlGgdAMiFxtmwB8rSA=.4343e16e-b322-4c62-8bdb-fcd59d939317@github.com> <5-WwkbrrlCQfA9afYreLL-anKSNPeAR5uOm1p5YDT2U=.0a643a77-c8d3-450e-8c53-12798854b220@github.com> <8psly0J5UsKmxFDskoCLORlO_Km54gOerfo4lu9rZbA=.aaee09ed-f9d7-450d-ae97-6151bb1bde55@github.com> Message-ID: On Tue, 6 May 2025 11:07:08 GMT, Magnus Ihse Bursie wrote: >> OK. I've merged in the latest updates and reverted the change in `src/hotspot/share/utilities/globalDefinitions.hpp`. Let's see how GHA looks. > > @jerboaa The long-term plan is to handle this issue by using the linker to turn non-exported public symbols into private symbols before generating static libraries. This works on linux and macos, but I have not yet gotten it to work properly on Windows, and there is only a proof-of-concept sketch on how to get it to work on AIX. OK. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/63#discussion_r2075586372 From kvn at openjdk.org Tue May 6 15:18:49 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 6 May 2025 15:18:49 GMT Subject: RFR: Prototype AOTMXBean In-Reply-To: References: Message-ID: On Tue, 6 May 2025 07:26:53 GMT, Alan Bateman wrote: >>> > AOT is a JDK feature rather than standard feature so you might want to think of making it JDK specific, in jdk.management, rather than as a standard MXBean. >>> >>> Is there any difference in terms of visibility between java.management vs jdk.management? Aer both modules visible by default in a standard JDK build? >> >> Both modules export APIs so both modules will be resolved by default when the initial module is the "class path". Running with -Dcom.sun.management.jmxremote doesn't change that. >> >> They will also be resolved when the initial module is a named module, e.g. java -m app, even if app doesn't transitively depends on java.management or jdk.management. This is because of services and specifically java.management provides an implementation of JAAS LoginModule that can be used by java.base, and jdk.management provides additional platform MXBeans that can be used by java.management. >> >> So nothing here where the initial module or command line options will cause a concern. >> >> In any case, I think this MXBean is best prototyped in the jdk.management module, and in the jdk.management package. VirtualThreadSchedulerMXBean was recently added to this module. In JMX speak, that MXBean defines several attributes and an operation to control the scheduler. The proposal in this MXBean maps to 3 attributes and an operation to stop recording. > >> The module names look good. Perhaps we can have a more descriptive name than AOTMXBean? @AlanBateman any suggestions? > > Something like "AheadOfTimeCacheMXBean", registered with the MBeanServer as "jdk.management:type=AheadOfTimeCache", might be closer to what you want. > > An enum could be used to model the modes and that would give you a place to specify them too. Right now the prototype uses a string "representing the current AOT mode" so you would need to search around to know what the modes are. > > The operation to stop the recording is currently named "endRecording" so there is a mix of "stop" and "end", pick one. > > The recording duration attribute (getRecordingDuration method) will need to say more. When does recording start, so it this VM uptime? @AlanBateman We don't use AheadOfTime in our flags or class names. We use well known acronym AOT. I think we should be consistent everywhere. ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2854952244 From kvn at openjdk.org Tue May 6 15:42:50 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 6 May 2025 15:42:50 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings [v2] In-Reply-To: References: Message-ID: <-LX1-FtWwwnJEVfesAZtujfVZ9gBLzxKz1o74MY-1SI=.9722205e-45b8-4b0f-819c-d9a266e37cd1@github.com> On Mon, 5 May 2025 17:15:56 GMT, Vladimir Kozlov wrote: >> Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 >> >> This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. >> >> Tested with premain-tier1, tier1-3 > > Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: > > Fix printing condition @ashu-mehra please review these changes for premain. ------------- PR Comment: https://git.openjdk.org/leyden/pull/65#issuecomment-2855063750 From alanb at openjdk.org Tue May 6 16:13:39 2025 From: alanb at openjdk.org (Alan Bateman) Date: Tue, 6 May 2025 16:13:39 GMT Subject: RFR: Prototype AOTMXBean [v4] In-Reply-To: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> References: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> Message-ID: On Thu, 1 May 2025 17:37:22 GMT, Mat Carter wrote: >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Fixed recording time Okay, but I think the issue with "AOTMXBean" is that it's a management interface AOT cache and recording status, there may be other management interfaces for other aspects to AOT in the future. ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2855155387 From mr at openjdk.org Tue May 6 18:56:41 2025 From: mr at openjdk.org (Mark Reinhold) Date: Tue, 6 May 2025 18:56:41 GMT Subject: RFR: Prototype AOTMXBean [v4] In-Reply-To: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> References: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> Message-ID: <9C8iOHNImxr8bFfENDv5xBYJ4m4yqHioqI-iIyfrIvo=.9a9c46cf-2af2-446a-8f1b-bfc6ed3e77be@github.com> On Thu, 1 May 2025 17:37:22 GMT, Mat Carter wrote: >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Fixed recording time `AheadOfTimeCacheMXBean` is quite a mouthful. ?AOT? is a reasonably standard term of art, and will be familar to anyone using the HotSpot AOT CLI options. So why not `AOTCacheMXBean`? ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2855594566 From duke at openjdk.org Tue May 6 21:50:27 2025 From: duke at openjdk.org (duke) Date: Tue, 6 May 2025 21:50:27 GMT Subject: git: openjdk/leyden: premain: Address review comments Message-ID: <411618e5-a484-4b00-8275-8dc3da457728@openjdk.org> Changeset: f09d2f77 Branch: premain Author: Igor Veresov Date: 2025-05-06 14:47:48 +0000 URL: https://git.openjdk.org/leyden/commit/f09d2f7724c628c90df51eacb16b33fee710ed1a Address review comments ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java - src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/TrainingReplayThread.java From ioi.lam at oracle.com Tue May 6 22:43:50 2025 From: ioi.lam at oracle.com (ioi.lam at oracle.com) Date: Tue, 6 May 2025 15:43:50 -0700 Subject: Using -Xlog:aot to diagnose AOT cache Message-ID: I have published a PR to allow -Xlog:aot to see all logging messages related to the AOT cache. Please see the PR for the design and examples. ???? https://github.com/openjdk/jdk/pull/24895 Since the AOT cache has been developed on top of CDS, we have a lot of legacy logging code in HotSpot that uses the "cds" tag. We should eventually change all of those tags to "aot" [1]. However, there might be existing scripts that rely on -Xlog:cds, so we probably go through a deprecation process over several JDK releases (similar to what we do with HotSpot command-line options). My proposal is JDK 25: make -Xlog:aot as an "alias" to -Xlog:cds, so that people can start using the AOT cache with a consistent command-line interface. JDK 26: print a warning when -Xlog:cds is specified JDK 27: completely remove -Xlog:cds ======= [1] https://bugs.openjdk.org/browse/JDK-8356317 - Replace all "cds" logs with "aot" From kvn at openjdk.org Tue May 6 23:07:38 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 6 May 2025 23:07:38 GMT Subject: RFR: Prototype AOTMXBean [v4] In-Reply-To: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> References: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> Message-ID: On Thu, 1 May 2025 17:37:22 GMT, Mat Carter wrote: >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Fixed recording time I am fine with AOTCacheMXBean. ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2856421992 From macarte at openjdk.org Tue May 6 23:37:10 2025 From: macarte at openjdk.org (Mat Carter) Date: Tue, 6 May 2025 23:37:10 GMT Subject: RFR: Prototype AOTMXBean [v5] In-Reply-To: References: Message-ID: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> > /** > * Returns the string representing the current AOT mode of > * operation. > * > * @return the string representing the current AOT mode. > */ > public String getMode(); > > /** > * Tests if a recording is in progress. > * > * @return {@code true} if a recording is in progress; {@code false} otherwise. > */ > public boolean isRecording(); > > /** > * If a recording is in progress or has been completed, then returns the duration in milliseconds > * > * @return duration of the recording in milliseconds. > */ > public long getRecordingDuration(); > > /** > * If a recording is in progress, then stops the recording. > * > * @return {@code true} if a recording was stopped; {@code false} otherwise. > */ > public boolean endRecording(); Mat Carter has updated the pull request incrementally with one additional commit since the last revision: Renamed AOT* to AOTCache* ------------- Changes: - all: https://git.openjdk.org/leyden/pull/52/files - new: https://git.openjdk.org/leyden/pull/52/files/436b5901..0419c765 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=04 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=03-04 Stats: 311 lines in 6 files changed: 145 ins; 145 del; 21 mod Patch: https://git.openjdk.org/leyden/pull/52.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/52/head:pull/52 PR: https://git.openjdk.org/leyden/pull/52 From macarte at openjdk.org Tue May 6 23:37:11 2025 From: macarte at openjdk.org (Mat Carter) Date: Tue, 6 May 2025 23:37:11 GMT Subject: RFR: Prototype AOTMXBean [v4] In-Reply-To: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> References: <6ELQ5UrD8eceEMXKjG3j79qN1e9SfVr3lJz7rfCe61U=.0c25d057-fb0a-4162-96d1-9009e3750eda@github.com> Message-ID: On Thu, 1 May 2025 17:37:22 GMT, Mat Carter wrote: >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Fixed recording time I've renamed AOT* to AOTCache*; I'm sure we'll go through another round of reviews before it exits premain ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2856531944 From kvn at openjdk.org Wed May 7 16:38:40 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 7 May 2025 16:38:40 GMT Subject: git: openjdk/leyden: premain: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings Message-ID: Changeset: 276d16a6 Branch: premain Author: Vladimir Kozlov Date: 2025-05-07 16:38:07 +0000 URL: https://git.openjdk.org/leyden/commit/276d16a654fc88eb43371436d203e9540b55faf0 8355514: [premain] rename AOT code flags and adjust their ergonomic settings Reviewed-by: shade ! src/hotspot/share/c1/c1_Compiler.cpp + src/hotspot/share/cds/aotCacheAccess.cpp + src/hotspot/share/cds/aotCacheAccess.hpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp - src/hotspot/share/cds/cdsAccess.cpp - src/hotspot/share/cds/cdsAccess.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/code/codeCache.hpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compilerDefinitions.cpp ! src/hotspot/share/compiler/compiler_globals.hpp ! src/hotspot/share/compiler/precompiler.cpp ! src/hotspot/share/runtime/arguments.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java From kvn at openjdk.org Wed May 7 16:40:43 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 7 May 2025 16:40:43 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings [v2] In-Reply-To: References: Message-ID: On Mon, 5 May 2025 17:15:56 GMT, Vladimir Kozlov wrote: >> Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 >> >> This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. >> >> Tested with premain-tier1, tier1-3 > > Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: > > Fix printing condition I am pushing this. I waiting long enough. ------------- PR Comment: https://git.openjdk.org/leyden/pull/65#issuecomment-2859258421 From kvn at openjdk.org Wed May 7 16:40:44 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 7 May 2025 16:40:44 GMT Subject: Integrated: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings In-Reply-To: References: Message-ID: On Fri, 2 May 2025 15:48:11 GMT, Vladimir Kozlov wrote: > Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740 > > This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR. > > Tested with premain-tier1, tier1-3 This pull request has now been integrated. Changeset: 276d16a6 Author: Vladimir Kozlov URL: https://git.openjdk.org/leyden/commit/276d16a654fc88eb43371436d203e9540b55faf0 Stats: 1058 lines in 24 files changed: 606 ins; 318 del; 134 mod 8355514: [premain] rename AOT code flags and adjust their ergonomic settings Reviewed-by: shade ------------- PR: https://git.openjdk.org/leyden/pull/65 From asmehra at openjdk.org Wed May 7 17:05:39 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 7 May 2025 17:05:39 GMT Subject: RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings [v2] In-Reply-To: References: Message-ID: On Wed, 7 May 2025 16:37:24 GMT, Vladimir Kozlov wrote: >> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: >> >> Fix printing condition > > I am pushing this. I waiting long enough. @vnkozlov sorry I didn't mean to keep you waiting. It is on my task list for today. I was just prioritizing tasks in the mainline. ------------- PR Comment: https://git.openjdk.org/leyden/pull/65#issuecomment-2859371843 From estigma88 at gmail.com Wed May 7 19:57:59 2025 From: estigma88 at gmail.com (Daniel Andres Pelaez Lopez) Date: Wed, 7 May 2025 14:57:59 -0500 Subject: JEP 483: Ahead-of-Time Class Loading & Linking failing on a simple Gradle Spring Boot project Message-ID: Hi everyone, We are testing JEP 483 on JDK 24 using the following dummy Gradle Spring Boot project: https://github.com/estigma88/java-aot/tree/master. As we want to generate the AOT cache from the tests, we added a custom Test task to receive the AOT flags for the JVM as follows: tasks.withType { useJUnitPlatform() project.findProperty("aot")?.let { val aotFlags = it.toString().split(",") jvmArgs(aotFlags) } } And we are using the following commands to generate the AOT cache: ./gradlew :test -Paot="-XX:AOTMode=record,-XX:AOTConfiguration=app.aotconf" -> This one succeed ./gradlew :test -Paot="-XX:AOTMode=create,-XX:AOTConfiguration=app.aotconf,-XX:AOTCache=app.aot" -> This one fails The following are the logs for the create command: [1,328s][warning][cds] Preload Warning: Verification failed for org.springframework.http.client.ReactorResourceFactory [1,579s][warning][cds] Preload Warning: Verification failed for org.springframework.test.context.transaction.TransactionalTestExecutionListener [1,581s][warning][cds] Preload Warning: Verification failed for org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener [1,668s][warning][cds] Preload Warning: Verification failed for org.springframework.boot.logging.log4j2.Log4J2LoggingSystem [2,412s][warning][cds] Preload Warning: Verification failed for org.springframework.http.codec.multipart.DefaultPartHttpMessageReader [2,575s][warning][cds] Preload Warning: Verification failed for org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration [2,577s][warning][cds] Preload Warning: Verification failed for org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration [2,799s][warning][cds] Preload Warning: Verification failed for org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer [3,029s][warning][cds] Preload Warning: Verification failed for org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter [3,109s][warning][cds] Preload Warning: Verification failed for org.springframework.boot.http.client.JettyClientHttpRequestFactoryBuilder [3,110s][warning][cds] Preload Warning: Verification failed for org.springframework.boot.http.client.HttpComponentsClientHttpRequestFactoryBuilder [3,180s][warning][cds] java.lang.ClassNotFoundException: org.mockito.internal.creation.bytebuddy.inject.MockMethodDispatcher [3,180s][warning][cds] Preload Warning: Cannot find org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher [3,196s][warning][cds] Preload Warning: Verification failed for org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator [3,197s][warning][cds] java.lang.NoClassDefFoundError: org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher [3,197s][warning][cds] Preload Warning: Cannot find org/mockito/internal/creation/bytebuddy/MockMethodAdvice [3,307s][warning][cds] java.lang.ClassNotFoundException: net.bytebuddy.utility.Invoker$Dispatcher [3,307s][warning][cds] Preload Warning: Cannot find net/bytebuddy/utility/Invoker$Dispatcher [3,906s][warning][cds,resolve] : An error has occurred while processing class list file app.aotconf 9635:5. [3,906s][warning][cds,resolve] @cp org/mockito/internal/creation/bytebuddy/MockMethodAdvice 1 2 7 9 10 11 17 22 26 28 29 33 36 40 44 48 258 class org/mockito/internal/creation/bytebuddy/MockMethodAdvice is not (yet) loaded by one of the built-in loaders[3,906s][warning][cds,resolve] ^ [3,906s][warning][cds,resolve] Your classlist may be out of sync with the JDK or the application. An error has occurred while processing class list file app.aotconf 11862:5. [4,467s][warning][cds,resolve] : class org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher is not (yet) loaded by one of the built-in loaders[4,467s][warning][cds,resolve] @cp org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher 1 2 8 14 20 25 27 38 59 [4,467s][warning][cds,resolve] ^ [4,467s][warning][cds,resolve] Your classlist may be out of sync with the JDK or the application. [4,608s][warning][cds ] Preload Warning: Verification failed for org.springframework.web.servlet.view.freemarker.FreeMarkerView [4,648s][error ][cds ] Error: non-empty directory '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' [4,648s][error ][cds ] Error: non-empty directory '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' [4,648s][error ][cds ] Error: non-empty directory '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' Hint: enable -Xlog:class+path=info to diagnose the failure Error occurred during CDS dumping Cannot have non-empty directory in paths Error logs seem related to the AOT feature and not Gradle, but you will know better. Any help would be appreciated. -- Daniel e. estigma88 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From iklam at openjdk.org Thu May 8 03:32:43 2025 From: iklam at openjdk.org (Ioi Lam) Date: Thu, 8 May 2025 03:32:43 GMT Subject: git: openjdk/leyden: premain: 84 new changesets Message-ID: <716adba9-e006-4c07-b6ba-0d9e5cdd6f7c@openjdk.org> Changeset: cd6f0d19 Branch: premain Author: Kelvin Nilsen Date: 2025-04-27 20:10:20 +0000 URL: https://git.openjdk.org/leyden/commit/cd6f0d19d5da03eafde68142528c0f85d783cbea 8355336: GenShen: Resume Old GC even with back-to-back Young GC triggers Reviewed-by: wkemper ! src/hotspot/share/gc/shenandoah/heuristics/shenandoahOldHeuristics.cpp ! src/hotspot/share/gc/shenandoah/heuristics/shenandoahYoungHeuristics.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRegulatorThread.cpp Changeset: 1f228e55 Branch: premain Author: Damon Fenacci Date: 2025-04-28 06:18:53 +0000 URL: https://git.openjdk.org/leyden/commit/1f228e5539a5faa3b28e12548f8ad97eeacf3298 8354119: Missing C2 proper allocation failure handling during initialization (during generate_uncommon_trap_blob) Reviewed-by: kvn, chagedorn, mdoerr, amitkumar, fyang, bulasevich ! src/hotspot/cpu/aarch64/runtime_aarch64.cpp ! src/hotspot/cpu/arm/runtime_arm.cpp ! src/hotspot/cpu/ppc/runtime_ppc.cpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/riscv/runtime_riscv.cpp ! src/hotspot/cpu/s390/runtime_s390.cpp ! src/hotspot/cpu/s390/sharedRuntime_s390.cpp ! src/hotspot/cpu/x86/runtime_x86_64.cpp Changeset: 40e7986c Branch: premain Author: Nikita Gubarkov Committer: Alexey Ushakov Date: 2025-04-28 06:44:16 +0000 URL: https://git.openjdk.org/leyden/commit/40e7986c412797323f721212d5f375ffe15accb3 8355611: Get rid of SurfaceManagerFactory Reviewed-by: serb, prr ! src/java.desktop/macosx/classes/sun/awt/CGraphicsConfig.java ! src/java.desktop/macosx/classes/sun/awt/CGraphicsEnvironment.java - src/java.desktop/macosx/classes/sun/java2d/MacosxSurfaceManagerFactory.java ! src/java.desktop/macosx/classes/sun/java2d/metal/MTLGraphicsConfig.java ! src/java.desktop/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java ! src/java.desktop/share/classes/sun/awt/image/SunVolatileImage.java ! src/java.desktop/share/classes/sun/awt/image/SurfaceManager.java - src/java.desktop/share/classes/sun/java2d/SurfaceManagerFactory.java ! src/java.desktop/share/classes/sun/java2d/opengl/OGLGraphicsConfig.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsConfig.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsDevice.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsEnvironment.java - src/java.desktop/unix/classes/sun/java2d/UnixSurfaceManagerFactory.java ! src/java.desktop/unix/classes/sun/java2d/opengl/GLXGraphicsConfig.java ! src/java.desktop/unix/classes/sun/java2d/xr/XRGraphicsConfig.java ! src/java.desktop/windows/classes/sun/awt/Win32GraphicsDevice.java ! src/java.desktop/windows/classes/sun/awt/Win32GraphicsEnvironment.java - src/java.desktop/windows/classes/sun/java2d/WindowsSurfaceManagerFactory.java ! src/java.desktop/windows/classes/sun/java2d/d3d/D3DGraphicsConfig.java ! src/java.desktop/windows/classes/sun/java2d/opengl/WGLGraphicsConfig.java Changeset: 7df1bfe2 Branch: premain Author: Matthias Baesken Date: 2025-04-28 06:56:09 +0000 URL: https://git.openjdk.org/leyden/commit/7df1bfe27b0486e834f07d9aec43b0dae020731f 8354811: clock_tics_per_sec code duplication between os_linux and os_posix Reviewed-by: lucy, clanger, asteiner ! src/hotspot/os/aix/os_perf_aix.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/os_posix.hpp Changeset: a05ff55b Branch: premain Author: Anjian-Wen Committer: Fei Yang Date: 2025-04-28 07:15:41 +0000 URL: https://git.openjdk.org/leyden/commit/a05ff55be4e4e1ab11d756b88a9dfa1f0adb4592 8355657: RISC-V: Improve PrintOptoAssembly output of vector-scalar instructions Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 3140de41 Branch: premain Author: Bhavana Kilambi Committer: Hao Sun Date: 2025-04-28 08:08:42 +0000 URL: https://git.openjdk.org/leyden/commit/3140de411bb55604f8a9e2484798098d9d141002 8345125: Aarch64: Add aarch64 backend for Float16 scalar operations Reviewed-by: aph, haosun ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/matcher_aarch64.hpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/aarch64/AArch64.java ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h ! test/hotspot/jtreg/compiler/c2/irTests/ConvF2HFIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/MulHFNodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/TestFloat16ScalarOperations.java ! test/hotspot/jtreg/compiler/floatingpoint/TestSubNodeFloatDoubleNegation.java ! test/hotspot/jtreg/compiler/lib/ir_framework/test/IREncodingPrinter.java ! test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorConvChain.java Changeset: db6fa592 Branch: premain Author: Aleksey Shipilev Date: 2025-04-28 08:43:14 +0000 URL: https://git.openjdk.org/leyden/commit/db6fa5923cd0394dfb44c7e46c3e7ccc102a933a 8355617: Remove historical debug_only macro in favor of DEBUG_ONLY Reviewed-by: stefank, kbarrett, jwaters ! src/hotspot/cpu/aarch64/c1_CodeStubs_aarch64.cpp ! src/hotspot/cpu/arm/arm.ad ! src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp ! src/hotspot/cpu/arm/gc/shared/barrierSetNMethod_arm.cpp ! src/hotspot/cpu/ppc/c1_CodeStubs_ppc.cpp ! src/hotspot/cpu/ppc/c1_FrameMap_ppc.cpp ! src/hotspot/cpu/ppc/gc/shared/barrierSetNMethod_ppc.cpp ! src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/cpu/s390/c1_CodeStubs_s390.cpp ! src/hotspot/cpu/s390/c1_FrameMap_s390.cpp ! src/hotspot/cpu/s390/c1_FrameMap_s390.hpp ! src/hotspot/cpu/s390/gc/shared/barrierSetNMethod_s390.cpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/c1_CodeStubs_x86.cpp ! src/hotspot/cpu/x86/nativeInst_x86.cpp ! src/hotspot/cpu/x86/nativeInst_x86.hpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/share/asm/assembler.hpp ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_FrameMap.hpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/ci/ciTypeFlow.cpp ! src/hotspot/share/ci/ciTypeFlow.hpp ! src/hotspot/share/ci/ciUtilities.inline.hpp ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/code/debugInfoRec.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/code/oopRecorder.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/code/stubs.cpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/gc/parallel/objectStartArray.cpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/parallel/psPromotionLAB.cpp ! src/hotspot/share/gc/parallel/psPromotionLAB.hpp ! src/hotspot/share/gc/serial/serialBlockOffsetTable.cpp ! src/hotspot/share/gc/shared/collectedHeap.hpp ! src/hotspot/share/gc/shared/hSpaceCounters.cpp ! src/hotspot/share/gc/shared/hSpaceCounters.hpp ! src/hotspot/share/gc/shared/memAllocator.cpp ! src/hotspot/share/gc/shared/scavengableNMethods.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.cpp ! src/hotspot/share/gc/shenandoah/shenandoahTaskqueue.hpp ! src/hotspot/share/interpreter/oopMapCache.cpp ! src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp ! src/hotspot/share/jfr/recorder/storage/jfrStorage.cpp ! src/hotspot/share/jfr/utilities/jfrAllocation.cpp ! src/hotspot/share/jfr/utilities/jfrDoublyLinkedList.hpp ! src/hotspot/share/jfr/writers/jfrMemoryWriterHost.hpp ! src/hotspot/share/jfr/writers/jfrMemoryWriterHost.inline.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/logging/logConfiguration.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp ! src/hotspot/share/memory/virtualspace.cpp ! src/hotspot/share/oops/cpCache.hpp ! src/hotspot/share/oops/generateOopMap.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceRefKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/block.hpp ! src/hotspot/share/opto/buildOopMap.cpp ! src/hotspot/share/opto/callnode.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/chaitin.cpp ! src/hotspot/share/opto/chaitin.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/escape.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/graphKit.hpp ! src/hotspot/share/opto/idealKit.cpp ! src/hotspot/share/opto/indexSet.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/matcher.cpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/opto/multnode.hpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/node.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/parse1.cpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/regalloc.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/type.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/jvmtiEnter.xsl ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiExport.cpp ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/perf.cpp ! src/hotspot/share/prims/upcallLinker.cpp ! src/hotspot/share/runtime/handles.cpp ! src/hotspot/share/runtime/handles.hpp ! src/hotspot/share/runtime/handles.inline.hpp ! src/hotspot/share/runtime/interfaceSupport.inline.hpp ! src/hotspot/share/runtime/javaCalls.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/jfieldIDWorkaround.hpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/services/heapDumper.cpp ! src/hotspot/share/services/threadService.cpp ! src/hotspot/share/utilities/growableArray.hpp ! src/hotspot/share/utilities/macros.hpp Changeset: 2447b981 Branch: premain Author: Suchismith Roy Committer: Martin Doerr Date: 2025-04-28 08:44:36 +0000 URL: https://git.openjdk.org/leyden/commit/2447b9812a9f7316a2313f70db4974534fceb9d9 8355498: [AIX] Adapt code for C++ VLA rule Reviewed-by: jkern, mdoerr ! src/hotspot/os/aix/os_perf_aix.cpp Changeset: b0c3485d Branch: premain Author: Hannes Walln?fer Date: 2025-04-28 10:04:20 +0000 URL: https://git.openjdk.org/leyden/commit/b0c3485d6c911898b1ac07eccfe7d2b2668144cc 8348282: Add option for syntax highlighting in javadoc snippets Reviewed-by: liach, nbenalla, erikj ! make/Docs.gmk ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlOptions.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java + src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/highlight.css + src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/highlight.js ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script.js.template ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/stylesheet.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java ! src/jdk.javadoc/share/man/javadoc.md + test/langtools/jdk/javadoc/doclet/testSyntaxHighlightOption/TestSyntaxHighlightOption.java Changeset: a7359a50 Branch: premain Author: Anton Artemov Committer: Johan Sj?len Date: 2025-04-28 12:12:50 +0000 URL: https://git.openjdk.org/leyden/commit/a7359a5091e7ed911cc0505235eee6dee6d44919 8354453: Don't strcpy in os::strdup, use memcpy instead Reviewed-by: jsjolen, kbarrett ! src/hotspot/share/runtime/os.cpp Changeset: 3eaec040 Branch: premain Author: Vladimir Kozlov Date: 2025-04-28 13:29:51 +0000 URL: https://git.openjdk.org/leyden/commit/3eaec040b4e82e1a31bd12683dd783a33025d1bf 8355635: Do not collect C strings in C2 scratch buffer Reviewed-by: jrose, thartmann, shade ! src/hotspot/share/asm/codeBuffer.cpp Changeset: e7a41625 Branch: premain Author: Tobias Hartmann Date: 2025-04-28 13:54:41 +0000 URL: https://git.openjdk.org/leyden/commit/e7a416254be88ad3af74d874e444a4921b2a31f7 8355717: Problem list tests until JDK-8355708 is fixed Reviewed-by: chagedorn ! test/hotspot/jtreg/ProblemList.txt Changeset: 66358fa2 Branch: premain Author: Joel Sikstr?m Date: 2025-04-28 14:08:59 +0000 URL: https://git.openjdk.org/leyden/commit/66358fa2c0074b02f6087f1e1501eff9364a25f2 8355616: Incorrect ifdef in compilationMemoryStatistic.cpp Reviewed-by: shade, stuefe, jwaters ! src/hotspot/share/compiler/compilationMemoryStatistic.cpp Changeset: b1e778d9 Branch: premain Author: Joachim Kern Date: 2025-04-28 14:38:59 +0000 URL: https://git.openjdk.org/leyden/commit/b1e778d9d2ad13ee5f1ed629a8805008580f86c0 8354686: [AIX] now ubsan is possible Reviewed-by: mbaesken, clanger ! make/autoconf/jdk-options.m4 ! make/data/ubsan/ubsan_default_options.c Changeset: c0dc3142 Branch: premain Author: Naoto Sato Date: 2025-04-28 16:03:40 +0000 URL: https://git.openjdk.org/leyden/commit/c0dc31422d6e7435ad7abdb547dedcc50b7fc0c3 8355558: SJIS.java test is always ignored Reviewed-by: bpb ! test/jdk/java/io/pathNames/win32/SJIS.java Changeset: a090aa3f Branch: premain Author: Mikael Vidstedt Date: 2025-04-28 17:13:44 +0000 URL: https://git.openjdk.org/leyden/commit/a090aa3ff8b79b553061e8d61bc42eb3d915c955 8354902: Change to Visual Studio 17.13.2 for building on Windows at Oracle Reviewed-by: erikj, ihse ! doc/building.html ! doc/building.md ! make/conf/jib-profiles.js Changeset: 2f844803 Branch: premain Author: Roger Riggs Date: 2025-04-28 18:21:46 +0000 URL: https://git.openjdk.org/leyden/commit/2f8448034f28276ad5ac1edfa0fb8650e47d4ffa 8354053: Remove unused JavaIOFilePermissionAccess Reviewed-by: liach, weijun ! src/java.base/share/classes/java/io/FilePermission.java - src/java.base/share/classes/jdk/internal/access/JavaIOFilePermissionAccess.java ! src/java.base/share/classes/jdk/internal/access/SharedSecrets.java - src/java.base/share/classes/sun/security/util/FilePermCompat.java ! test/jdk/java/io/FilePermission/FilePermissionCollectionMerge.java Changeset: acd93df6 Branch: premain Author: Jiangli Zhou Date: 2025-04-28 18:55:26 +0000 URL: https://git.openjdk.org/leyden/commit/acd93df612525777656701821338caf9c81e5a6a 8355080: java.base/jdk.internal.foreign.SystemLookup.find() doesn't work on static JDK Reviewed-by: mcimadamore, jvernee ! make/modules/java.base/Lib.gmk ! src/java.base/aix/native/libsyslookup/syslookup.c ! src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java ! src/java.base/share/native/libsyslookup/syslookup.c ! src/java.base/windows/native/libsyslookup/syslookup.c Changeset: af4388ab Branch: premain Author: Leonid Mesnik Date: 2025-04-28 19:24:09 +0000 URL: https://git.openjdk.org/leyden/commit/af4388abf232ec66614df51b34d5966ee6706b7b 8355649: Missing ResourceMark in ExceptionMark::check_no_pending_exception Reviewed-by: jsjolen, shade ! src/hotspot/share/utilities/exceptions.cpp Changeset: 62d165d0 Branch: premain Author: Jiangli Zhou Date: 2025-04-28 19:44:04 +0000 URL: https://git.openjdk.org/leyden/commit/62d165d0e4e5ab1bcef35d5031554a354052c6d5 8355669: Add static-jdk-bundles make target Reviewed-by: ihse ! make/Bundles.gmk ! make/Main.gmk ! make/autoconf/spec.gmk.template Changeset: 1fd136cd Branch: premain Author: Roger Riggs Date: 2025-04-28 21:36:14 +0000 URL: https://git.openjdk.org/leyden/commit/1fd136cd6b863ebee70e42b2966584218d0919ec 8354335: No longer deprecate wrapper class constructors for removal Reviewed-by: liach, bchristi, iris ! src/java.base/share/classes/java/lang/Boolean.java ! src/java.base/share/classes/java/lang/Byte.java ! src/java.base/share/classes/java/lang/Character.java ! src/java.base/share/classes/java/lang/Double.java ! src/java.base/share/classes/java/lang/Float.java ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java ! src/java.base/share/classes/java/lang/Short.java ! src/java.base/share/classes/java/lang/invoke/MemberName.java Changeset: 62ef706d Branch: premain Author: Zhengyu Gu Date: 2025-04-28 23:31:54 +0000 URL: https://git.openjdk.org/leyden/commit/62ef706dd1b21a347c2cca717a2277b75dd25097 8355648: Thread.SpinAcquire()'s lock name parameter is not used Reviewed-by: shade, coleenp ! src/hotspot/share/jfr/utilities/jfrSpinlockHelper.hpp ! src/hotspot/share/runtime/objectMonitor.cpp ! src/hotspot/share/runtime/park.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp Changeset: ea3cf1b8 Branch: premain Author: Gui Cao Committer: Fei Yang Date: 2025-04-29 01:23:47 +0000 URL: https://git.openjdk.org/leyden/commit/ea3cf1b882c89bfe96af3aa389b69b842d72159c 8355668: RISC-V: jdk/incubator/vector/Int256VectorTests.java fails when using RVV Reviewed-by: fyang ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 7cf190fb Branch: premain Author: Boris Ulasevich Date: 2025-04-29 01:50:23 +0000 URL: https://git.openjdk.org/leyden/commit/7cf190fbb02e950eb3b5461be139d09add3f6a7d 8345225: AARCH64: VM crashes with -NearCpool +UseShenandoahGC options Reviewed-by: aph, shade ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp Changeset: 7bde2bb5 Branch: premain Author: Gui Cao Committer: Fei Yang Date: 2025-04-29 02:12:04 +0000 URL: https://git.openjdk.org/leyden/commit/7bde2bb57159aaac36a6a585f70c4672919c8c16 8355654: RISC-V: Relax register constraint for some vector-scalar instructions Reviewed-by: fyang, dzhang ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: e4cb49fc Branch: premain Author: Chen Liang Date: 2025-04-29 03:06:23 +0000 URL: https://git.openjdk.org/leyden/commit/e4cb49fc8531ee7cdc66ed16f5f5e2ec94d1244b 8342206: Convenience method to check if a constant pool entry matches nominal descriptors Reviewed-by: asotona ! src/java.base/share/classes/java/lang/classfile/constantpool/ClassEntry.java ! src/java.base/share/classes/java/lang/classfile/constantpool/MethodTypeEntry.java ! src/java.base/share/classes/java/lang/classfile/constantpool/ModuleEntry.java ! src/java.base/share/classes/java/lang/classfile/constantpool/PackageEntry.java ! src/java.base/share/classes/java/lang/classfile/constantpool/StringEntry.java ! src/java.base/share/classes/java/lang/classfile/constantpool/Utf8Entry.java ! src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java ! src/java.base/share/classes/jdk/internal/classfile/impl/SplitConstantPool.java ! test/jdk/jdk/classfile/ConstantDescSymbolsTest.java Changeset: 44374a57 Branch: premain Author: Gustavo Simon Committer: Christoph Langer Date: 2025-04-29 04:17:00 +0000 URL: https://git.openjdk.org/leyden/commit/44374a572096fc98b390ab2cb9063d832e110020 8350542: Optional.orElseThrow(Supplier) does not specify behavior when supplier returns null Reviewed-by: liach, clanger ! src/java.base/share/classes/java/util/Optional.java Changeset: 841989b2 Branch: premain Author: Kevin Walls Date: 2025-04-29 06:57:33 +0000 URL: https://git.openjdk.org/leyden/commit/841989b2701b4ee0ec9be03d8007e6788edf56b4 8318730: MonitorVmStartTerminate.java still times out after JDK-8209595 Reviewed-by: lmesnik, sspitsyn, cjplummer ! test/jdk/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java Changeset: 108078a6 Branch: premain Author: Marc Chevalier Committer: Damon Fenacci Date: 2025-04-29 07:43:37 +0000 URL: https://git.openjdk.org/leyden/commit/108078a6813f49fa82b6f97a8a6665d200d95e28 8338194: ubsan: mulnode.cpp:862:59: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Reviewed-by: dlong, dfenacci ! src/hotspot/share/opto/mulnode.cpp Changeset: 31e70e41 Branch: premain Author: Kuai Wei Committer: SendaoYan Date: 2025-04-29 08:31:20 +0000 URL: https://git.openjdk.org/leyden/commit/31e70e41d56777ba6f4bba4cc3266130646b3202 8355697: Create windows devkit on wsl and msys2 Reviewed-by: ihse, erikj ! make/devkit/createWindowsDevkit.sh Changeset: 6a0c24f9 Branch: premain Author: Manuel H?ssig Committer: Roberto Casta?eda Lozano Date: 2025-04-29 09:22:18 +0000 URL: https://git.openjdk.org/leyden/commit/6a0c24f9db0b15a00ecadca6e853ed5aa3775b78 8355472: Clean up x86 nativeInst after 32-bit x86 removal Reviewed-by: shade, rcastanedalo, jwaters ! src/hotspot/cpu/x86/nativeInst_x86.cpp ! src/hotspot/cpu/x86/nativeInst_x86.hpp Changeset: edf8ce8d Branch: premain Author: David Linus Briemann Committer: Martin Doerr Date: 2025-04-29 11:57:37 +0000 URL: https://git.openjdk.org/leyden/commit/edf8ce8db10521037045115f4cb9569a1477a40a 8355739: AssertionError: Invalid CPU feature name after 8353786 Reviewed-by: vlivanov, shade, mdoerr ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/CPUFeatures.java Changeset: 9f42ff89 Branch: premain Author: Matthias Baesken Date: 2025-04-29 13:26:51 +0000 URL: https://git.openjdk.org/leyden/commit/9f42ff8960c740fa6ae5be21677b874463c7f500 8355594: Warnings occur when building with clang and enabling ubsan Reviewed-by: erikj, jkern, ihse ! make/autoconf/jdk-options.m4 Changeset: 2ed7ad4b Branch: premain Author: Fei Yang Date: 2025-04-29 13:41:04 +0000 URL: https://git.openjdk.org/leyden/commit/2ed7ad4b5c7d2344ae6571c186f8a2903770aa57 8355667: RISC-V: Add backend implementation for unsigned vector Min / Max operations Reviewed-by: mli, gcao ! src/hotspot/cpu/riscv/riscv_v.ad ! test/hotspot/jtreg/compiler/vectorapi/VectorCommutativeOperSharingTest.java ! test/hotspot/jtreg/compiler/vectorapi/VectorUnsignedMinMaxOperationsTest.java Changeset: b5156bb1 Branch: premain Author: Liam Miller-Cushon Date: 2025-04-29 14:32:38 +0000 URL: https://git.openjdk.org/leyden/commit/b5156bb16aade1ff40f20ed6ce6faafe7becb671 8355065: ConcurrentModificationException in RichDiagnosticFormatter Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java + test/langtools/tools/javac/annotations/typeAnnotations/RichFormatterWithTypeAnnotationsTest.java Changeset: fa2a9d1e Branch: premain Author: Julian Waters Date: 2025-04-29 15:37:16 +0000 URL: https://git.openjdk.org/leyden/commit/fa2a9d1e10679aad270f4641f43595b36fe8e04c 8354919: Move HotSpot .editorconfig into the global .editorconfig Reviewed-by: erikj, ihse ! .editorconfig - src/hotspot/.editorconfig Changeset: 5d2d1ab5 Branch: premain Author: Chen Liang Date: 2025-04-29 15:42:08 +0000 URL: https://git.openjdk.org/leyden/commit/5d2d1ab5740259bc30d0184e4d691a05fdf63e19 8354996: Reduce dynamic code generation for a single downcall Reviewed-by: jvernee ! make/jdk/src/classes/build/tools/classlist/HelloClasslist.java ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CapturableState.java ! src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/NativeEntryPoint.java ! src/java.base/share/classes/jdk/internal/foreign/abi/VMStorage.java Changeset: bd7561c3 Branch: premain Author: Manukumar V S Committer: Harshitha Onkar Date: 2025-04-29 16:43:15 +0000 URL: https://git.openjdk.org/leyden/commit/bd7561c315e8fd80e32cb154998bd28745c98682 8355441: Remove antipattern from PassFailJFrame.forcePass javadoc Reviewed-by: aivanov, honkar ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java Changeset: ead67574 Branch: premain Author: Aleksey Shipilev Date: 2025-04-29 18:08:28 +0000 URL: https://git.openjdk.org/leyden/commit/ead6757486fb58f35f6e93b691519673bca1a549 8342283: CDS cannot handle a large number of classes Co-authored-by: Ioi Lam Reviewed-by: iklam, lmesnik, ccheung ! src/java.base/share/classes/java/lang/ClassLoader.java ! test/hotspot/jtreg/TEST.groups = test/hotspot/jtreg/runtime/cds/appcds/LotsOfJRTClasses.java + test/hotspot/jtreg/runtime/cds/appcds/LotsOfSyntheticClasses.java Changeset: c2485d5f Branch: premain Author: Mark Powers Date: 2025-04-29 19:12:52 +0000 URL: https://git.openjdk.org/leyden/commit/c2485d5f7dd00eaed34a5d309276114eb4c78cb0 8351113: RC2ParameterSpec throws IllegalArgumentException when offset is negative Reviewed-by: mullan ! src/java.base/share/classes/javax/crypto/spec/RC2ParameterSpec.java + test/jdk/java/security/spec/RC2ParameterSpec/InvalidArrayIndex.java Changeset: bf52eb03 Branch: premain Author: Brent Christian Date: 2025-04-29 20:15:00 +0000 URL: https://git.openjdk.org/leyden/commit/bf52eb035865353fdf5c6c242f9676a51dcc9e22 8355632: WhiteBox.waitForReferenceProcessing() fails assert for return type Reviewed-by: kbarrett + test/lib-test/jdk/test/whitebox/WaitForRefProcTest.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: 8b16897b Branch: premain Author: Artur Barashev Committer: Bradford Wetmore Date: 2025-04-29 20:42:37 +0000 URL: https://git.openjdk.org/leyden/commit/8b16897b74cfdc3c2693e3ae7e05f3d8c6468ebe 8355262: Test sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java failed: accept timed out Reviewed-by: jnimeh, wetmore ! test/jdk/sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java Changeset: 6850757f Branch: premain Author: Vladimir Ivanov Date: 2025-04-29 22:25:20 +0000 URL: https://git.openjdk.org/leyden/commit/6850757fe6c6c7868fab2314babb7c30bce2662e 8355689: Wrong native entry name for FloatMaxVector vector math stubs with -XX:MaxVectorSize=8 Reviewed-by: psandoz, haosun, kvn ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.java Changeset: 5e27547e Branch: premain Author: William Kemper Date: 2025-04-29 22:56:19 +0000 URL: https://git.openjdk.org/leyden/commit/5e27547e2d577e17316ae1a91f83e4091e9729c5 8355789: GenShen: assert(_degen_point == ShenandoahGC::_degenerated_unset) failed: Should not be set yet: Outside of Cycle Reviewed-by: kdnilsen, ysr ! src/hotspot/share/gc/shenandoah/shenandoahGenerationalControlThread.cpp Changeset: 16529488 Branch: premain Author: Chen Liang Date: 2025-04-29 23:07:14 +0000 URL: https://git.openjdk.org/leyden/commit/1652948862c135c67d52622062773bf7922e02d0 8355442: Reference field lambda forms with type casts are not generated Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/GenerateJLIClassesHelper.java ! src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java Changeset: 83d0bd85 Branch: premain Author: Leonid Mesnik Date: 2025-04-29 23:44:45 +0000 URL: https://git.openjdk.org/leyden/commit/83d0bd85afaf1b5724c12f4d2f6e9c7087bab4e8 8355069: Allocation::check_out_of_memory() should support CheckUnhandledOops mode Reviewed-by: sspitsyn ! src/hotspot/share/gc/shared/memAllocator.cpp Changeset: dcffd9d9 Branch: premain Author: Chen Liang Date: 2025-04-30 00:39:02 +0000 URL: https://git.openjdk.org/leyden/commit/dcffd9d9ac1ad1ed814b5bb45222a25621eeccda 8347471: Provide valid flags and mask in AccessFlag.Location Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java ! src/java.base/share/classes/java/lang/reflect/Modifier.java ! test/jdk/java/lang/reflect/AccessFlag/BasicAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/ClassAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/FieldAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/MethodAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/StrictAccessFlagTest.java ! test/jdk/java/lang/reflect/AccessFlag/VersionedLocationsTest.java ! test/jdk/java/util/Collection/MOAT.java Changeset: 1a9a9288 Branch: premain Author: Alexey Semenyuk Date: 2025-04-30 01:14:51 +0000 URL: https://git.openjdk.org/leyden/commit/1a9a9288a6c1a58e1678cf0abae75bcf84e1f6af 8355651: Issues with post-image hook Reviewed-by: almatvee ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxRpmBundler.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties ! test/jdk/tools/jpackage/helpers-test/jdk/jpackage/test/TKitTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/Comm.java + test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageUserScript.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/share/BasicTest.java + test/jdk/tools/jpackage/share/PostImageScriptTest.java ! test/jdk/tools/jpackage/windows/WinScriptTest.java Changeset: 375ac6d4 Branch: premain Author: Anjian-Wen Committer: Fei Yang Date: 2025-04-30 01:58:41 +0000 URL: https://git.openjdk.org/leyden/commit/375ac6d446332f0763ce294b200143ff63865cf6 8355796: RISC-V: compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java fails after JDK-8355657 Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 7d9a4383 Branch: premain Author: Volkan Yazici Committer: Jaikiran Pai Date: 2025-04-30 08:15:21 +0000 URL: https://git.openjdk.org/leyden/commit/7d9a43839ad190a53efdbcc7afd1728760c14e21 8355370: Include server name in HTTP test server thread names to improve diagnostics Reviewed-by: dfuchs, jpai ! test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/common/HttpServerAdapters.java ! test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/http2/Http2TestServer.java Changeset: d802fd0d Branch: premain Author: Marc Chevalier Committer: Emanuel Peter Date: 2025-04-30 08:45:54 +0000 URL: https://git.openjdk.org/leyden/commit/d802fd0da234275c79b67f74f2cfb15fbe18d7b9 8352422: [ubsan] Out-of-range reported in ciMethod.cpp:917:20: runtime error: 2.68435e+09 is outside the range of representable values of type 'int' Reviewed-by: epeter, dlong ! src/hotspot/share/ci/ciMethod.cpp Changeset: 765cef45 Branch: premain Author: Gui Cao Committer: Fei Yang Date: 2025-04-30 09:04:54 +0000 URL: https://git.openjdk.org/leyden/commit/765cef45465806e53f11fa7d92b9c184899b0932 8355878: RISC-V: jdk/incubator/vector/DoubleMaxVectorTests.java fails when using RVV Reviewed-by: fyang, dzhang ! src/hotspot/cpu/riscv/riscv.ad Changeset: 526951db Branch: premain Author: Tongbao Zhang Committer: Albert Mingkun Yang Date: 2025-04-30 09:57:23 +0000 URL: https://git.openjdk.org/leyden/commit/526951dba731f0e733e22a3bff7ac7a18ce9dece 8354145: G1: UseCompressedOops boundary is calculated on maximum heap region size instead of maxiumum ergonomic heap region size Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1Arguments.cpp ! src/hotspot/share/gc/g1/g1HeapRegion.cpp ! src/hotspot/share/gc/g1/g1HeapRegion.hpp + test/hotspot/jtreg/gc/arguments/TestG1CompressedOops.java Changeset: 0110acaa Branch: premain Author: Andrey Turbanov Date: 2025-04-30 11:29:06 +0000 URL: https://git.openjdk.org/leyden/commit/0110acaa9086e5adb49be4fff06d66f96b821119 8354791: Use Hashtable.putIfAbsent in CSS constructor Reviewed-by: serb, aivanov ! src/java.desktop/share/classes/javax/swing/text/html/CSS.java Changeset: 482538b1 Branch: premain Author: Rajat Mahajan Committer: Alexey Ivanov Date: 2025-04-30 12:23:24 +0000 URL: https://git.openjdk.org/leyden/commit/482538b100856afe2252395d47e576e6c6d885ce 8351884: Refactor bug8033699.java test code Reviewed-by: aivanov, honkar, dmarkov ! test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java Changeset: 4c695fa8 Branch: premain Author: Roger Riggs Date: 2025-04-30 13:50:57 +0000 URL: https://git.openjdk.org/leyden/commit/4c695fa8a459adcdb8cdfe9e90783007c65fb90e 8351000: StringBuilder getChar and putChar robustness Reviewed-by: liach, lancea, rgiulietti, pminborg ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java + test/jdk/java/lang/StringBuilder/RacingSBThreads.java Changeset: fbc4691b Branch: premain Author: Per Minborg Date: 2025-04-30 16:03:25 +0000 URL: https://git.openjdk.org/leyden/commit/fbc4691bfa11f31601fd89d05da63e689343e214 8351565: Implement JEP 502: Stable Values (Preview) Co-authored-by: Maurizio Cimadamore Reviewed-by: vklang, jvernee, alanb, liach + src/java.base/share/classes/java/lang/StableValue.java ! src/java.base/share/classes/java/util/Collection.java ! src/java.base/share/classes/java/util/ImmutableCollections.java ! src/java.base/share/classes/jdk/internal/access/JavaUtilCollectionAccess.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java + src/java.base/share/classes/jdk/internal/lang/stable/StableEnumFunction.java + src/java.base/share/classes/jdk/internal/lang/stable/StableFunction.java + src/java.base/share/classes/jdk/internal/lang/stable/StableIntFunction.java + src/java.base/share/classes/jdk/internal/lang/stable/StableSupplier.java + src/java.base/share/classes/jdk/internal/lang/stable/StableUtil.java + src/java.base/share/classes/jdk/internal/lang/stable/StableValueImpl.java + test/jdk/java/lang/StableValue/StableFunctionTest.java + test/jdk/java/lang/StableValue/StableIntFunctionTest.java + test/jdk/java/lang/StableValue/StableListTest.java + test/jdk/java/lang/StableValue/StableMapTest.java + test/jdk/java/lang/StableValue/StableSupplierTest.java + test/jdk/java/lang/StableValue/StableTestUtil.java + test/jdk/java/lang/StableValue/StableValueFactoriesTest.java + test/jdk/java/lang/StableValue/StableValueTest.java + test/jdk/java/lang/StableValue/StableValuesSafePublicationTest.java + test/jdk/java/lang/StableValue/TrustedFieldTypeTest.java ! test/jdk/java/util/Collection/MOAT.java + test/micro/org/openjdk/bench/java/lang/stable/StableFunctionBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableFunctionSingleBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableIntFunctionBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableIntFunctionSingleBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableMethodHandleBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableSupplierBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/StableValueBenchmark.java + test/micro/org/openjdk/bench/java/lang/stable/VarHandleHolderBenchmark.java Changeset: 66122811 Branch: premain Author: Gautham Krishnan <140151984+gauthamkrishnanibm at users.noreply.github.com> Committer: Naoto Sato Date: 2025-04-30 16:06:22 +0000 URL: https://git.openjdk.org/leyden/commit/66122811aae02caaa0545a7b6dd1fdb06b186f00 8342886: Update MET timezone in TimeZoneNames files Reviewed-by: naoto ! src/java.base/share/classes/sun/util/resources/TimeZoneNames.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_de.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_es.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_fr.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_it.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ja.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ko.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_pt_BR.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_sv.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_CN.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_TW.java ! test/jdk/sun/util/resources/TimeZone/Bug4848242.java Changeset: 486acc06 Branch: premain Author: Chris Plummer Date: 2025-04-30 17:09:53 +0000 URL: https://git.openjdk.org/leyden/commit/486acc06e0325d247a96df8f7fc88c9111c3315d 8355453: nsk.share.jdi.Debugee.waitingEvent() does not timeout properly Reviewed-by: lmesnik, amenkov, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: 50145bb7 Branch: premain Author: Chris Plummer Date: 2025-04-30 17:15:52 +0000 URL: https://git.openjdk.org/leyden/commit/50145bb74ad87f5b3f80ed910f6ebb95e406b802 8355773: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/addCountFilter/addcountfilter001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/disable/disable001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/disable/disable002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/enable/enable001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/enable/enable002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/getProperty/getproperty001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/isEnabled/isenabled001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/putProperty/putproperty001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/setEnabled/setenabled001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/setEnabled/setenabled002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/setSuspendPolicy/setsuspendpolicy001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/suspendPolicy/suspendpolicy001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_rt/filter_rt002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_s/filter_s002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/depth/depth001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/depth/depth002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/depth/depth003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/size/size001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/size/size002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/thread/thread001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes005.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: 18983b63 Branch: premain Author: Volkan Yazici Committer: Naoto Sato Date: 2025-04-30 17:52:55 +0000 URL: https://git.openjdk.org/leyden/commit/18983b635fe3469c1d9060611eee76e0155ba21b 8355391: Use Long::hashCode in java.time Reviewed-by: rriggs, pminborg, naoto ! src/java.base/share/classes/java/time/Clock.java ! src/java.base/share/classes/java/time/Duration.java ! src/java.base/share/classes/java/time/Instant.java ! src/java.base/share/classes/java/time/LocalDate.java ! src/java.base/share/classes/java/time/chrono/ChronoLocalDateImpl.java Changeset: 9a2a2c5b Branch: premain Author: Gerard Ziemski Date: 2025-04-30 17:57:00 +0000 URL: https://git.openjdk.org/leyden/commit/9a2a2c5bb17d052574f7e6cd712672151e1b193f 8354547: REDO: Force clients to explicitly pass mem_tag value, even if it is mtNone Co-authored-by: Stefan Karlsson Reviewed-by: stefank, coleenp, jsjolen ! src/hotspot/cpu/aarch64/compressedKlass_aarch64.cpp ! src/hotspot/os/bsd/gc/z/zPhysicalMemoryBacking_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/perfMemory_posix.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os/windows/perfMemory_windows.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/compactHashtable.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/parallel/parMarkBitMap.cpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/shared/cardTable.cpp ! src/hotspot/share/gc/shenandoah/shenandoahCardTable.cpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/jfr/recorder/storage/jfrVirtualMemory.cpp ! src/hotspot/share/memory/allocation.inline.hpp ! src/hotspot/share/memory/memoryReserver.cpp ! src/hotspot/share/memory/memoryReserver.hpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/metaspace/testHelpers.cpp ! src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp ! src/hotspot/share/nmt/memReporter.cpp ! src/hotspot/share/nmt/memReporter.hpp ! src/hotspot/share/nmt/memTracker.hpp ! src/hotspot/share/nmt/virtualMemoryTracker.hpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/safepointMechanism.cpp ! src/hotspot/share/utilities/debug.cpp ! test/hotspot/gtest/gc/g1/test_stressCommitUncommit.cpp ! test/hotspot/gtest/gc/z/test_zForwarding.cpp ! test/hotspot/gtest/gc/z/test_zVirtualMemoryManager.cpp ! test/hotspot/gtest/memory/test_virtualspace.cpp ! test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp ! test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp ! test/hotspot/gtest/runtime/test_os.cpp ! test/hotspot/gtest/runtime/test_os_aix.cpp ! test/hotspot/gtest/runtime/test_os_linux.cpp ! test/hotspot/gtest/runtime/test_os_reserve_between.cpp ! test/hotspot/jtreg/runtime/NMT/MallocRoundingReportTest.java ! test/hotspot/jtreg/runtime/NMT/MallocTestType.java ! test/hotspot/jtreg/runtime/NMT/MallocTrackingVerify.java ! test/hotspot/jtreg/runtime/NMT/ThreadedMallocTestType.java Changeset: 1ff7e813 Branch: premain Author: Mat Carter Committer: Ioi Lam Date: 2025-04-30 18:05:59 +0000 URL: https://git.openjdk.org/leyden/commit/1ff7e813e39d16376baccdbd9e7075035248319d 8354897: Support Soft/Weak Reference in AOT cache Co-authored-by: Ioi Lam Reviewed-by: liach, eosterlund ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp + src/hotspot/share/cds/aotReferenceObjSupport.cpp + src/hotspot/share/cds/aotReferenceObjSupport.hpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/java.base/share/classes/java/lang/invoke/LambdaFormEditor.java ! src/java.base/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/java.base/share/classes/java/lang/invoke/MethodType.java ! src/java.base/share/classes/java/lang/invoke/MethodTypeForm.java ! src/java.base/share/classes/java/lang/ref/Reference.java ! src/java.base/share/classes/java/lang/ref/ReferenceQueue.java ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! src/java.base/share/classes/jdk/internal/util/ReferencedKeyMap.java ! src/java.base/share/classes/jdk/internal/util/ReferencedKeySet.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/TestSetupAOTTest.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/WeakReferenceTest.java ! test/setup_aot/TestSetupAOT.java Changeset: 1313349a Branch: premain Author: Rajan Halade Date: 2025-04-30 18:14:10 +0000 URL: https://git.openjdk.org/leyden/commit/1313349a2efd42ab84a543dfee11e3547f6ef4a3 8350498: Remove two Camerfirma root CA certificates Reviewed-by: mullan ! src/java.base/share/classes/sun/security/validator/CamerfirmaTLSPolicy.java - src/java.base/share/data/cacerts/camerfirmachamberscommerceca - src/java.base/share/data/cacerts/camerfirmachambersignca ! test/jdk/sun/security/lib/cacerts/VerifyCACerts.java ! test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java - test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/chains/camerfirma/camerfirmachamberscommerceca-chain.pem - test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/chains/camerfirma/camerfirmachambersignca-chain.pem Changeset: bccf057f Branch: premain Author: Chen Liang Date: 2025-04-30 19:26:27 +0000 URL: https://git.openjdk.org/leyden/commit/bccf057fa4a0208bda55d2972d0161044f050ea5 8355971: Build warnings after the changes for JDK-8354996 Reviewed-by: shade, erikj ! make/GenerateLinkOptData.gmk Changeset: 4cc19ba5 Branch: premain Author: Zhengyu Gu Date: 2025-04-30 20:24:54 +0000 URL: https://git.openjdk.org/leyden/commit/4cc19ba5e36829e23ebdfc0a9f4a7bc2117387f6 8355650: Remove unused fields in ParkEvent Reviewed-by: coleenp ! src/hotspot/share/runtime/park.hpp Changeset: 24bc714d Branch: premain Author: Chen Liang Date: 2025-04-30 21:55:57 +0000 URL: https://git.openjdk.org/leyden/commit/24bc714d5e8437c191a6e88871756acdf4b1a36f 8355956: Prepare javap for class file format aware access flag parsing Reviewed-by: vromero ! src/jdk.jdeps/share/classes/com/sun/tools/javap/AttributeWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/BasicWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/ClassWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/CodeWriter.java ! test/langtools/tools/javap/UndefinedAccessFlagTest.java Changeset: e36756b2 Branch: premain Author: Chen Liang Date: 2025-04-30 21:56:13 +0000 URL: https://git.openjdk.org/leyden/commit/e36756b264000fe2deb95ec8f68d1571fd7653f9 8297727: Forcing LF interpretation lead to StackOverflowError in reflection code Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java + test/jdk/java/lang/invoke/LFInterpret/ReflectionInInterpretTest.java Changeset: e2ae50d8 Branch: premain Author: Chris Plummer Date: 2025-04-30 22:53:31 +0000 URL: https://git.openjdk.org/leyden/commit/e2ae50d877b13b121912e2496af4b5209b315a05 8355569: Some nsk/jdi tests can glean the "main" thread by using the ClassPrepareEvent for the debuggee main class Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Accessible/isPackagePrivate/accipp001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequest/hashCode/hashcode001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/_bounds_/requests001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Method/isObsolete/isobsolete003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodEntryEvent/method/method002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodExitEvent/method/method001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodExitEvent/method/method002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/entryCount/entrycount002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/owningThread/owningthread002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/_bounds_/bounds002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/_bounds_/filters001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/_bounds_/bounds001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses008.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses010.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses011.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses012.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses013.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses015.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses016.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses020.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses021.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses022.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses024.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses025.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses026.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses027.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses028.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses030.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses032.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: 8ef7e256 Branch: premain Author: Aleksey Shipilev Date: 2025-05-01 07:29:56 +0000 URL: https://git.openjdk.org/leyden/commit/8ef7e256a09115b475601b621c9b6842185289d0 8355769: Optimize nmethod dependency recording Reviewed-by: adinn, vlivanov, kvn ! src/hotspot/share/code/dependencyContext.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/prims/methodHandles.cpp Changeset: b2184105 Branch: premain Author: Gustavo Simon Committer: Aleksey Shipilev Date: 2025-05-01 07:32:10 +0000 URL: https://git.openjdk.org/leyden/commit/b2184105088a21d0c55fd3105e3433d4eac767da 8354292: Remove unused PRAGMA_FORMAT_IGNORED Reviewed-by: mbaesken, kbarrett, shade ! src/hotspot/share/utilities/compilerWarnings.hpp ! src/hotspot/share/utilities/compilerWarnings_gcc.hpp Changeset: 0a697f6f Branch: premain Author: Jan Lahoda Date: 2025-05-01 07:42:38 +0000 URL: https://git.openjdk.org/leyden/commit/0a697f6ff4c2f8254e95519e04708cf406009dc3 8344708: Implement JEP 511: Module Import Declarations Reviewed-by: mcimadamore, vromero, alanb ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/module/ModuleInfo.java ! src/jdk.compiler/share/classes/com/sun/source/tree/ImportTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Startup.java ! src/jdk.jshell/share/classes/jdk/jshell/Snippet.java ! src/jdk.jshell/share/classes/jdk/jshell/SnippetMaps.java ! src/jdk.jshell/share/classes/jdk/jshell/tool/resources/DEFAULT.jsh = src/jdk.jshell/share/classes/jdk/jshell/tool/resources/DEFAULT_NO_MODULE_IMPORTS.jsh ! test/jdk/java/lang/module/ClassFileVersionsTest.java ! test/jdk/java/lang/module/ModuleDescriptorTest.java ! test/langtools/jdk/jshell/ReplToolTesting.java ! test/langtools/jdk/jshell/StartOptionTest.java ! test/langtools/jdk/jshell/ToolCommandOptionTest.java ! test/langtools/jdk/jshell/ToolEnablePreviewTest.java ! test/langtools/jdk/jshell/ToolLocalSimpleTest.java ! test/langtools/jdk/jshell/ToolProviderTest.java ! test/langtools/jdk/jshell/ToolSimpleTest.java ! test/langtools/tools/javac/ImportModule.java ! test/langtools/tools/javac/diags/examples/ImportModule.java ! test/langtools/tools/javac/diags/examples/ImportModuleDoesNotRead/module-info.java ! test/langtools/tools/javac/diags/examples/ImportModuleDoesNotReadUnnamed.java ! test/langtools/tools/javac/diags/examples/ImportModuleNotFound.java ! test/langtools/tools/javac/diags/examples/ModifierNotAllowed/module-info.java ! test/langtools/tools/javac/modules/AnnotationsOnModules.java ! test/langtools/tools/javac/modules/ConvenientAccessErrorsTest.java ! test/langtools/tools/javac/modules/EdgeCases.java ! test/langtools/tools/javac/modules/JavaBaseTest.java ! test/langtools/tools/jdeps/listdeps/ListModuleDeps.java Changeset: 0cd0afb2 Branch: premain Author: Hamlin Li Date: 2025-05-01 08:15:24 +0000 URL: https://git.openjdk.org/leyden/commit/0cd0afb2b32abd77f6275cf34a499b5cb31f22b5 8355913: RISC-V: improve hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java Reviewed-by: fyang, rehn ! src/hotspot/cpu/riscv/riscv.ad ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java Changeset: 7b317623 Branch: premain Author: Matthew Donovan Date: 2025-05-01 11:04:33 +0000 URL: https://git.openjdk.org/leyden/commit/7b317623756d3e21d029bcded8a5e15de070a0c9 8354235: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine Reviewed-by: rhalade ! test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java Changeset: 34807df7 Branch: premain Author: Artur Barashev Committer: Sean Mullan Date: 2025-05-01 13:09:14 +0000 URL: https://git.openjdk.org/leyden/commit/34807df7627b067f750578987c941213a5f8336a 8355779: When no "signature_algorithms_cert" extension is present we do not apply certificate scope constraints to algorithms in "signature_algorithms" extension Reviewed-by: mullan ! src/java.base/share/classes/sun/security/ssl/SignatureAlgorithmsExtension.java Changeset: bee273d6 Branch: premain Author: Chen Liang Date: 2025-05-01 14:37:26 +0000 URL: https://git.openjdk.org/leyden/commit/bee273d6b4e34692952d4e7474ab72ee5c54e33a 8297271: AccessFlag.maskToAccessFlags should be specific to class file version Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java ! src/java.base/share/classes/java/lang/reflect/Executable.java ! src/java.base/share/classes/java/lang/reflect/Field.java ! src/java.base/share/classes/java/lang/reflect/Parameter.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java ! src/jdk.jdeps/share/classes/com/sun/tools/javap/BasicWriter.java ! test/jdk/java/lang/reflect/AccessFlag/BasicAccessFlagTest.java Changeset: 2ad639f1 Branch: premain Author: Shaojin Wen Date: 2025-05-01 15:47:01 +0000 URL: https://git.openjdk.org/leyden/commit/2ad639f1b33fcd8e218e8ad549caf32024a36cb2 8356021: Use Double::hashCode in java.util.Locale::hashCode Reviewed-by: rriggs, liach ! src/java.base/share/classes/java/util/Locale.java Changeset: 09cae5fd Branch: premain Author: Kevin Walls Date: 2025-05-01 16:05:59 +0000 URL: https://git.openjdk.org/leyden/commit/09cae5fd8f228a8826e4de7aa43fe5365549c00c 8354407: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java still fails on Windows Reviewed-by: cjplummer, lmesnik ! test/jdk/com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java - test/jdk/com/sun/management/OperatingSystemMXBean/TEST.properties Changeset: 6b553acb Branch: premain Author: Mikhail Yankelevich Committer: Rajan Halade Date: 2025-05-01 16:16:25 +0000 URL: https://git.openjdk.org/leyden/commit/6b553acbaace0a61203305f36f70bb74d14a234f 8277424: javax/net/ssl/TLSCommon/TLSTest.java fails with connection refused Reviewed-by: rhalade ! test/jdk/javax/net/ssl/TLSCommon/TLSTest.java Changeset: cf0db963 Branch: premain Author: Joe Wang Date: 2025-05-01 17:03:29 +0000 URL: https://git.openjdk.org/leyden/commit/cf0db96314863376254bacbff4eefd13e3527707 8354084: Streamline XPath API's extension function control Reviewed-by: rriggs, naoto ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/functions/FuncExtFunction.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathImplUtil.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java ! src/java.xml/share/classes/module-info.java - test/jaxp/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.java - test/jaxp/javax/xml/jaxp/unittest/xpath/SecureProcessingTest.xml + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathFunctionTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathFunctionTest.xml Changeset: 394961c8 Branch: premain Author: Koushik Thirupattur Committer: Sean Mullan Date: 2025-05-01 17:26:32 +0000 URL: https://git.openjdk.org/leyden/commit/394961c8fe87da7376cc7522580cd4ac104c3cf5 8328914: Document the java.security.debug property in javadoc Reviewed-by: mullan + src/java.base/share/classes/java/security/doc-files/debug-system-property.html ! src/java.base/share/classes/java/security/package-info.java Changeset: 9e26b9fa Branch: premain Author: William Kemper Date: 2025-05-01 17:40:57 +0000 URL: https://git.openjdk.org/leyden/commit/9e26b9facba09c4d6f516e8032b876c6d9e95e9e 8355372: GenShen: Test gc/shenandoah/generational/TestOldGrowthTriggers.java fails with UseCompactObjectHeaders enabled Reviewed-by: ysr, kdnilsen ! test/hotspot/jtreg/gc/shenandoah/generational/TestOldGrowthTriggers.java Changeset: c116b18b Branch: premain Author: Sergey Kuksenko Date: 2025-05-01 18:45:20 +0000 URL: https://git.openjdk.org/leyden/commit/c116b18b89950362d899448a36a4693f733067b1 8355559: Benchmark modification/extension shouldn't affect the behavior of other benchmarks Reviewed-by: ecaspole ! test/micro/org/openjdk/bench/javax/crypto/full/AESBench.java + test/micro/org/openjdk/bench/javax/crypto/full/AESExtraBench.java Changeset: 70995a69 Branch: premain Author: Ioi Lam Date: 2025-05-07 20:25:38 +0000 URL: https://git.openjdk.org/leyden/commit/70995a698ed0070f0761b891c9424f252b322bdf Merge branch 'master' into premain ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/s390/sharedRuntime_s390.cpp ! src/hotspot/cpu/x86/nativeInst_x86.hpp ! src/hotspot/cpu/x86/runtime_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/code/debugInfoRec.cpp ! src/hotspot/share/code/dependencyContext.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/code/oopRecorder.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/graphKit.hpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/parse1.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/type.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/methodHandles.cpp ! src/hotspot/share/prims/perf.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/interfaceSupport.inline.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/classes/java/lang/ClassLoader.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/s390/sharedRuntime_s390.cpp ! src/hotspot/cpu/x86/nativeInst_x86.hpp ! src/hotspot/cpu/x86/runtime_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/code/debugInfoRec.cpp ! src/hotspot/share/code/dependencyContext.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/code/oopRecorder.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/graphKit.hpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/parse1.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/type.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/methodHandles.cpp ! src/hotspot/share/prims/perf.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/interfaceSupport.inline.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/classes/java/lang/ClassLoader.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups From dhanalla at microsoft.com Thu May 8 16:48:38 2025 From: dhanalla at microsoft.com (Dhamoder Nalla) Date: Thu, 8 May 2025 16:48:38 +0000 Subject: view contents of Leyden archive dump Message-ID: Hi Leyden community, We are looking for a way to view/inspect the contents of the AOT cache. The JVM option -XX:+PrintSharedArchiveAndExit appears to list some of the contents, but it seems to miss certain information such as lambda proxies and arrays. Could you please suggest any other existing options to view the contents of the Leyden archive dump, or advise whether we can enhance PrintSharedArchiveAndExit to include all archive contents? Java cmd: java -XX:+PrintSharedArchiveAndExit -XX:AOTCache=JavacBenchApp.aot Thanks, Dhamoder. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kvn at openjdk.org Thu May 8 17:35:22 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Thu, 8 May 2025 17:35:22 GMT Subject: RFR: Prototype AOTMXBean [v5] In-Reply-To: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> References: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> Message-ID: On Tue, 6 May 2025 23:37:10 GMT, Mat Carter wrote: >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Renamed AOT* to AOTCache* Please also update JBS and PR's Subject to new name. ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2863787008 From macarte at openjdk.org Thu May 8 18:50:05 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 8 May 2025 18:50:05 GMT Subject: RFR: 8356572: [premain] Add management MXBean for AOT [v5] In-Reply-To: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> References: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> Message-ID: On Tue, 6 May 2025 23:37:10 GMT, Mat Carter wrote: >> Adding AOTCacheMXBean as per JBS issue >> >> >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Renamed AOT* to AOTCache* Linked to new issue: https://bugs.openjdk.org/browse/JDK-8356572 ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2863975014 From macarte at openjdk.org Thu May 8 19:07:27 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 8 May 2025 19:07:27 GMT Subject: RFR: 8356572: [premain] Add management MXBean for AOT [v5] In-Reply-To: References: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> Message-ID: On Thu, 8 May 2025 17:32:17 GMT, Vladimir Kozlov wrote: > Please also update JBS and PR's Subject to new name. I hadn't created an issue, but I've added one now and updated the PR title to reflect that ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2864016579 From kvn at openjdk.org Thu May 8 19:40:23 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Thu, 8 May 2025 19:40:23 GMT Subject: RFR: 8356572: [premain] Add management MXBean for AOT [v5] In-Reply-To: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> References: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> Message-ID: On Tue, 6 May 2025 23:37:10 GMT, Mat Carter wrote: >> Adding AOTCacheMXBean as per JBS issue >> >> >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Renamed AOT* to AOTCache* Good. ------------- Marked as reviewed by kvn (Committer). PR Review: https://git.openjdk.org/leyden/pull/52#pullrequestreview-2826188581 From duke at openjdk.org Thu May 8 19:57:14 2025 From: duke at openjdk.org (duke) Date: Thu, 8 May 2025 19:57:14 GMT Subject: RFR: 8356572: [premain] Add management MXBean for AOT [v5] In-Reply-To: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> References: <8ALNiZ2QSDMkX0zbwiWypWGJOQlO8lmu2Xn1Cf6ZCFY=.26a81404-ec17-4f55-b240-0a9903e715b2@github.com> Message-ID: On Tue, 6 May 2025 23:37:10 GMT, Mat Carter wrote: >> Adding AOTCacheMXBean as per JBS issue >> >> >> /** >> * Returns the string representing the current AOT mode of >> * operation. >> * >> * @return the string representing the current AOT mode. >> */ >> public String getMode(); >> >> /** >> * Tests if a recording is in progress. >> * >> * @return {@code true} if a recording is in progress; {@code false} otherwise. >> */ >> public boolean isRecording(); >> >> /** >> * If a recording is in progress or has been completed, then returns the duration in milliseconds >> * >> * @return duration of the recording in milliseconds. >> */ >> public long getRecordingDuration(); >> >> /** >> * If a recording is in progress, then stops the recording. >> * >> * @return {@code true} if a recording was stopped; {@code false} otherwise. >> */ >> public boolean endRecording(); > > Mat Carter has updated the pull request incrementally with one additional commit since the last revision: > > Renamed AOT* to AOTCache* @macarte Your change (at version 0419c7650e8cfcf500d4de30bcba6cc54f0f54f2) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2864121301 From kvn at openjdk.org Thu May 8 20:03:38 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Thu, 8 May 2025 20:03:38 GMT Subject: git: openjdk/leyden: premain: 8356572: [premain] Add management MXBean for AOT Message-ID: Changeset: fb6d97f2 Branch: premain Author: Mat Carter Committer: Vladimir Kozlov Date: 2025-05-08 20:02:51 +0000 URL: https://git.openjdk.org/leyden/commit/fb6d97f21476bb06f6dacc4d3506105fee4c8d48 8356572: [premain] Add management MXBean for AOT Reviewed-by: kvn ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/include/jvm.h ! src/hotspot/share/prims/jvm.cpp ! src/java.management/share/classes/sun/management/VMManagement.java ! src/java.management/share/classes/sun/management/VMManagementImpl.java ! src/java.management/share/native/libmanagement/VMManagementImpl.c + src/jdk.management/share/classes/com/sun/management/internal/AOTCacheImpl.java ! src/jdk.management/share/classes/com/sun/management/internal/PlatformMBeanProviderImpl.java + src/jdk.management/share/classes/jdk/management/AOTCacheMXBean.java + test/hotspot/jtreg/runtime/cds/appcds/leyden/EndTrainingWithAOTCacheMXBean.java From macarte at openjdk.org Thu May 8 20:06:12 2025 From: macarte at openjdk.org (Mat Carter) Date: Thu, 8 May 2025 20:06:12 GMT Subject: Integrated: 8356572: [premain] Add management MXBean for AOT In-Reply-To: References: Message-ID: On Wed, 2 Apr 2025 23:17:30 GMT, Mat Carter wrote: > Adding AOTCacheMXBean as per JBS issue > > > /** > * Returns the string representing the current AOT mode of > * operation. > * > * @return the string representing the current AOT mode. > */ > public String getMode(); > > /** > * Tests if a recording is in progress. > * > * @return {@code true} if a recording is in progress; {@code false} otherwise. > */ > public boolean isRecording(); > > /** > * If a recording is in progress or has been completed, then returns the duration in milliseconds > * > * @return duration of the recording in milliseconds. > */ > public long getRecordingDuration(); > > /** > * If a recording is in progress, then stops the recording. > * > * @return {@code true} if a recording was stopped; {@code false} otherwise. > */ > public boolean endRecording(); This pull request has now been integrated. Changeset: fb6d97f2 Author: Mat Carter Committer: Vladimir Kozlov URL: https://git.openjdk.org/leyden/commit/fb6d97f21476bb06f6dacc4d3506105fee4c8d48 Stats: 455 lines in 11 files changed: 453 ins; 0 del; 2 mod 8356572: [premain] Add management MXBean for AOT Reviewed-by: kvn ------------- PR: https://git.openjdk.org/leyden/pull/52 From ioi.lam at oracle.com Fri May 9 02:57:56 2025 From: ioi.lam at oracle.com (ioi.lam at oracle.com) Date: Thu, 8 May 2025 19:57:56 -0700 Subject: JEP 483: Ahead-of-Time Class Loading & Linking failing on a simple Gradle Spring Boot project In-Reply-To: References: Message-ID: <194c805d-01e5-4617-8cb7-c41b5f81e29e@oracle.com> It looks like your classpath have some directories: [4,648s][error ?][cds ? ? ? ?] Error: non-empty directory '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' [4,648s][error ?][cds ? ? ? ?] Error: non-empty directory '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' [4,648s][error ?][cds ? ? ? ?] Error: non-empty directory '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' Please try to package these directories into a JAR file and use that in your classpath. Thanks - Ioi On 5/7/25 12:57 PM, Daniel Andres Pelaez Lopez wrote: > Hi everyone, > > We are testing?JEP 483 on JDK 24 using the following dummy Gradle > Spring Boot project: > https://github.com/estigma88/java-aot/tree/master. As we want to > generate the AOT cache from the tests, we added a custom Test task to > receive the AOT flags for the JVM as follows: > > tasks.withType { > ? ?useJUnitPlatform() > > ? ?project.findProperty("aot")?.let { > ? ? ? val aotFlags = it.toString().split(",") > ? ? ? jvmArgs(aotFlags) > ? ? } > } > > And we are using the following commands to generate the AOT cache: > > ./gradlew :test > -Paot="-XX:AOTMode=record,-XX:AOTConfiguration=app.aotconf" -> This > one succeed > > ./gradlew :test > -Paot="-XX:AOTMode=create,-XX:AOTConfiguration=app.aotconf,-XX:AOTCache=app.aot" > -> This one fails > > The following are the logs for the create command: > > [1,328s][warning][cds] Preload Warning: Verification failed for > org.springframework.http.client.ReactorResourceFactory > [1,579s][warning][cds] Preload Warning: Verification failed for > org.springframework.test.context.transaction.TransactionalTestExecutionListener > [1,581s][warning][cds] Preload Warning: Verification failed for > org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener > [1,668s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.logging.log4j2.Log4J2LoggingSystem > [2,412s][warning][cds] Preload Warning: Verification failed for > org.springframework.http.codec.multipart.DefaultPartHttpMessageReader > [2,575s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration > [2,577s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration > [2,799s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer > [3,029s][warning][cds] Preload Warning: Verification failed for > org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter > [3,109s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.http.client.JettyClientHttpRequestFactoryBuilder > [3,110s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.http.client.HttpComponentsClientHttpRequestFactoryBuilder > [3,180s][warning][cds] java.lang.ClassNotFoundException: > org.mockito.internal.creation.bytebuddy.inject.MockMethodDispatcher > [3,180s][warning][cds] Preload Warning: Cannot find > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher > [3,196s][warning][cds] Preload Warning: Verification failed for > org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator > [3,197s][warning][cds] java.lang.NoClassDefFoundError: > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher > [3,197s][warning][cds] Preload Warning: Cannot find > org/mockito/internal/creation/bytebuddy/MockMethodAdvice > [3,307s][warning][cds] java.lang.ClassNotFoundException: > net.bytebuddy.utility.Invoker$Dispatcher > [3,307s][warning][cds] Preload Warning: Cannot find > net/bytebuddy/utility/Invoker$Dispatcher > [3,906s][warning][cds,resolve] : > An error has occurred while processing class list file app.aotconf 9635:5. > [3,906s][warning][cds,resolve] @cp > org/mockito/internal/creation/bytebuddy/MockMethodAdvice 1 2 7 9 10 11 > 17 22 26 28 29 33 36 40 44 48 258 > class org/mockito/internal/creation/bytebuddy/MockMethodAdvice is not > (yet) loaded by one of the built-in > loaders[3,906s][warning][cds,resolve] ? ? ^ > [3,906s][warning][cds,resolve] Your classlist may be out of sync with > the JDK or the application. > An error has occurred while processing class list file app.aotconf > 11862:5. > [4,467s][warning][cds,resolve] : > class > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher is > not (yet) loaded by one of the built-in > loaders[4,467s][warning][cds,resolve] @cp > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher 1 > 2 8 14 20 25 27 38 59 > [4,467s][warning][cds,resolve] ? ? ^ > [4,467s][warning][cds,resolve] Your classlist may be out of sync with > the JDK or the application. > [4,608s][warning][cds ? ? ? ?] Preload Warning: Verification failed > for org.springframework.web.servlet.view.freemarker.FreeMarkerView > [4,648s][error ?][cds ? ? ? ?] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' > [4,648s][error ?][cds ? ? ? ?] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' > [4,648s][error ?][cds ? ? ? ?] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' > Hint: enable -Xlog:class+path=info to diagnose the failure > Error occurred during CDS dumping > Cannot have non-empty directory in paths > > Error logs seem related to the AOT feature and not Gradle, but you > will know better. > > Any help would be appreciated. > > -- > Daniel > e. estigma88 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From estigma88 at gmail.com Fri May 9 14:13:24 2025 From: estigma88 at gmail.com (Daniel Andres Pelaez Lopez) Date: Fri, 9 May 2025 09:13:24 -0500 Subject: JEP 483: Ahead-of-Time Class Loading & Linking failing on a simple Gradle Spring Boot project In-Reply-To: <194c805d-01e5-4617-8cb7-c41b5f81e29e@oracle.com> References: <194c805d-01e5-4617-8cb7-c41b5f81e29e@oracle.com> Message-ID: Hi loi, Thanks for the input. Yes, I am aware that packaging the app as a JAR will work, I have tested that before for production code, however, that doesn't fit the use case I am looking for: Using the app tests to generate the AOT cache. If we require to package a JAR that executes the tests, that seems like overkill. My thinking is that the Java community is most likely using CI/CD to run tests and using Maven/Gradle for that purpose, so, having support for creating the AOT cache from tests and from those tools, will allow to the community to adopt this features faster. El jue, 8 may 2025 a las 21:58, escribi?: > It looks like your classpath have some directories: > > > [4,648s][error ][cds ] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' > [4,648s][error ][cds ] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' > [4,648s][error ][cds ] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' > > > Please try to package these directories into a JAR file and use that in > your classpath. > > > Thanks > > - Ioi > On 5/7/25 12:57 PM, Daniel Andres Pelaez Lopez wrote: > > Hi everyone, > > We are testing JEP 483 on JDK 24 using the following dummy Gradle Spring > Boot project: https://github.com/estigma88/java-aot/tree/master. As we > want to generate the AOT cache from the tests, we added a custom Test task > to receive the AOT flags for the JVM as follows: > > tasks.withType { > useJUnitPlatform() > > project.findProperty("aot")?.let { > val aotFlags = it.toString().split(",") > jvmArgs(aotFlags) > } > } > > And we are using the following commands to generate the AOT cache: > > ./gradlew :test > -Paot="-XX:AOTMode=record,-XX:AOTConfiguration=app.aotconf" -> This one > succeed > > ./gradlew :test > -Paot="-XX:AOTMode=create,-XX:AOTConfiguration=app.aotconf,-XX:AOTCache=app.aot" > -> This one fails > > The following are the logs for the create command: > > [1,328s][warning][cds] Preload Warning: Verification failed for > org.springframework.http.client.ReactorResourceFactory > [1,579s][warning][cds] Preload Warning: Verification failed for > org.springframework.test.context.transaction.TransactionalTestExecutionListener > [1,581s][warning][cds] Preload Warning: Verification failed for > org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener > [1,668s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.logging.log4j2.Log4J2LoggingSystem > [2,412s][warning][cds] Preload Warning: Verification failed for > org.springframework.http.codec.multipart.DefaultPartHttpMessageReader > [2,575s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration > [2,577s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration > [2,799s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer > [3,029s][warning][cds] Preload Warning: Verification failed for > org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter > [3,109s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.http.client.JettyClientHttpRequestFactoryBuilder > [3,110s][warning][cds] Preload Warning: Verification failed for > org.springframework.boot.http.client.HttpComponentsClientHttpRequestFactoryBuilder > [3,180s][warning][cds] java.lang.ClassNotFoundException: > org.mockito.internal.creation.bytebuddy.inject.MockMethodDispatcher > [3,180s][warning][cds] Preload Warning: Cannot find > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher > [3,196s][warning][cds] Preload Warning: Verification failed for > org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator > [3,197s][warning][cds] java.lang.NoClassDefFoundError: > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher > [3,197s][warning][cds] Preload Warning: Cannot find > org/mockito/internal/creation/bytebuddy/MockMethodAdvice > [3,307s][warning][cds] java.lang.ClassNotFoundException: > net.bytebuddy.utility.Invoker$Dispatcher > [3,307s][warning][cds] Preload Warning: Cannot find > net/bytebuddy/utility/Invoker$Dispatcher > [3,906s][warning][cds,resolve] : > An error has occurred while processing class list file app.aotconf 9635:5. > [3,906s][warning][cds,resolve] @cp > org/mockito/internal/creation/bytebuddy/MockMethodAdvice 1 2 7 9 10 11 17 > 22 26 28 29 33 36 40 44 48 258 > class org/mockito/internal/creation/bytebuddy/MockMethodAdvice is not > (yet) loaded by one of the built-in loaders[3,906s][warning][cds,resolve] > ^ > [3,906s][warning][cds,resolve] Your classlist may be out of sync with the > JDK or the application. > An error has occurred while processing class list file app.aotconf 11862:5. > [4,467s][warning][cds,resolve] : > class org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher > is not (yet) loaded by one of the built-in > loaders[4,467s][warning][cds,resolve] @cp > org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher 1 2 8 > 14 20 25 27 38 59 > [4,467s][warning][cds,resolve] ^ > [4,467s][warning][cds,resolve] Your classlist may be out of sync with the > JDK or the application. > [4,608s][warning][cds ] Preload Warning: Verification failed for > org.springframework.web.servlet.view.freemarker.FreeMarkerView > [4,648s][error ][cds ] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' > [4,648s][error ][cds ] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' > [4,648s][error ][cds ] Error: non-empty directory > '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' > Hint: enable -Xlog:class+path=info to diagnose the failure > Error occurred during CDS dumping > Cannot have non-empty directory in paths > > Error logs seem related to the AOT feature and not Gradle, but you will > know better. > > Any help would be appreciated. > > -- > Daniel > e. estigma88 at gmail.com > > -- Daniel e. estigma88 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Fri May 9 17:46:53 2025 From: duke at openjdk.org (duke) Date: Fri, 9 May 2025 17:46:53 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 108 new changesets Message-ID: <3838b5be-a3ea-457d-8334-5b252656dcc8@openjdk.org> Changeset: cc34135f Branch: hermetic-java-runtime Author: Tom Rodriguez Date: 2025-05-05 17:26:01 +0000 URL: https://git.openjdk.org/leyden/commit/cc34135fff7650ad44c910dca0fd47e9cbd56b68 8343158: [JVMCI] ZGC should deoptimize on old gen allocation Reviewed-by: aboldtch, eosterlund ! src/hotspot/share/gc/z/zBarrierSet.cpp Changeset: 65f188f2 Branch: hermetic-java-runtime Author: Roger Riggs Date: 2025-05-05 18:35:46 +0000 URL: https://git.openjdk.org/leyden/commit/65f188f29f1e9fe0f73d730a4c6029a7742c6d15 8354334: Remove @ValueBased from ProcessHandle Reviewed-by: liach ! src/java.base/share/classes/java/lang/ProcessHandle.java Changeset: 6bcbc3b0 Branch: hermetic-java-runtime Author: Oleksii Sylichenko Committer: Roger Riggs Date: 2025-05-05 18:56:48 +0000 URL: https://git.openjdk.org/leyden/commit/6bcbc3b0a21687504b07a0a405d824a448aea872 8353489: Increase timeout and improve Windows compatibility in test/jdk/java/lang/ProcessBuilder/Basic.java Reviewed-by: rriggs ! test/jdk/java/lang/ProcessBuilder/Basic.java Changeset: 620f8167 Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-05 19:36:26 +0000 URL: https://git.openjdk.org/leyden/commit/620f81671ae721c5e40291f396bbc7707d9d6bcc 8327495: Print more warning with -Xshare:auto when CDS fails to use archive Reviewed-by: iklam, matsaave ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/modules.cpp ! test/hotspot/jtreg/runtime/cds/appcds/SharedArchiveConsistency.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/WrongTopClasspath.java ! test/hotspot/jtreg/runtime/cds/appcds/jvmti/CFLH/ClassFileLoadHookTest.java Changeset: ca7e4c4e Branch: hermetic-java-runtime Author: Archie Cobbs Date: 2025-05-05 20:40:45 +0000 URL: https://git.openjdk.org/leyden/commit/ca7e4c4e055cf164b1b3707b7cf1ea72b1de77b9 8352612: No way to add back lint categories after "none" Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java ! src/jdk.compiler/share/man/javac.md ! test/langtools/tools/javac/lint/NoWarn.java ! test/langtools/tools/javac/lint/NoWarn1.out ! test/langtools/tools/javac/lint/NoWarn2.out + test/langtools/tools/javac/lint/NoWarn3.out + test/langtools/tools/javac/lint/NoWarn4.out ! test/langtools/tools/javac/varargs/Warn1.java ! test/langtools/tools/javac/varargs/Warn2.java Changeset: 2a4f37cc Branch: hermetic-java-runtime Author: Steffen Nie?ing Committer: Chen Liang Date: 2025-05-05 20:52:13 +0000 URL: https://git.openjdk.org/leyden/commit/2a4f37cc169e0e876b0b463261f84594af4e7569 8356119: Typo in bytecode behavior for Lookup.findGetter Reviewed-by: liach ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java Changeset: 606f2012 Branch: hermetic-java-runtime Author: Nizar Benalla Date: 2025-05-05 21:52:25 +0000 URL: https://git.openjdk.org/leyden/commit/606f2012b07855b90c4669356857060dcb65cae4 8174840: Elements.overrides does not check the return type of the methods Co-authored-by: Pavel Rappo Reviewed-by: liach, darcy ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java + test/langtools/tools/javac/processing/model/util/elements/overrides/S.java + test/langtools/tools/javac/processing/model/util/elements/overrides/TestOverrides.java Changeset: aea28371 Branch: hermetic-java-runtime Author: Boris Ulasevich Date: 2025-05-06 01:26:15 +0000 URL: https://git.openjdk.org/leyden/commit/aea2837143289800cfbb7044de4f105e87e233ff 8355896: Lossy narrowing cast of JVMCINMethodData::size Reviewed-by: kvn, dnsimon ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp Changeset: 7f6ea27d Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-06 01:34:50 +0000 URL: https://git.openjdk.org/leyden/commit/7f6ea27d3ef7a8f18f031467d302ed6b03d7d37a 8356020: Failed assert in virtualMemoryTracker.cpp Reviewed-by: iklam, gziemski ! src/hotspot/share/cds/archiveBuilder.cpp Changeset: 64b58f6a Branch: hermetic-java-runtime Author: Leonid Mesnik Date: 2025-05-06 01:59:33 +0000 URL: https://git.openjdk.org/leyden/commit/64b58f6a54c1197002527bdb6ba7b48283dc634e 8356089: java/lang/IO/IO.java fails with -XX:+AOTClassLinking Reviewed-by: epavlova, iklam ! test/hotspot/jtreg/ProblemList-AotJdk.txt ! test/jdk/ProblemList-AotJdk.txt Changeset: e09d2e27 Branch: hermetic-java-runtime Author: Manukumar V S Committer: Sergey Bylokhov Date: 2025-05-06 02:51:23 +0000 URL: https://git.openjdk.org/leyden/commit/e09d2e275bc646201a8da39bd4b977d3fda97954 8288471: java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently in CI Reviewed-by: abhiscxk, serb ! test/jdk/java/awt/ScrollPane/bug8077409Test.java Changeset: 9f8fbf29 Branch: hermetic-java-runtime Author: Emanuel Peter Date: 2025-05-06 06:26:09 +0000 URL: https://git.openjdk.org/leyden/commit/9f8fbf292278d995c9fa112d8f97b2375f619537 8352869: Verify.checkEQ: extension for NaN, VectorAPI and arbitrary Objects Reviewed-by: chagedorn, thartmann ! test/hotspot/jtreg/compiler/lib/verify/Verify.java + test/hotspot/jtreg/testlibrary_tests/verify/examples/TestWithVectorAPI.java ! test/hotspot/jtreg/testlibrary_tests/verify/tests/TestVerify.java Changeset: def907ab Branch: hermetic-java-runtime Author: Roberto Casta?eda Lozano Date: 2025-05-06 08:16:09 +0000 URL: https://git.openjdk.org/leyden/commit/def907ab89f3e5593aef17dcc61807e2836d41ae 8354520: IGV: dump contextual information Reviewed-by: epeter, dfenacci ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/idealGraphPrinter.hpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/node.hpp ! src/utils/IdealGraphVisualizer/README.md Changeset: 8c4f2ff2 Branch: hermetic-java-runtime Author: Harald Eilertsen Committer: Christian Hagedorn Date: 2025-05-06 08:28:31 +0000 URL: https://git.openjdk.org/leyden/commit/8c4f2ff21e21b158c333b3d36fcf323f68f4d187 8356182: Build fails on aarch64 without ZGC This work was sponsored by The FreeBSD Foundation Reviewed-by: stefank, chagedorn ! src/hotspot/cpu/aarch64/jvmciCodeInstaller_aarch64.cpp Changeset: 1eee15ee Branch: hermetic-java-runtime Author: Manuel H?ssig Committer: SendaoYan Date: 2025-05-06 09:05:37 +0000 URL: https://git.openjdk.org/leyden/commit/1eee15eea692f57e35dd785bdd491411746ae3f1 8258229: Crash in nmethod::reloc_string_for Reviewed-by: galder, thartmann ! src/hotspot/share/code/nmethod.cpp + test/hotspot/jtreg/compiler/print/TestPrintAssemblyDeoptRace.java Changeset: ecfaf354 Branch: hermetic-java-runtime Author: Joel Sikstr?m Date: 2025-05-06 09:50:44 +0000 URL: https://git.openjdk.org/leyden/commit/ecfaf354d761bc7034ea8783f4428157ea450207 8356083: ZGC: Duplicate ZTestEntry symbols in gtests Reviewed-by: aboldtch, tschatzl ! test/hotspot/gtest/gc/z/test_zIntrusiveRBTree.cpp Changeset: 614ba9fc Branch: hermetic-java-runtime Author: Roman Kennke Date: 2025-05-06 11:08:51 +0000 URL: https://git.openjdk.org/leyden/commit/614ba9fc41a0274a31f0e8eff8a598a7c5afe164 8356075: Support Shenandoah GC in JVMCI Reviewed-by: shade, dnsimon, cslucas ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/jvmci_globals.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: ddd07b10 Branch: hermetic-java-runtime Author: Coleen Phillimore Date: 2025-05-06 11:48:02 +0000 URL: https://git.openjdk.org/leyden/commit/ddd07b107e814ec846579a66d4f2005b7db9bb2f 8356172: IdealGraphPrinter doesn't need ThreadCritical Reviewed-by: rcastanedalo, chagedorn ! src/hotspot/share/opto/idealGraphPrinter.cpp Changeset: bfdafb76 Branch: hermetic-java-runtime Author: Roman Kennke Date: 2025-05-06 13:25:07 +0000 URL: https://git.openjdk.org/leyden/commit/bfdafb762661fad5746607aaf5b21d6d11c72ffc 8356266: Fix non-Shenandoah build after JDK-8356075 Reviewed-by: dnsimon, shade ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp Changeset: 088825ed Branch: hermetic-java-runtime Author: Matthias Baesken Date: 2025-05-06 14:15:37 +0000 URL: https://git.openjdk.org/leyden/commit/088825ed889551e6067d46bf77fe4d30a3972da1 8355979: ATTRIBUTE_NO_UBSAN needs to be extended to handle float divisions by zero on AIX Reviewed-by: jkern, lucy ! src/hotspot/share/sanitizers/ub.hpp ! src/java.base/share/native/libjava/ub.h Changeset: 9477c422 Branch: hermetic-java-runtime Author: Hannes Walln?fer Date: 2025-05-06 16:01:44 +0000 URL: https://git.openjdk.org/leyden/commit/9477c42215a219ef8d8f44f19506692f6efc82c0 8356276: JavaScript error in script.js after JDK-8348282 Reviewed-by: liach ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script.js.template Changeset: a6995a3d Branch: hermetic-java-runtime Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2025-05-06 16:26:21 +0000 URL: https://git.openjdk.org/leyden/commit/a6995a3d42955f1f207c14be1634daf225b5ab3f 8354473: Incorrect results for compress/expand tests with -XX:+EnableX86ECoreOpts Reviewed-by: jbhateja, sviswanathan, epeter ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp Changeset: b21b3a38 Branch: hermetic-java-runtime Author: Harshitha Onkar Date: 2025-05-06 16:50:14 +0000 URL: https://git.openjdk.org/leyden/commit/b21b3a38a5dbc7eb23c4bd1fd5c0900a3a1b470b 8355528: Update HarfBuzz to 11.2.0 Reviewed-by: dnguyen, prr ! src/java.desktop/share/legal/harfbuzz.md ! src/java.desktop/share/native/libharfbuzz/OT/Color/CBDT/CBDT.hh ! src/java.desktop/share/native/libharfbuzz/OT/Color/COLR/COLR.hh ! src/java.desktop/share/native/libharfbuzz/OT/Color/sbix/sbix.hh ! src/java.desktop/share/native/libharfbuzz/OT/Color/svg/svg.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/Common/CoverageFormat1.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/Common/CoverageFormat2.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/GDEF/GDEF.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/GPOS/GPOS.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/GPOS/PairPosFormat1.hh ! src/java.desktop/share/native/libharfbuzz/OT/Var/VARC/VARC.hh ! src/java.desktop/share/native/libharfbuzz/OT/glyf/glyf.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-common.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-kerx-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-morx-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-trak-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout.cc ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-map.cc ! src/java.desktop/share/native/libharfbuzz/hb-atomic.hh ! src/java.desktop/share/native/libharfbuzz/hb-bit-set.hh + src/java.desktop/share/native/libharfbuzz/hb-bit-vector.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-deserialize-json.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-deserialize-text-glyphs.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-deserialize-text-unicode.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-serialize.cc ! src/java.desktop/share/native/libharfbuzz/hb-buffer-verify.cc ! src/java.desktop/share/native/libharfbuzz/hb-buffer.cc ! src/java.desktop/share/native/libharfbuzz/hb-buffer.h ! src/java.desktop/share/native/libharfbuzz/hb-buffer.hh ! src/java.desktop/share/native/libharfbuzz/hb-cache.hh ! src/java.desktop/share/native/libharfbuzz/hb-cff2-interp-cs.hh ! src/java.desktop/share/native/libharfbuzz/hb-common.cc ! src/java.desktop/share/native/libharfbuzz/hb-common.h ! src/java.desktop/share/native/libharfbuzz/hb-config.hh ! src/java.desktop/share/native/libharfbuzz/hb-debug.hh ! src/java.desktop/share/native/libharfbuzz/hb-deprecated.h ! src/java.desktop/share/native/libharfbuzz/hb-draw.cc ! src/java.desktop/share/native/libharfbuzz/hb-draw.h ! src/java.desktop/share/native/libharfbuzz/hb-draw.hh ! src/java.desktop/share/native/libharfbuzz/hb-face.cc ! src/java.desktop/share/native/libharfbuzz/hb-face.h ! src/java.desktop/share/native/libharfbuzz/hb-face.hh ! src/java.desktop/share/native/libharfbuzz/hb-font.cc ! src/java.desktop/share/native/libharfbuzz/hb-font.h ! src/java.desktop/share/native/libharfbuzz/hb-font.hh ! src/java.desktop/share/native/libharfbuzz/hb-ft.cc ! src/java.desktop/share/native/libharfbuzz/hb-ft.h ! src/java.desktop/share/native/libharfbuzz/hb-geometry.hh ! src/java.desktop/share/native/libharfbuzz/hb-machinery.hh ! src/java.desktop/share/native/libharfbuzz/hb-mutex.hh ! src/java.desktop/share/native/libharfbuzz/hb-object.hh ! src/java.desktop/share/native/libharfbuzz/hb-open-type.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-cff1-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-cff2-table.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-cff2-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-cmap-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-color.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-face-table-list.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-face.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-font.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-hmtx-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-kern-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout-base-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout-common.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout-gsubgpos.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-math-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-math.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-post-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-shape-fallback.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shape.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shape.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-arabic.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-hangul.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-indic.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-thai.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-tag.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-var-gvar-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-var.cc ! src/java.desktop/share/native/libharfbuzz/hb-outline.cc ! src/java.desktop/share/native/libharfbuzz/hb-outline.hh + src/java.desktop/share/native/libharfbuzz/hb-paint-bounded.cc + src/java.desktop/share/native/libharfbuzz/hb-paint-bounded.hh ! src/java.desktop/share/native/libharfbuzz/hb-paint-extents.cc ! src/java.desktop/share/native/libharfbuzz/hb-paint-extents.hh ! src/java.desktop/share/native/libharfbuzz/hb-paint.cc ! src/java.desktop/share/native/libharfbuzz/hb-paint.h ! src/java.desktop/share/native/libharfbuzz/hb-paint.hh + src/java.desktop/share/native/libharfbuzz/hb-script-list.h ! src/java.desktop/share/native/libharfbuzz/hb-set-digest.hh ! src/java.desktop/share/native/libharfbuzz/hb-set.hh ! src/java.desktop/share/native/libharfbuzz/hb-shape.cc ! src/java.desktop/share/native/libharfbuzz/hb-static.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset-cff-common.hh ! src/java.desktop/share/native/libharfbuzz/hb-subset-input.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset-plan.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset-plan.hh ! src/java.desktop/share/native/libharfbuzz/hb-subset.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset.h ! src/java.desktop/share/native/libharfbuzz/hb-vector.hh ! src/java.desktop/share/native/libharfbuzz/hb-version.h ! src/java.desktop/share/native/libharfbuzz/hb.hh Changeset: 052e2522 Branch: hermetic-java-runtime Author: Raffaello Giulietti Date: 2025-05-06 17:32:36 +0000 URL: https://git.openjdk.org/leyden/commit/052e2522b661e51b5fd2e0561c4866e97b9d170d 8356152: String.concat can throw StringIndexOutOfBoundsException Reviewed-by: liach, aturbanov, redestad, rriggs ! src/java.base/share/classes/java/lang/StringConcatHelper.java + test/jdk/java/lang/String/concat/HugeConcatTest.java Changeset: 064b036e Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-06 17:56:03 +0000 URL: https://git.openjdk.org/leyden/commit/064b036ebd73407ce036d283dbacce44530dbb38 8356050: Problemlist jdk, langtools & lib-test tier1 tests requiring runtime usages of /bin/tools for static-jdk Reviewed-by: ihse + test/jdk/ProblemList-StaticJdk.txt + test/langtools/ProblemList-StaticJdk.txt + test/lib-test/ProblemList-StaticJdk.txt Changeset: 9c43871f Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-06 17:57:23 +0000 URL: https://git.openjdk.org/leyden/commit/9c43871fd15c6fa89f7ad8803c68db7d7a6c09ca 8356219: jpackage places libapplauncher.so in incorrect location in the app image Reviewed-by: almatvee ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayout.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/PathGroup.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/ApplicationLayout.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/PathGroupTest.java ! test/jdk/tools/jpackage/linux/UsrTreeTest.java Changeset: 08dd4a75 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-06 18:00:57 +0000 URL: https://git.openjdk.org/leyden/commit/08dd4a75c5b751a66d2e088b0ec9c6d6c443c14a 8354273: Replace even more Unicode characters with ASCII Reviewed-by: naoto ! src/java.xml/share/legal/xhtml11.md ! src/java.xml/share/legal/xmlxsd.md ! test/jdk/java/awt/geom/Path2D/GetBounds2DPrecisionTest.java ! test/jdk/java/awt/im/PinyinIMCapsTest.java ! test/jdk/java/awt/im/PinyinIMCommaTest.java ! test/jdk/java/awt/im/PinyinIMFullstopTest.java ! test/jdk/java/util/Currency/ValidateISO4217.java ! test/jdk/java/util/stream/GathererTest.java Changeset: 5d17a28c Branch: hermetic-java-runtime Author: Koushik Thirupattur Committer: Sean Mullan Date: 2025-05-06 18:10:46 +0000 URL: https://git.openjdk.org/leyden/commit/5d17a28c4edc097162cb078ebb72ad84d925fff4 8353001: Remove leftover Security Manager parsing code in sun.security.util.Debug Reviewed-by: mullan ! src/java.base/share/classes/sun/security/util/Debug.java - test/jdk/sun/security/util/Debug/MultiOptions.java Changeset: 0cb355ee Branch: hermetic-java-runtime Author: Justin Lu Date: 2025-05-06 18:27:20 +0000 URL: https://git.openjdk.org/leyden/commit/0cb355ee921183423c8ffc44491f428c49c62c28 8356096: ISO 4217 Amendment 179 Update Reviewed-by: naoto, iris ! src/java.base/share/classes/sun/util/resources/CurrencyNames.properties ! src/java.base/share/data/currency/CurrencyData.properties ! test/jdk/java/util/Currency/ISO4217-list-one.txt ! test/jdk/java/util/Currency/ValidateISO4217.java Changeset: fe29cad5 Branch: hermetic-java-runtime Author: Brent Christian Date: 2025-05-06 18:40:33 +0000 URL: https://git.openjdk.org/leyden/commit/fe29cad5e0b10cd088fc39967599f5a8dcaa445c 8298783: java/lang/ref/FinalizerHistogramTest.java failed with "RuntimeException: MyObject is not found in test output" Reviewed-by: kbarrett, jpai ! test/jdk/java/lang/ref/FinalizerHistogramTest.java Changeset: 4977588d Branch: hermetic-java-runtime Author: Coleen Phillimore Date: 2025-05-06 19:00:06 +0000 URL: https://git.openjdk.org/leyden/commit/4977588d5e3424282f40209590737a487747095d 8330022: Failure test/hotspot/jtreg/vmTestbase/nsk/sysdict/share/BTreeTest.java: Could not initialize class java.util.concurrent.ThreadLocalRandom Co-authored-by: David Leopoldseder Reviewed-by: tschatzl, matsaave ! test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java Changeset: e2df9cde Branch: hermetic-java-runtime Author: Alexandre Iline Date: 2025-05-06 19:19:10 +0000 URL: https://git.openjdk.org/leyden/commit/e2df9cdeb081735bddd24ac2622f59e20cda47ad 8356226: JCov Grabber server didn't respond Reviewed-by: erikj ! make/RunTests.gmk Changeset: bed5114e Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-06 19:38:39 +0000 URL: https://git.openjdk.org/leyden/commit/bed5114e3a061d13bbc2031334d73f4527309f90 8356209: Problemlist failed gtests on static-jdk Reviewed-by: alanb ! test/hotspot/jtreg/ProblemList-StaticJdk.txt Changeset: 9a23f721 Branch: hermetic-java-runtime Author: Patricio Chilano Mateo Committer: Serguei Spitsyn Date: 2025-05-06 22:08:51 +0000 URL: https://git.openjdk.org/leyden/commit/9a23f721c7bcbfdb2fcf5b2bd145d6967e000dc4 8316682: serviceability/jvmti/vthread/SelfSuspendDisablerTest timed out Reviewed-by: lmesnik, pchilanomate ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/jvmtiImpl.cpp ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/jvmtiThreadState.hpp ! src/hotspot/share/runtime/handshake.cpp ! src/hotspot/share/runtime/handshake.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! test/hotspot/jtreg/ProblemList.txt Changeset: cbbab07d Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-06 23:40:48 +0000 URL: https://git.openjdk.org/leyden/commit/cbbab07d232ff7d46f91b2df4e1b0ef4f37bba95 8356309: Fix issues uncovered after running jpackage tests locally with installing test packages Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/PListReaderTest.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/PathGroupTest.java ! test/jdk/tools/jpackage/share/EmptyFolderTest.java ! test/jdk/tools/jpackage/share/RuntimeImageTest.java ! test/jdk/tools/jpackage/share/RuntimePackageTest.java Changeset: acad0b49 Branch: hermetic-java-runtime Author: Dingli Zhang Committer: Fei Yang Date: 2025-05-07 00:58:19 +0000 URL: https://git.openjdk.org/leyden/commit/acad0b4968f931a00664f18fd22ee97fdb001099 8356188: RISC-V: Cleanup effect of vmaskcmp_fp Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 762423d6 Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-07 02:54:41 +0000 URL: https://git.openjdk.org/leyden/commit/762423d64d10dcdb37800767d2b2f1b7757c804a 8355561: [macos] Build failure with Xcode 16.3 Reviewed-by: kizune, prr ! src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp Changeset: 0eb680ca Branch: hermetic-java-runtime Author: Amit Kumar Date: 2025-05-07 04:12:56 +0000 URL: https://git.openjdk.org/leyden/commit/0eb680ca463e8df20f058d2c0a09ed7006faa353 8350308: [s390x] Relativize last_sp (and top_frame_sp) in interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp Changeset: 4e3ec3c0 Branch: hermetic-java-runtime Author: Phil Race Date: 2025-05-07 05:36:00 +0000 URL: https://git.openjdk.org/leyden/commit/4e3ec3c04c1c60404b9ec7d5524eaceab6472b67 8356208: Remove obsolete code in PSPrinterJob for plugin printing Reviewed-by: serb ! src/java.desktop/share/classes/sun/print/PSPrinterJob.java Changeset: 772c9703 Branch: hermetic-java-runtime Author: Galder Zamarre?o Committer: Magnus Ihse Bursie Date: 2025-05-07 06:17:50 +0000 URL: https://git.openjdk.org/leyden/commit/772c97039e9841410f0ca2a25e984719221174e1 8354257: xctracenorm profiler not working with JDK JMH benchmarks Reviewed-by: ihse ! make/test/BuildMicrobenchmark.gmk Changeset: 4458719a Branch: hermetic-java-runtime Author: Daishi Tabata Committer: Magnus Ihse Bursie Date: 2025-05-07 06:19:56 +0000 URL: https://git.openjdk.org/leyden/commit/4458719a108f45d3744d47a6ea081fe9ec3e675e 8355249: Remove the use of WMIC from the entire source code Reviewed-by: erikj, ihse, asemenyuk ! make/RunTestsPrebuilt.gmk ! make/autoconf/build-performance.m4 ! test/failure_handler/src/share/conf/windows.properties ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java Changeset: 910d77d3 Branch: hermetic-java-runtime Author: Christian Stein Date: 2025-05-07 06:55:29 +0000 URL: https://git.openjdk.org/leyden/commit/910d77d39e6fb9ca339272c75fa4ff7ff99bffcf 8354260: Launcher help text is wrong for -Xms Reviewed-by: jsikstro, jlahoda ! src/java.base/share/classes/sun/launcher/resources/launcher.properties Changeset: 21f01e0c Branch: hermetic-java-runtime Author: Matthias Baesken Date: 2025-05-07 07:19:42 +0000 URL: https://git.openjdk.org/leyden/commit/21f01e0c89e40ae2701d8cb24c737be78f4dcd19 8356269: Fix broken web-links after JDK-8295470 Reviewed-by: chagedorn, epeter ! test/hotspot/jtreg/applications/jcstress/README ! test/hotspot/jtreg/applications/jcstress/TestGenerator.java ! test/hotspot/jtreg/compiler/membars/DekkerTest.java Changeset: 50895835 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-07 07:44:05 +0000 URL: https://git.openjdk.org/leyden/commit/50895835e0c78f54a0b33db7f42f3769e2a1e652 8356259: Lift basic -Xlog:jit* logging to "info" level Reviewed-by: kvn ! src/hotspot/share/compiler/compileTask.cpp Changeset: 328715d8 Branch: hermetic-java-runtime Author: Ivan Bereziuk Committer: Severin Gehwolf Date: 2025-05-07 08:06:29 +0000 URL: https://git.openjdk.org/leyden/commit/328715d84c0eafb4fe58d28b301138374ddac168 8356187: TestJcmd.java may incorrectly parse podman version Reviewed-by: sgehwolf ! test/hotspot/jtreg/containers/docker/TestJcmd.java Changeset: b5fd289f Branch: hermetic-java-runtime Author: Manuel H?ssig Committer: Tobias Hartmann Date: 2025-05-07 08:16:35 +0000 URL: https://git.openjdk.org/leyden/commit/b5fd289f53e8380dfc38c3615acd10396ac647d5 8356310: compiler/print/TestPrintAssemblyDeoptRace.java fails with Improperly specified VM option 'DeoptimizeALot' Reviewed-by: epeter, mchevalier, thartmann, chagedorn, rcastanedalo ! test/hotspot/jtreg/compiler/print/TestPrintAssemblyDeoptRace.java Changeset: da004cb6 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-07 08:33:35 +0000 URL: https://git.openjdk.org/leyden/commit/da004cb6579c96c444faa55496db0056e9ac34e0 8356030: RISC-V: enable (part of) BasicDoubleOpTest.java Reviewed-by: fyang, luhenry ! test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java Changeset: 1a4bbb00 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-07 08:33:49 +0000 URL: https://git.openjdk.org/leyden/commit/1a4bbb0027ae9e6df3b668454fa155861d531f72 8355699: RISC-V: support SUADD/SADD/SUSUB/SSUB Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/riscv_v.ad ! test/hotspot/jtreg/compiler/vectorapi/VectorCommutativeOperSharingTest.java ! test/hotspot/jtreg/compiler/vectorapi/VectorSaturatedOperationsTest.java Changeset: 50554fa1 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-07 08:34:03 +0000 URL: https://git.openjdk.org/leyden/commit/50554fa1982f042fb1d7b6c8a16334b97b31bb63 8355704: RISC-V: enable TestIRFma.java Reviewed-by: rehn, luhenry ! test/hotspot/jtreg/compiler/c2/irTests/TestIRFma.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java Changeset: 1bdff3cc Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-05-07 09:12:44 +0000 URL: https://git.openjdk.org/leyden/commit/1bdff3ccd069142e21c8b0a9ecf759b82302a2d2 8356114: java/foreign/TestBufferStackStress2.java failed with junit action timed out Reviewed-by: djelinski, alanb ! test/jdk/java/foreign/TestBufferStackStress2.java Changeset: 0844745e Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-07 09:21:58 +0000 URL: https://git.openjdk.org/leyden/commit/0844745e7bd954a96441365f8010741ec1c29dbf 8339561: The test/jdk/java/awt/Paint/ListRepaint.java may fail after JDK-8327401 Reviewed-by: azvegint ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java ! test/jdk/java/awt/List/KeyEventsTest/KeyEventsTest.java ! test/jdk/java/awt/Paint/ButtonRepaint.java ! test/jdk/java/awt/Paint/CheckboxRepaint.java ! test/jdk/java/awt/Paint/LabelRepaint.java ! test/jdk/java/awt/Paint/ListRepaint.java Changeset: 60a4594b Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Daniel Fuchs Date: 2025-05-07 12:07:47 +0000 URL: https://git.openjdk.org/leyden/commit/60a4594b9f9acd82ef3ff22fc6a2df238dd981b9 8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value Reviewed-by: dfuchs ! test/jdk/java/net/Inet4Address/PingThis.java ! test/jdk/java/net/MulticastSocket/NoLoopbackPackets.java ! test/jdk/java/net/MulticastSocket/PromiscuousIPv6.java ! test/jdk/java/net/MulticastSocket/SetOutgoingIf.java ! test/jdk/java/net/ServerSocket/AnotherSelectFdsLimit.java ! test/jdk/java/net/ServerSocket/SelectFdsLimit.java Changeset: fa765e7d Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-07 13:23:16 +0000 URL: https://git.openjdk.org/leyden/commit/fa765e7d346d26a1c5065830bd01d850720da8ae 8356335: Remove linux-x86 from jib profiles Reviewed-by: erikj ! make/conf/jib-profiles.js Changeset: a72f7506 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-07 13:23:28 +0000 URL: https://git.openjdk.org/leyden/commit/a72f7506bf07be722c90ed64f5177699d2cebdb2 8356379: Need a proper way to test existence of binary from configure Reviewed-by: erikj ! make/autoconf/boot-jdk.m4 ! make/autoconf/util_paths.m4 Changeset: ca5e0b18 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-07 13:28:46 +0000 URL: https://git.openjdk.org/leyden/commit/ca5e0b1848054848fb5e39eebac06f2011cceb2e 8282493: Add --with-jcov-modules convenience option Reviewed-by: erikj ! doc/testing.html ! doc/testing.md ! make/Coverage.gmk ! make/RunTests.gmk ! make/autoconf/jdk-options.m4 ! make/autoconf/spec.gmk.template Changeset: d7e648bb Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-07 14:08:21 +0000 URL: https://git.openjdk.org/leyden/commit/d7e648bb2737362d3cba3350cae63b1013967a66 8355775: Improve symbolic sharing in dynamic constant pool entries Reviewed-by: asotona ! src/java.base/share/classes/java/lang/classfile/CodeBuilder.java ! src/java.base/share/classes/java/lang/classfile/constantpool/ConstantPoolBuilder.java ! src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java ! src/java.base/share/classes/jdk/internal/classfile/impl/BytecodeHelpers.java ! src/java.base/share/classes/jdk/internal/classfile/impl/SplitConstantPool.java ! src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java Changeset: 90f0f1b8 Branch: hermetic-java-runtime Author: Gerg? Barany Committer: Yudi Zheng Date: 2025-05-07 14:49:37 +0000 URL: https://git.openjdk.org/leyden/commit/90f0f1b88badbf1f72d7b9434621457aa47cde30 8354443: [Graal] crash after deopt in TestG1BarrierGeneration.java Reviewed-by: dnsimon, yzheng ! src/hotspot/share/code/nmethod.inline.hpp Changeset: c8a30c2a Branch: hermetic-java-runtime Author: Leonid Mesnik Date: 2025-05-07 15:42:00 +0000 URL: https://git.openjdk.org/leyden/commit/c8a30c2aaba04c11b70a4f74ee74452250be6e59 8347004: vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java fails with CDS disabled Reviewed-by: coleenp ! test/hotspot/jtreg/vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java Changeset: da5dc528 Branch: hermetic-java-runtime Author: Thomas Stuefe Date: 2025-05-07 16:52:45 +0000 URL: https://git.openjdk.org/leyden/commit/da5dc5287b3a81909a5c316f164f7f42d07d3664 8356025: Provide a PrintVMInfoAtExit diagnostic switch Reviewed-by: mbaesken, jsikstro ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp + test/hotspot/jtreg/runtime/ErrorHandling/PrintVMInfoAtExitTest.java Changeset: 40f696db Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-07 17:36:37 +0000 URL: https://git.openjdk.org/leyden/commit/40f696dbe49f348327bf0f3dc6493a7110918813 8356318: Unexpected VerifyError in AOT training run Reviewed-by: shade, kvn ! src/hotspot/share/classfile/verifier.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCache/VerifierFailOver.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/VerifierFailOver_Helper.jcod ! test/lib/jdk/test/lib/cds/SimpleCDSAppTester.java Changeset: 28e6b7cb Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-07 17:40:44 +0000 URL: https://git.openjdk.org/leyden/commit/28e6b7cb7462b0e231698c86ff57828e9e288087 8351313: VM crashes when AOTMode/AOTCache/AOTConfiguration are empty Reviewed-by: ccheung, shade, kvn ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java Changeset: cb021580 Branch: hermetic-java-runtime Author: Alex Menkov Date: 2025-05-07 18:05:48 +0000 URL: https://git.openjdk.org/leyden/commit/cb02158090fa97bf4d11d09c23ce3058a5f83fc8 8354461: Update tests to disable streaming output for attach tools Reviewed-by: sspitsyn, cjplummer ! test/hotspot/jtreg/runtime/CommandLine/PrintClasses.java ! test/hotspot/jtreg/runtime/ElfDecoder/TestElfDirectRead.java ! test/hotspot/jtreg/runtime/Metaspace/PrintMetaspaceDcmd.java ! test/hotspot/jtreg/runtime/NMT/CommitOverlappingRegions.java ! test/hotspot/jtreg/runtime/NMT/JcmdDetailDiff.java ! test/hotspot/jtreg/runtime/NMT/MallocSiteTypeChange.java ! test/hotspot/jtreg/runtime/NMT/NMTTestUtils.java ! test/hotspot/jtreg/runtime/NMT/VirtualAllocAttemptReserveMemoryAt.java ! test/hotspot/jtreg/runtime/Thread/TestThreadDumpClassInitMonitor.java ! test/hotspot/jtreg/runtime/Thread/TestThreadDumpSMRInfo.java ! test/hotspot/jtreg/runtime/Thread/ThreadPriorities.java ! test/hotspot/jtreg/runtime/cds/DumpSharedDictionary.java ! test/hotspot/jtreg/runtime/cds/DumpSymbolAndStringTable.java ! test/hotspot/jtreg/serviceability/tmtools/jstack/JstackThreadTest.java ! test/jdk/sun/tools/jcmd/JcmdOutputEncodingTest.java ! test/jdk/sun/tools/jmap/BasicJMapTest.java ! test/jdk/sun/tools/jstack/BasicJStackTest.java ! test/lib/jdk/test/lib/dcmd/JcmdExecutor.java ! test/lib/jdk/test/lib/dcmd/PidJcmdExecutor.java Changeset: 3f6b1777 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-07 18:09:23 +0000 URL: https://git.openjdk.org/leyden/commit/3f6b17777ffe59d8981e252891ef2e5beeaf2fdd 8332934: Do loop with continue with subsequent switch leads to incorrect stack maps Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! test/langtools/tools/javac/flow/LVTHarness.java = test/langtools/tools/javac/stackmap/BranchToFewerDefines.java + test/langtools/tools/javac/stackmap/DoLoopLocalEscapeThroughContinueTest.java = test/langtools/tools/javac/stackmap/SwitchExitStateTest.java Changeset: 8c1b915c Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-07 18:11:03 +0000 URL: https://git.openjdk.org/leyden/commit/8c1b915c7ef2b3a6e65705b91f4eb464caaec4e7 8356126: Duplication handling and optimization of CaptureCallState Reviewed-by: jvernee ! src/hotspot/share/prims/downcallLinker.cpp ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequence.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CapturableState.java ! src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/fallback/FallbackLinker.java ! test/jdk/java/foreign/capturecallstate/TestCaptureCallState.java Changeset: 493ac936 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-07 21:33:39 +0000 URL: https://git.openjdk.org/leyden/commit/493ac93606e4637638ec1ae34e24526aaba7b7f3 8244533: Configure should abort on missing short names in Windows Co-authored-by: Jorn Vernee Co-authored-by: Magnus Ihse Bursie Reviewed-by: erikj ! doc/building.html ! doc/building.md ! doc/hotspot-unit-tests.html ! make/autoconf/basic_windows.m4 ! make/autoconf/util_paths.m4 ! make/scripts/fixpath.sh Changeset: 7642556a Branch: hermetic-java-runtime Author: Markus KARG Committer: Jaikiran Pai Date: 2025-05-08 00:58:10 +0000 URL: https://git.openjdk.org/leyden/commit/7642556a5a131e9104033ad7d7abfdb4be5012cf 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer Reviewed-by: liach, jpai, rriggs ! src/java.base/share/classes/java/io/Reader.java ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java ! src/java.base/share/classes/java/lang/CharSequence.java ! src/java.base/share/classes/java/lang/String.java ! src/java.base/share/classes/java/lang/StringBuffer.java ! src/java.base/share/classes/java/nio/X-Buffer.java.template + test/jdk/java/lang/CharSequence/GetChars.java + test/jdk/java/nio/Buffer/GetChars.java Changeset: 3e258cbd Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-08 01:08:52 +0000 URL: https://git.openjdk.org/leyden/commit/3e258cbddf335a6b4f4307e5a1304fe2664c80a0 8356407: Part of class verification is skipped in AOT training run Co-authored-by: Vladimir Ivanov Reviewed-by: matsaave, coleenp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/classfile/verificationType.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTCacheSupportForCustomLoaders.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/ReturnIntegerAsString.jasm Changeset: 52a5583d Branch: hermetic-java-runtime Author: Jaikiran Pai Date: 2025-05-08 03:56:45 +0000 URL: https://git.openjdk.org/leyden/commit/52a5583d691388f833c3aeb56ce92cbfb5d61274 8356154: Respecify java.net.Socket constructors that allow creating UDP sockets to throw IllegalArgumentException Reviewed-by: dfuchs, alanb ! src/java.base/share/classes/java/net/Socket.java ! src/java.base/share/classes/java/net/SocketImpl.java ! src/java.base/share/classes/sun/nio/ch/AsynchronousServerSocketChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/Net.java ! src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java ! src/java.base/share/classes/sun/nio/ch/ServerSocketChannelImpl.java ! test/jdk/java/net/Socket/UdpSocket.java ! test/jdk/java/net/SocketImpl/BadUsages.java Changeset: 223eec55 Branch: hermetic-java-runtime Author: Anass Baya Committer: SendaoYan Date: 2025-05-08 07:30:40 +0000 URL: https://git.openjdk.org/leyden/commit/223eec55018f1640cb292b11130e3e1d6451990d 8354219: Automate javax/swing/JComboBox/ComboPopupBug.java Reviewed-by: aivanov, achung ! test/jdk/javax/swing/JComboBox/ComboPopupBug.java Changeset: daf6fa1e Branch: hermetic-java-runtime Author: Andrew Dinn Date: 2025-05-08 07:44:42 +0000 URL: https://git.openjdk.org/leyden/commit/daf6fa1e6153d3fdf48ef0840790794e57349c38 8356085: AArch64: compiler stub buffer size wrongly depends on ZGC Reviewed-by: shade, kvn ! src/hotspot/cpu/aarch64/stubDeclarations_aarch64.hpp Changeset: 2c1eb339 Branch: hermetic-java-runtime Author: nibjen Committer: Daniel Jeli?ski Date: 2025-05-08 09:06:19 +0000 URL: https://git.openjdk.org/leyden/commit/2c1eb339d6c9b6cc6fa4a8780b0e0b8d4d9a5f01 8350830: Values converted incorrectly when reading TLS session tickets Reviewed-by: djelinski, ascarpino ! src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java + test/jdk/sun/security/ssl/SSLSessionImpl/ResumeClientTLS12withSNI.java Changeset: 5df7089c Branch: hermetic-java-runtime Author: Amit Kumar Date: 2025-05-08 10:56:01 +0000 URL: https://git.openjdk.org/leyden/commit/5df7089c3eb2e6d7cf6634840a2a21bcaa7e3f4e 8350398: [s390x] Relativize initial_sp/monitors in interpreter frames Reviewed-by: lucy, aph ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp ! src/hotspot/cpu/s390/templateTable_s390.cpp Changeset: b47b2062 Branch: hermetic-java-runtime Author: Christian Hagedorn Date: 2025-05-08 11:33:31 +0000 URL: https://git.openjdk.org/leyden/commit/b47b2062a2232694eb01473054a468ad9a6a2507 8355674: C2: Partial Peeling should not introduce Phi nodes above OpaqueInitializedAssertionPredicate nodes Reviewed-by: epeter, thartmann ! src/hotspot/share/opto/loopopts.cpp + test/hotspot/jtreg/compiler/predicates/assertion/TestPhiAboveOpaqueInitializedAssertionPredicate.java Changeset: ad07426f Branch: hermetic-java-runtime Author: Christian Hagedorn Date: 2025-05-08 11:34:46 +0000 URL: https://git.openjdk.org/leyden/commit/ad07426fab3396caefd7c08d924e085c1f6f61ba 8356084: C2: Data is wrongly rewired to Initialized Assertion Predicates instead of Template Assertion Predicates Reviewed-by: epeter, kvn ! src/hotspot/share/opto/predicates.cpp ! src/hotspot/share/opto/predicates.hpp ! test/hotspot/jtreg/compiler/predicates/assertion/TestAssertionPredicates.java Changeset: 900b3ff7 Branch: hermetic-java-runtime Author: Kevin Walls Date: 2025-05-08 13:18:02 +0000 URL: https://git.openjdk.org/leyden/commit/900b3ff7ee933520efe2438fb7c841a4e6a93d17 8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows) Reviewed-by: amenkov, sspitsyn ! src/jdk.management/windows/native/libmanagement_ext/OperatingSystemImpl.c Changeset: 57297e60 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-08 13:33:57 +0000 URL: https://git.openjdk.org/leyden/commit/57297e60de92b9878fb3926109da3e0058a506ae 8354278: Revert use of non-POSIX echo -n introduced in JDK-8301197 Reviewed-by: iris ! make/Docs.gmk ! make/MainSupport.gmk ! make/autoconf/help.m4 ! make/common/FindTests.gmk ! make/common/Modules.gmk Changeset: 2ea629f3 Branch: hermetic-java-runtime Author: Eirik Bj?rsn?s Date: 2025-05-08 14:52:53 +0000 URL: https://git.openjdk.org/leyden/commit/2ea629f3f2ae07de9cb92baac13497a789d16ec3 8353440: Disable FTP fallback for non-local file URLs by default Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/doc-files/net-properties.html ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/unix/classes/sun/net/www/protocol/file/Handler.java ! src/java.base/windows/classes/sun/net/www/protocol/file/Handler.java ! test/jdk/java/net/URL/OpenStream.java ! test/jdk/sun/net/www/protocol/file/NonLocalFtpFallback.java + test/jdk/sun/net/www/protocol/file/NonLocalFtpFallbackDisabled.java Changeset: c6ffacb5 Branch: hermetic-java-runtime Author: Maurizio Cimadamore Date: 2025-05-08 15:14:35 +0000 URL: https://git.openjdk.org/leyden/commit/c6ffacb5754642083f614a5ee6dc76b7d145c605 8344703: Compiler Implementation for Flexible Constructor Bodies Reviewed-by: vromero, liach, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! test/langtools/tools/javac/DefiniteAssignment/DA_DUConstructors.java ! test/langtools/tools/javac/DefiniteAssignment/DA_DUConstructors.out ! test/langtools/tools/javac/LocalClassCtorPrologue.java ! test/langtools/tools/javac/LocalClassCtorPrologue.out ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview1.java ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview1.out ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview2.java ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview2.out ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview3.java ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview3.out ! test/langtools/tools/javac/SuperInit/EarlyAssignments.java ! test/langtools/tools/javac/SuperInit/EarlyAssignments.out ! test/langtools/tools/javac/SuperInit/EarlyInnerAccessErrorMessageTest.java ! test/langtools/tools/javac/SuperInit/EarlyInnerAccessErrorMessageTest.out ! test/langtools/tools/javac/SuperInit/EarlyLambdaReturn.java ! test/langtools/tools/javac/SuperInit/EarlyLocalClass.java ! test/langtools/tools/javac/SuperInit/EarlyLocalClass.out ! test/langtools/tools/javac/SuperInit/EarlyLocalCtorRef.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest1.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest2.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest3.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest4.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest5.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest6.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest7.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest8.java ! test/langtools/tools/javac/SuperInit/LambdaLocalEarlyCrash.java ! test/langtools/tools/javac/SuperInit/LambdaOuterCapture.java ! test/langtools/tools/javac/SuperInit/MultiLevelOuterInstance.java ! test/langtools/tools/javac/SuperInit/SuperInitFails.java ! test/langtools/tools/javac/SuperInit/SuperInitFails.out ! test/langtools/tools/javac/SuperInit/SuperInitGood.java ! test/langtools/tools/javac/diags/examples/CantAssignInitializedBeforeCtorCalled.java ! test/langtools/tools/javac/diags/examples/FeatureFlexibleConstructors.java ! test/langtools/tools/javac/diags/examples/PreviewFeatureUse.java = test/langtools/tools/javac/diags/examples/PreviewFeatureUsePlural.java ! test/langtools/tools/javac/diags/examples/ReturnBeforeSuperclassInit.java Changeset: 6b1e88a9 Branch: hermetic-java-runtime Author: Roman Kennke Date: 2025-05-08 16:07:25 +0000 URL: https://git.openjdk.org/leyden/commit/6b1e88a946c5aa5ab8c1b320ebdfdf595c469855 8356329: Report compact object headers in hs_err Reviewed-by: stuefe, lmesnik, zgu ! src/hotspot/share/utilities/vmError.cpp + test/hotspot/jtreg/runtime/ErrorHandling/TestVMConfigInHsErrFile.java Changeset: 7f3191a6 Branch: hermetic-java-runtime Author: Casper Norrbin Committer: Severin Gehwolf Date: 2025-05-08 16:20:53 +0000 URL: https://git.openjdk.org/leyden/commit/7f3191a630edba32ddb7bb64a835ec663d91ed92 8354878: File Leak in CgroupSubsystemFactory::determine_type of cgroupSubsystem_linux.cpp:300 Reviewed-by: sgehwolf, jsjolen, dholmes ! src/hotspot/os/linux/cgroupSubsystem_linux.cpp Changeset: 1e8927dd Branch: hermetic-java-runtime Author: Casper Norrbin Committer: Johan Sj?len Date: 2025-05-08 16:21:14 +0000 URL: https://git.openjdk.org/leyden/commit/1e8927dded2d6d7049dc277564c77dff81ff1047 8354433: Assert in AbstractRBTree::visit_range_in_order(const K& from, const K& to, F f) is wrong Reviewed-by: jsjolen, aboldtch ! src/hotspot/share/utilities/rbTree.hpp ! src/hotspot/share/utilities/rbTree.inline.hpp ! test/hotspot/gtest/utilities/test_rbtree.cpp Changeset: 24d84cf6 Branch: hermetic-java-runtime Author: Joe Darcy Date: 2025-05-08 16:30:01 +0000 URL: https://git.openjdk.org/leyden/commit/24d84cf66a47e10002a836275794f3f17e147c99 8354091: Update RELEASE_25 description for Flexible Constructor Bodies Reviewed-by: iris, liach, vromero ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Changeset: 92730945 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-05-08 17:48:26 +0000 URL: https://git.openjdk.org/leyden/commit/927309453822183bbfa9af278043fe0dca17031c 8356023: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 2 Reviewed-by: amenkov, sspitsyn, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referenceType/referencetype001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referenceType/referencetype001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/location/location001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/location/location001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue001/setvalue001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue001/setvalue001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue002/setvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue002/setvalue002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue003/setvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue003/setvalue003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue004/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue004/setvalue004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thread/thread001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thread/thread001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/forceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/forceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frame/frame001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frame/frame001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames/frames001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames/frames001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isAtBreakpoint/isatbreakpoint001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isAtBreakpoint/isatbreakpoint001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/name/name001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/name/name001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/resume/resume001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/resume/resume001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspend/suspend001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspend/suspend001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspendCount/suspendcount001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspendCount/suspendcount001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetCurrentContendedMonitor/cangccm001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetCurrentContendedMonitor/cangccm001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetMonitorInfo/cangetmonitorinfo001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetOwnedMonitorInfo/cangetinfo001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetOwnedMonitorInfo/cangetinfo001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/suspend/suspend001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/suspend/suspend001a.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: e4ecda2b Branch: hermetic-java-runtime Author: Naoto Sato Date: 2025-05-08 17:52:05 +0000 URL: https://git.openjdk.org/leyden/commit/e4ecda2b2563fbdff96d82fbbed6c022e28a49da 8356221: Clarify Console.charset() method description Reviewed-by: bpb ! src/java.base/share/classes/java/io/Console.java Changeset: b7b437d5 Branch: hermetic-java-runtime Author: Vladimir Ivanov Date: 2025-05-08 17:53:27 +0000 URL: https://git.openjdk.org/leyden/commit/b7b437d5bd579a7a90a90470979768cdd085728c 8356453: C2: assert(!vbox->is_Phi()) during vector box expansion Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/vector.cpp ! test/hotspot/jtreg/compiler/vectorapi/VectorBoxExpandTest.java Changeset: 4379e2d2 Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-08 17:54:47 +0000 URL: https://git.openjdk.org/leyden/commit/4379e2d26bd445d3f303a5937d1e335885be9216 8356125: Interned strings are omitted from AOT cache Reviewed-by: shade, ccheung ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.hpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/stringTable.hpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/constantPool.hpp + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/GeneratedInternedString.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/NonFinalStaticWithInitVal.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/NonFinalStaticWithInitVal_Helper.jasm Changeset: c2a4fa1d Branch: hermetic-java-runtime Author: Julian Waters Date: 2025-05-08 22:11:37 +0000 URL: https://git.openjdk.org/leyden/commit/c2a4fa1d83bd690e4e453eb1dbe59c6503b5281d 8355573: Remove kludge_c++11.h from jpackage code Reviewed-by: asemenyuk, almatvee ! src/jdk.jpackage/linux/native/libapplauncher/LinuxLauncherLib.cpp ! src/jdk.jpackage/share/native/applauncher/CfgFile.cpp ! src/jdk.jpackage/share/native/applauncher/PackageFile.cpp ! src/jdk.jpackage/share/native/applauncher/StringProcessing.cpp ! src/jdk.jpackage/share/native/common/Dll.h ! src/jdk.jpackage/share/native/common/app.cpp - src/jdk.jpackage/share/native/common/kludge_c++11.h ! src/jdk.jpackage/windows/native/common/MsiUtils.h Changeset: 8a8893ec Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-08 22:18:56 +0000 URL: https://git.openjdk.org/leyden/commit/8a8893ec030b19583efd65bd0751e66254689ead 8356562: SigningAppImageTwoStepsTest test fails Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java Changeset: cc3a366e Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-09 00:06:26 +0000 URL: https://git.openjdk.org/leyden/commit/cc3a366e2a616226b776f683dbfb7cddaf2270d3 8333568: Test that jpackage doesn't modify R/O files/directories Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java Changeset: 9a0e6f33 Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-09 02:08:29 +0000 URL: https://git.openjdk.org/leyden/commit/9a0e6f338f34fb5da16d5f9eb710cdddd4302945 8356571: Re-enable -Wtype-limits for GCC in LCMS Reviewed-by: jwaters, prr ! make/modules/java.desktop/lib/ClientLibraries.gmk Changeset: 53ad4b2a Branch: hermetic-java-runtime Author: Jatin Bhateja Date: 2025-05-09 05:28:56 +0000 URL: https://git.openjdk.org/leyden/commit/53ad4b2ad2664e5056c113543dfaa26647d6ce26 8355364: [REDO] Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding Co-authored-by: Axel Boldt-Christmas Reviewed-by: aboldtch, sviswanathan ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp Changeset: 591e71eb Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-09 06:00:23 +0000 URL: https://git.openjdk.org/leyden/commit/591e71ebe501e6e88249f46efda4134277f29b08 8354890: AOT-initialize j.l.i.MethodHandleImpl and inner classes Reviewed-by: liach, vlivanov ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/classfile/vmClassMacros.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/java.base/share/classes/java/lang/ref/Reference.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/MethodHandleTest.java Changeset: c88f94c9 Branch: hermetic-java-runtime Author: Matthias Baesken Date: 2025-05-09 07:12:51 +0000 URL: https://git.openjdk.org/leyden/commit/c88f94c9d7a12225a3571e0ba5399d4c42eeb707 8356394: Remove USE_LIBRARY_BASED_TLS_ONLY macro Reviewed-by: dholmes, kbarrett, lucy ! src/hotspot/share/classfile/symbolTable.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp Changeset: 74e981e8 Branch: hermetic-java-runtime Author: Yudi Zheng Date: 2025-05-09 08:39:16 +0000 URL: https://git.openjdk.org/leyden/commit/74e981e85509ca072b2a45d529dab3a9883613a2 8353735: [JVMCI] Allow specifying storage kind of the callee save register Reviewed-by: dnsimon, cslucas ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterConfig.java Changeset: 3aa2ea7e Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-09 09:05:10 +0000 URL: https://git.openjdk.org/leyden/commit/3aa2ea7e67c879dafa0f967073c2d8b98d62c996 8301971: Make JDK source code UTF-8 8338973: Document need to have UTF-8 locale available to build the JDK Reviewed-by: erikj, naoto, mbaesken ! .editorconfig ! .gitattributes ! doc/building.html ! doc/building.md ! make/Docs.gmk ! make/autoconf/basic.m4 ! make/autoconf/configure ! make/autoconf/flags-cflags.m4 ! make/common/JavaCompilation.gmk ! make/common/JdkNativeCompilation.gmk - make/common/support/unicode2x.sed ! src/java.base/unix/native/libjava/locale_str.h ! src/java.base/windows/native/libjava/HostLocaleProviderAdapter_md.c Changeset: a091e2f2 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-09 09:10:06 +0000 URL: https://git.openjdk.org/leyden/commit/a091e2f2810da17ff61a63fd0f1f6538f1bdbb70 8351029: IncludeCustomExtension does not work on cygwin with source code below /home Reviewed-by: erikj ! make/PreInit.gmk ! make/PreInitSupport.gmk ! make/common/MakeFileStart.gmk ! make/common/MakeIncludeStart.gmk Changeset: 568dcc15 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-09 10:05:23 +0000 URL: https://git.openjdk.org/leyden/commit/568dcc15cb1a2c02d6ac4421902d841d256ca1c2 8334391: JDK build should exclude *-files directories for Java source Reviewed-by: erikj ! make/CompileInterimLangtools.gmk ! make/CompileJavaModules.gmk ! make/common/JavaCompilation.gmk ! make/common/native/Paths.gmk ! make/modules/java.base/Java.gmk ! make/modules/java.compiler/Java.gmk ! make/modules/java.desktop/Java.gmk ! make/modules/jdk.jdi/Java.gmk Changeset: 411a63ea Branch: hermetic-java-runtime Author: Serguei Spitsyn Date: 2025-05-09 12:24:28 +0000 URL: https://git.openjdk.org/leyden/commit/411a63ea1b0c6e8bfea219427bf1c317c5dadabf 8356251: Need minor cleanup for interp_only_mode Reviewed-by: lmesnik, cjplummer ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/jvmtiThreadState.hpp ! src/hotspot/share/prims/jvmtiThreadState.inline.hpp ! src/hotspot/share/runtime/javaThread.hpp Changeset: 9ebb5d42 Branch: hermetic-java-runtime Author: Patricio Chilano Mateo Date: 2025-05-09 15:05:09 +0000 URL: https://git.openjdk.org/leyden/commit/9ebb5d42d43a743cf3a5197c7dabe46ac8120474 8346255: java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java finds no deadlock Reviewed-by: kevinw, dholmes, alanb ! test/jdk/java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java Changeset: 0e0bd642 Branch: hermetic-java-runtime Author: Liam Miller-Cushon Date: 2025-05-09 15:45:25 +0000 URL: https://git.openjdk.org/leyden/commit/0e0bd642aba3ac859043fc9505343d06d780f13a 8356441: IllegalStateException in RichDiagnosticFormatter after JDK-8355065 Reviewed-by: liach, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java + test/langtools/tools/javac/annotations/typeAnnotations/RichFormatterWithTypeAnnotationsReentrantTest.java Changeset: 5f00c877 Branch: hermetic-java-runtime Author: Naoto Sato Date: 2025-05-09 16:16:56 +0000 URL: https://git.openjdk.org/leyden/commit/5f00c877e26f1716da231771b611234db5607fa7 8356450: NPE in CLDRTimeZoneNameProviderImpl for tzdata downgrades after JDK-8342550 Reviewed-by: bpb, jlu, joehw ! src/java.base/share/classes/sun/util/cldr/CLDRTimeZoneNameProviderImpl.java Changeset: dd25799c Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-09 16:17:14 +0000 URL: https://git.openjdk.org/leyden/commit/dd25799c21529bf8dac49a63ddbcab530af0215b 8356212: runtime/cds/appcds/LotsOfSyntheticClasses.java timed out with -XX:+AOTClassLinking Reviewed-by: iklam, shade, syan ! test/hotspot/jtreg/runtime/cds/appcds/LotsOfSyntheticClasses.java Changeset: bed29a03 Branch: hermetic-java-runtime Author: Joe Darcy Date: 2025-05-09 16:35:51 +0000 URL: https://git.openjdk.org/leyden/commit/bed29a03d198a9717f7d258ee21330462775136e 8356555: Incorrect use of {@link} in BigDecimal Reviewed-by: bpb, nbenalla, liach, iris ! src/java.base/share/classes/java/math/BigDecimal.java Changeset: 2661f62c Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-09 16:42:49 +0000 URL: https://git.openjdk.org/leyden/commit/2661f62ca23f5589538d4ad50078d1f715ade342 8356036: (fs) FileKey.hashCode and UnixFileStore.hashCode implementations can use Long.hashCode Reviewed-by: liach, bpb ! src/java.base/unix/classes/sun/nio/ch/FileKey.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileKey.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileStore.java Changeset: 601f05e0 Branch: hermetic-java-runtime Author: Alexander Matveev Date: 2025-05-09 16:47:06 +0000 URL: https://git.openjdk.org/leyden/commit/601f05e06d3c364ab5b151785d4ac49183cf61b5 8352480: Don't follow symlinks in additional content for app images Reviewed-by: asemenyuk ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractAppImageBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacHelper.java ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: 1c5eb370 Branch: hermetic-java-runtime Author: Fabio Romano Committer: Raffaello Giulietti Date: 2025-05-09 17:06:33 +0000 URL: https://git.openjdk.org/leyden/commit/1c5eb370b7dbe7558b535bf27c9df292c2007b9b 8355719: Reduce memory consumption of BigInteger.pow() Reviewed-by: rgiulietti ! src/java.base/share/classes/java/math/BigInteger.java + test/micro/org/openjdk/bench/java/math/BigIntegerPow.java Changeset: 66f04427 Branch: hermetic-java-runtime Author: Joe Wang Date: 2025-05-09 17:12:53 +0000 URL: https://git.openjdk.org/leyden/commit/66f044271324643ee17df13ad3ef254bc4dbd798 8353232: Standardizing and Unifying XML Component Configurations Reviewed-by: lancea ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/DOMConfigurationImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/PropertyManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/XMLSchemaLoader.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/SAXParserFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/StreamValidatorHelper.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaFactory.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/AbstractSAXParser.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/DOMParser.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/DTDConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/NonValidatingConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/SAXParser.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/SecurityConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/XMLParser.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathExpressionImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathImpl.java ! src/java.xml/share/classes/javax/xml/validation/SchemaFactory.java ! src/java.xml/share/classes/jdk/xml/internal/FeaturePropertyBase.java - src/java.xml/share/classes/jdk/xml/internal/JdkCatalog.java + src/java.xml/share/classes/jdk/xml/internal/JdkXmlConfig.java ! src/java.xml/share/classes/jdk/xml/internal/JdkXmlFeatures.java ! src/java.xml/share/classes/jdk/xml/internal/SecuritySupport.java ! src/java.xml/share/classes/jdk/xml/internal/XMLSecurityManager.java ! src/java.xml/share/classes/jdk/xml/internal/XMLSecurityPropertyManager.java Changeset: f2f2ddd2 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-09 10:43:13 +0000 URL: https://git.openjdk.org/leyden/commit/f2f2ddd252e53d4909928542113183fe4390751a Merge branch 'master' into hermetic-java-runtime ! make/autoconf/spec.gmk.template ! src/hotspot/share/runtime/globals.hpp ! src/java.desktop/share/classes/sun/print/PSPrinterJob.java ! make/autoconf/spec.gmk.template ! src/hotspot/share/runtime/globals.hpp ! src/java.desktop/share/classes/sun/print/PSPrinterJob.java From sebastien.deleuze at broadcom.com Sat May 10 10:39:22 2025 From: sebastien.deleuze at broadcom.com (Sebastien Deleuze) Date: Sat, 10 May 2025 12:39:22 +0200 Subject: JEP 483: Ahead-of-Time Class Loading & Linking failing on a simple Gradle Spring Boot project In-Reply-To: References: <194c805d-01e5-4617-8cb7-c41b5f81e29e@oracle.com> Message-ID: Hi Daniel, The Spring team does not recommend generating the AOT cache using the app tests. See related documentation and guidance in https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/aot-cache.html and https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html#packaging.class-data-sharing.aot-cache . Best regards, S?bastien On Fri, May 9, 2025 at 4:14?PM Daniel Andres Pelaez Lopez < estigma88 at gmail.com> wrote: > Hi loi, > > Thanks for the input. > > Yes, I am aware that packaging the app as a JAR will work, I have tested > that before for production code, however, that doesn't fit the use case I > am looking for: Using the app tests to generate the AOT cache. If we > require to package a JAR that executes the tests, that seems like overkill. > My thinking is that the Java community is most likely using CI/CD to run > tests and using Maven/Gradle for that purpose, so, having support for > creating the AOT cache from tests and from those tools, will allow to the > community to adopt this features faster. > > El jue, 8 may 2025 a las 21:58, escribi?: > >> It looks like your classpath have some directories: >> >> >> [4,648s][error ][cds ] Error: non-empty directory >> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' >> [4,648s][error ][cds ] Error: non-empty directory >> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' >> [4,648s][error ][cds ] Error: non-empty directory >> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' >> >> >> Please try to package these directories into a JAR file and use that in >> your classpath. >> >> >> Thanks >> >> - Ioi >> On 5/7/25 12:57 PM, Daniel Andres Pelaez Lopez wrote: >> >> Hi everyone, >> >> We are testing JEP 483 on JDK 24 using the following dummy Gradle Spring >> Boot project: https://github.com/estigma88/java-aot/tree/master. As we >> want to generate the AOT cache from the tests, we added a custom Test task >> to receive the AOT flags for the JVM as follows: >> >> tasks.withType { >> useJUnitPlatform() >> >> project.findProperty("aot")?.let { >> val aotFlags = it.toString().split(",") >> jvmArgs(aotFlags) >> } >> } >> >> And we are using the following commands to generate the AOT cache: >> >> ./gradlew :test >> -Paot="-XX:AOTMode=record,-XX:AOTConfiguration=app.aotconf" -> This one >> succeed >> >> ./gradlew :test >> -Paot="-XX:AOTMode=create,-XX:AOTConfiguration=app.aotconf,-XX:AOTCache=app.aot" >> -> This one fails >> >> The following are the logs for the create command: >> >> [1,328s][warning][cds] Preload Warning: Verification failed for >> org.springframework.http.client.ReactorResourceFactory >> [1,579s][warning][cds] Preload Warning: Verification failed for >> org.springframework.test.context.transaction.TransactionalTestExecutionListener >> [1,581s][warning][cds] Preload Warning: Verification failed for >> org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener >> [1,668s][warning][cds] Preload Warning: Verification failed for >> org.springframework.boot.logging.log4j2.Log4J2LoggingSystem >> [2,412s][warning][cds] Preload Warning: Verification failed for >> org.springframework.http.codec.multipart.DefaultPartHttpMessageReader >> [2,575s][warning][cds] Preload Warning: Verification failed for >> org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration >> [2,577s][warning][cds] Preload Warning: Verification failed for >> org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration >> [2,799s][warning][cds] Preload Warning: Verification failed for >> org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer >> [3,029s][warning][cds] Preload Warning: Verification failed for >> org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter >> [3,109s][warning][cds] Preload Warning: Verification failed for >> org.springframework.boot.http.client.JettyClientHttpRequestFactoryBuilder >> [3,110s][warning][cds] Preload Warning: Verification failed for >> org.springframework.boot.http.client.HttpComponentsClientHttpRequestFactoryBuilder >> [3,180s][warning][cds] java.lang.ClassNotFoundException: >> org.mockito.internal.creation.bytebuddy.inject.MockMethodDispatcher >> [3,180s][warning][cds] Preload Warning: Cannot find >> org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher >> [3,196s][warning][cds] Preload Warning: Verification failed for >> org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator >> [3,197s][warning][cds] java.lang.NoClassDefFoundError: >> org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher >> [3,197s][warning][cds] Preload Warning: Cannot find >> org/mockito/internal/creation/bytebuddy/MockMethodAdvice >> [3,307s][warning][cds] java.lang.ClassNotFoundException: >> net.bytebuddy.utility.Invoker$Dispatcher >> [3,307s][warning][cds] Preload Warning: Cannot find >> net/bytebuddy/utility/Invoker$Dispatcher >> [3,906s][warning][cds,resolve] : >> An error has occurred while processing class list file app.aotconf 9635:5. >> [3,906s][warning][cds,resolve] @cp >> org/mockito/internal/creation/bytebuddy/MockMethodAdvice 1 2 7 9 10 11 17 >> 22 26 28 29 33 36 40 44 48 258 >> class org/mockito/internal/creation/bytebuddy/MockMethodAdvice is not >> (yet) loaded by one of the built-in loaders[3,906s][warning][cds,resolve] >> ^ >> [3,906s][warning][cds,resolve] Your classlist may be out of sync with the >> JDK or the application. >> An error has occurred while processing class list file app.aotconf >> 11862:5. >> [4,467s][warning][cds,resolve] : >> class org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher >> is not (yet) loaded by one of the built-in >> loaders[4,467s][warning][cds,resolve] @cp >> org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher 1 2 8 >> 14 20 25 27 38 59 >> [4,467s][warning][cds,resolve] ^ >> [4,467s][warning][cds,resolve] Your classlist may be out of sync with the >> JDK or the application. >> [4,608s][warning][cds ] Preload Warning: Verification failed for >> org.springframework.web.servlet.view.freemarker.FreeMarkerView >> [4,648s][error ][cds ] Error: non-empty directory >> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' >> [4,648s][error ][cds ] Error: non-empty directory >> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' >> [4,648s][error ][cds ] Error: non-empty directory >> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' >> Hint: enable -Xlog:class+path=info to diagnose the failure >> Error occurred during CDS dumping >> Cannot have non-empty directory in paths >> >> Error logs seem related to the AOT feature and not Gradle, but you will >> know better. >> >> Any help would be appreciated. >> >> -- >> Daniel >> e. estigma88 at gmail.com >> >> > > -- > Daniel > e. estigma88 at gmail.com > -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Sat May 10 23:25:34 2025 From: duke at openjdk.org (duke) Date: Sat, 10 May 2025 23:25:34 GMT Subject: git: openjdk/leyden: premain: More AOT code renaming to match mainline Message-ID: <88e0737a-23d6-4065-97ad-d942490b5085@openjdk.org> Changeset: 3b998f9b Branch: premain Author: Vladimir Kozlov Date: 2025-05-10 16:24:37 +0000 URL: https://git.openjdk.org/leyden/commit/3b998f9b398c9200f6280ed7c22349a484f3cd5e More AOT code renaming to match mainline ! src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/g1/g1BarrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/g1/g1BarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/cardTableBarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/cds/aotCacheAccess.cpp ! src/hotspot/share/cds/aotCacheAccess.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveBuilder.hpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/ci/ciObject.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/gc/g1/c1/g1BarrierSetC1.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/runtime/init.cpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java From duke at openjdk.org Mon May 12 04:50:36 2025 From: duke at openjdk.org (duke) Date: Mon, 12 May 2025 04:50:36 GMT Subject: git: openjdk/leyden: premain: Reorder methods in aotCodeCache.cpp to match mainline Message-ID: Changeset: 64e2aae7 Branch: premain Author: Vladimir Kozlov Date: 2025-05-11 21:48:18 +0000 URL: https://git.openjdk.org/leyden/commit/64e2aae77262a11d19d78bd207b1aceeec2a6e70 Reorder methods in aotCodeCache.cpp to match mainline ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp From duke at openjdk.org Mon May 12 21:27:28 2025 From: duke at openjdk.org (duke) Date: Mon, 12 May 2025 21:27:28 GMT Subject: git: openjdk/leyden: premain: Make the test permute through default flag values too Message-ID: Changeset: 4f152bf2 Branch: premain Author: Igor Veresov Date: 2025-05-12 14:25:19 +0000 URL: https://git.openjdk.org/leyden/commit/4f152bf2b58a225b03a466104c93c960bfa3ee7c Make the test permute through default flag values too ! test/hotspot/jtreg/runtime/cds/appcds/aotProfile/AOTProfileFlags.java From estigma88 at gmail.com Tue May 13 13:56:38 2025 From: estigma88 at gmail.com (Daniel Andres Pelaez Lopez) Date: Tue, 13 May 2025 08:56:38 -0500 Subject: JEP 483: Ahead-of-Time Class Loading & Linking failing on a simple Gradle Spring Boot project In-Reply-To: References: <194c805d-01e5-4617-8cb7-c41b5f81e29e@oracle.com> Message-ID: Hi Sebastien, Thanks for the information, great to see Spring keeping up to date with the latest JDK developments. If tests are not the way to exercise the training run, then we will need to move the complexity to the CI/CD, where we deploy the app somewhere and exercise it, also thinking about what's next: JEP 515: Ahead-of-Time Method Profiling El s?b, 10 may 2025 a las 5:39, Sebastien Deleuze (< sebastien.deleuze at broadcom.com>) escribi?: > Hi Daniel, > > The Spring team does not recommend generating the AOT cache using the app > tests. > > See related documentation and guidance in > https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/aot-cache.html > and > https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html#packaging.class-data-sharing.aot-cache > . > > Best regards, > S?bastien > > On Fri, May 9, 2025 at 4:14?PM Daniel Andres Pelaez Lopez < > estigma88 at gmail.com> wrote: > >> Hi loi, >> >> Thanks for the input. >> >> Yes, I am aware that packaging the app as a JAR will work, I have tested >> that before for production code, however, that doesn't fit the use case I >> am looking for: Using the app tests to generate the AOT cache. If we >> require to package a JAR that executes the tests, that seems like overkill. >> My thinking is that the Java community is most likely using CI/CD to run >> tests and using Maven/Gradle for that purpose, so, having support for >> creating the AOT cache from tests and from those tools, will allow to the >> community to adopt this features faster. >> >> El jue, 8 may 2025 a las 21:58, escribi?: >> >>> It looks like your classpath have some directories: >>> >>> >>> [4,648s][error ][cds ] Error: non-empty directory >>> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' >>> [4,648s][error ][cds ] Error: non-empty directory >>> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' >>> [4,648s][error ][cds ] Error: non-empty directory >>> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' >>> >>> >>> Please try to package these directories into a JAR file and use that in >>> your classpath. >>> >>> >>> Thanks >>> >>> - Ioi >>> On 5/7/25 12:57 PM, Daniel Andres Pelaez Lopez wrote: >>> >>> Hi everyone, >>> >>> We are testing JEP 483 on JDK 24 using the following dummy Gradle Spring >>> Boot project: https://github.com/estigma88/java-aot/tree/master. As we >>> want to generate the AOT cache from the tests, we added a custom Test task >>> to receive the AOT flags for the JVM as follows: >>> >>> tasks.withType { >>> useJUnitPlatform() >>> >>> project.findProperty("aot")?.let { >>> val aotFlags = it.toString().split(",") >>> jvmArgs(aotFlags) >>> } >>> } >>> >>> And we are using the following commands to generate the AOT cache: >>> >>> ./gradlew :test >>> -Paot="-XX:AOTMode=record,-XX:AOTConfiguration=app.aotconf" -> This one >>> succeed >>> >>> ./gradlew :test >>> -Paot="-XX:AOTMode=create,-XX:AOTConfiguration=app.aotconf,-XX:AOTCache=app.aot" >>> -> This one fails >>> >>> The following are the logs for the create command: >>> >>> [1,328s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.http.client.ReactorResourceFactory >>> [1,579s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.test.context.transaction.TransactionalTestExecutionListener >>> [1,581s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener >>> [1,668s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.boot.logging.log4j2.Log4J2LoggingSystem >>> [2,412s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.http.codec.multipart.DefaultPartHttpMessageReader >>> [2,575s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration >>> [2,577s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration >>> [2,799s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer >>> [3,029s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter >>> [3,109s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.boot.http.client.JettyClientHttpRequestFactoryBuilder >>> [3,110s][warning][cds] Preload Warning: Verification failed for >>> org.springframework.boot.http.client.HttpComponentsClientHttpRequestFactoryBuilder >>> [3,180s][warning][cds] java.lang.ClassNotFoundException: >>> org.mockito.internal.creation.bytebuddy.inject.MockMethodDispatcher >>> [3,180s][warning][cds] Preload Warning: Cannot find >>> org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher >>> [3,196s][warning][cds] Preload Warning: Verification failed for >>> org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator >>> [3,197s][warning][cds] java.lang.NoClassDefFoundError: >>> org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher >>> [3,197s][warning][cds] Preload Warning: Cannot find >>> org/mockito/internal/creation/bytebuddy/MockMethodAdvice >>> [3,307s][warning][cds] java.lang.ClassNotFoundException: >>> net.bytebuddy.utility.Invoker$Dispatcher >>> [3,307s][warning][cds] Preload Warning: Cannot find >>> net/bytebuddy/utility/Invoker$Dispatcher >>> [3,906s][warning][cds,resolve] : >>> An error has occurred while processing class list file app.aotconf >>> 9635:5. >>> [3,906s][warning][cds,resolve] @cp >>> org/mockito/internal/creation/bytebuddy/MockMethodAdvice 1 2 7 9 10 11 17 >>> 22 26 28 29 33 36 40 44 48 258 >>> class org/mockito/internal/creation/bytebuddy/MockMethodAdvice is not >>> (yet) loaded by one of the built-in loaders[3,906s][warning][cds,resolve] >>> ^ >>> [3,906s][warning][cds,resolve] Your classlist may be out of sync with >>> the JDK or the application. >>> An error has occurred while processing class list file app.aotconf >>> 11862:5. >>> [4,467s][warning][cds,resolve] : >>> class >>> org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher is not >>> (yet) loaded by one of the built-in loaders[4,467s][warning][cds,resolve] >>> @cp org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher 1 2 >>> 8 14 20 25 27 38 59 >>> [4,467s][warning][cds,resolve] ^ >>> [4,467s][warning][cds,resolve] Your classlist may be out of sync with >>> the JDK or the application. >>> [4,608s][warning][cds ] Preload Warning: Verification failed for >>> org.springframework.web.servlet.view.freemarker.FreeMarkerView >>> [4,648s][error ][cds ] Error: non-empty directory >>> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/test' >>> [4,648s][error ][cds ] Error: non-empty directory >>> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/classes/java/main' >>> [4,648s][error ][cds ] Error: non-empty directory >>> '/home/danielpelaez/Documents/Distribution/aot/java-aot/build/resources/main' >>> Hint: enable -Xlog:class+path=info to diagnose the failure >>> Error occurred during CDS dumping >>> Cannot have non-empty directory in paths >>> >>> Error logs seem related to the AOT feature and not Gradle, but you will >>> know better. >>> >>> Any help would be appreciated. >>> >>> -- >>> Daniel >>> e. estigma88 at gmail.com >>> >>> >> >> -- >> Daniel >> e. estigma88 at gmail.com >> > > This electronic communication and the information and any files > transmitted with it, or attached to it, are confidential and are intended > solely for the use of the individual or entity to whom it is addressed and > may contain information that is confidential, legally privileged, protected > by privacy laws, or otherwise restricted from disclosure to anyone else. If > you are not the intended recipient or the person responsible for delivering > the e-mail to the intended recipient, you are hereby notified that any use, > copying, distributing, dissemination, forwarding, printing, or copying of > this e-mail is strictly prohibited. If you received this e-mail in error, > please return the e-mail to the sender, delete it from your computer, and > destroy any printed copy of it. -- Daniel e. estigma88 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From estigma88 at gmail.com Tue May 13 18:12:21 2025 From: estigma88 at gmail.com (Daniel Andres Pelaez Lopez) Date: Tue, 13 May 2025 13:12:21 -0500 Subject: JEP 515: Ahead-of-Time Method Profiling, how to generate the profiles on hot methods? Message-ID: Hi everyone, >From JEP 515: Ahead-of-Time Method Profiling, I read the following: "the AOT cache now also stores method profiles that the JVM would otherwise need to collect in the early part of an application's run" And "The net effect of cached profiles is that the JIT runs earlier and with more accuracy, using the profiles to optimize the hot methods so that the application experiences a shorter warmup period" My question is: what's need it to generate the profiles on the training run? My understanding is that JIT requires to see a hot method being executed hundreds of times to later optimize it, if we need to replicate that behavior on a training run, it means we need to load tests the app over what we think are the hot paths. If JEP 515 only needs one training run of the hot path, instead of hundreds, the training run complexity will decrease, as it requires not a load test, but just a smoke test. I would like to understand better how the training run should behave for this JEP. Regards -- Daniel e. estigma88 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Wed May 14 05:40:36 2025 From: duke at openjdk.org (duke) Date: Wed, 14 May 2025 05:40:36 GMT Subject: git: openjdk/leyden: premain: 2 new changesets Message-ID: <452d3524-7ef1-4790-9a50-5aa346fb47ef@openjdk.org> Changeset: aae2bb62 Branch: premain Author: Vladimir Kozlov Date: 2025-05-01 21:03:24 +0000 URL: https://git.openjdk.org/leyden/commit/aae2bb62499855e3da33c06547d437e49c91a14b 8350209: Preserve adapters in AOT cache Co-authored-by: Ashutosh Mehra Reviewed-by: vlivanov, asmehra, ihse, iklam ! make/hotspot/lib/JvmFeatures.gmk ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/arm/sharedRuntime_arm.cpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/s390/sharedRuntime_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/zero/sharedRuntime_zero.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp + src/hotspot/share/cds/aotCacheAccess.cpp + src/hotspot/share/cds/aotCacheAccess.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveBuilder.hpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/compactHashtable.hpp + src/hotspot/share/code/aotCodeCache.cpp + src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/include/cds.h ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/nmt/virtualMemoryTracker.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/init.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! test/hotspot/jtreg/TEST.groups + test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 2737ea68 Branch: premain Author: Vladimir Kozlov Date: 2025-05-13 22:39:19 +0000 URL: https://git.openjdk.org/leyden/commit/2737ea68a988ad3e2e6cbd6399761d7cb2e8c340 Merge branch 'master' into premain ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! test/hotspot/jtreg/TEST.groups ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/compiler/oopMap.cpp ! src/hotspot/share/compiler/oopMap.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! test/hotspot/jtreg/TEST.groups From asmehra at openjdk.org Wed May 14 15:40:46 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 15:40:46 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline Message-ID: Additional cleanup following Vladimir's merge of mainline to premain. ------------- Commit messages: - Some AOTCodeCache cleanup after merge from mainline Changes: https://git.openjdk.org/leyden/pull/66/files Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=66&range=00 Stats: 671 lines in 5 files changed: 11 ins; 652 del; 8 mod Patch: https://git.openjdk.org/leyden/pull/66.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/66/head:pull/66 PR: https://git.openjdk.org/leyden/pull/66 From asmehra at openjdk.org Wed May 14 15:40:47 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 15:40:47 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:36:21 GMT, Ashutosh Mehra wrote: > Additional cleanup following Vladimir's merge of mainline to premain. fyi - @vnkozlov ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2880698090 From asmehra at openjdk.org Wed May 14 15:51:34 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 15:51:34 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: > Additional cleanup following Vladimir's merge of mainline to premain. Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: Fix minimal variant compile failure Signed-off-by: Ashutosh Mehra ------------- Changes: - all: https://git.openjdk.org/leyden/pull/66/files - new: https://git.openjdk.org/leyden/pull/66/files/eb0c4eb3..686f6bff Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=66&range=01 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=66&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/leyden/pull/66.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/66/head:pull/66 PR: https://git.openjdk.org/leyden/pull/66 From kvn at openjdk.org Wed May 14 16:33:20 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 16:33:20 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra Thank you for doing this, @ashu-mehra I will test it. ------------- PR Review: https://git.openjdk.org/leyden/pull/66#pullrequestreview-2840832956 From kvn at openjdk.org Wed May 14 18:37:20 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 18:37:20 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra The test hit assert running CDS test on Windows. I attached hs_err_pid44896.log to [JDK-8354887](https://bugs.openjdk.org/browse/JDK-8354887) since this one does not have JBS entry. # Internal Error (\workspace\open\src\hotspot\share\utilities/globalDefinitions.hpp:439), pid=44896, tid=37336 # assert(left >= right) failed: avoid underflow - left: 0x00000008003ba598 right: 0x000001ec04000000 V [jvm.dll+0x173eb] pointer_delta+0x4b (globalDefinitions.hpp:439) V [jvm.dll+0x2a29a8] AOTCodeCache::write_method+0x188 (aotCodeCache.cpp:2646) V [jvm.dll+0x2a2756] AOTCodeCache::write_metadata+0xa6 (aotCodeCache.cpp:2516) V [jvm.dll+0x2a34fb] AOTCodeCache::write_nmethod+0x7bb (aotCodeCache.cpp:1720) V [jvm.dll+0x2a18e2] AOTCodeCache::store_nmethod+0x122 (aotCodeCache.cpp:1564) V [jvm.dll+0x52dd98] ciEnv::register_method+0x458 (ciEnv.cpp:1260) ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881171347 From kvn at openjdk.org Wed May 14 18:40:02 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 18:40:02 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra We use `pointer_delta()` in `AOTCodeAddressTable::id_for_address()`: uint dist = (uint)pointer_delta(addr, (address)os::init, 1); `uint` could be definately small for difference. Any suggestions? ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881178578 From asmehra at openjdk.org Wed May 14 18:56:05 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 18:56:05 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 18:34:37 GMT, Vladimir Kozlov wrote: > The test hit assert running CDS test on Windows. I attached hs_err_pid44896.log to [JDK-8354887](https://bugs.openjdk.org/browse/JDK-8354887) since this one does not have JBS entry. I think this assert comes from: uint AOTCacheAccess::delta_from_shared_address_base(address addr) { if (CDSConfig::is_dumping_final_static_archive()) { assert(ArchiveBuilder::is_active(), "must be"); ArchiveBuilder* builder = ArchiveBuilder::current(); address requested_addr = builder->to_requested(builder->get_buffered_addr(addr)); return (uint)pointer_delta(requested_addr, (address)SharedBaseAddress, 1); } else { // Old CDS+AOT workflow. return (uint)pointer_delta(addr, (address)SharedBaseAddress, 1); } } The error log file shows SharedBaseAddress is `0x000001ec04000000` which matches with the value printed by the assert. ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881216144 From kvn at openjdk.org Wed May 14 19:44:15 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 19:44:15 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 18:53:03 GMT, Ashutosh Mehra wrote: >> The test hit assert running CDS test on Windows. I attached hs_err_pid44896.log to [JDK-8354887](https://bugs.openjdk.org/browse/JDK-8354887) since this one does not have JBS entry. >> >> >> # Internal Error (\workspace\open\src\hotspot\share\utilities/globalDefinitions.hpp:439), pid=44896, tid=37336 >> # assert(left >= right) failed: avoid underflow - left: 0x00000008003ba598 right: 0x000001ec04000000 >> >> V [jvm.dll+0x173eb] pointer_delta+0x4b (globalDefinitions.hpp:439) >> V [jvm.dll+0x2a29a8] AOTCodeCache::write_method+0x188 (aotCodeCache.cpp:2646) >> V [jvm.dll+0x2a2756] AOTCodeCache::write_metadata+0xa6 (aotCodeCache.cpp:2516) >> V [jvm.dll+0x2a34fb] AOTCodeCache::write_nmethod+0x7bb (aotCodeCache.cpp:1720) >> V [jvm.dll+0x2a18e2] AOTCodeCache::store_nmethod+0x122 (aotCodeCache.cpp:1564) >> V [jvm.dll+0x52dd98] ciEnv::register_method+0x458 (ciEnv.cpp:1260) > >> The test hit assert running CDS test on Windows. I attached hs_err_pid44896.log to [JDK-8354887](https://bugs.openjdk.org/browse/JDK-8354887) since this one does not have JBS entry. > > I think this assert comes from: > > uint AOTCacheAccess::delta_from_shared_address_base(address addr) { > if (CDSConfig::is_dumping_final_static_archive()) { > assert(ArchiveBuilder::is_active(), "must be"); > ArchiveBuilder* builder = ArchiveBuilder::current(); > address requested_addr = builder->to_requested(builder->get_buffered_addr(addr)); > return (uint)pointer_delta(requested_addr, (address)SharedBaseAddress, 1); > } else { > // Old CDS+AOT workflow. > return (uint)pointer_delta(addr, (address)SharedBaseAddress, 1); > } > } > > The error log file shows SharedBaseAddress is `0x000001ec04000000` which matches with the value printed by the assert. @ashu-mehra Can you look why it could happened? ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881356446 From kvn at openjdk.org Wed May 14 19:51:11 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 19:51:11 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: <_7m--rpAoteJBVtHndqS94-WFXFGlKb9_jUeegwOwrk=.20fbe983-3c26-40a8-ace3-9ed14ab10e84@github.com> On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra I mean, is the assert is too strong for our case or we got "bad" address? ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881377531 From asmehra at openjdk.org Wed May 14 19:57:07 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 19:57:07 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra No, I don't think assert is a problem here. It seems to be a genuine bug. We got a Method pointer `0x00000008003ba598` which seems to be at an offset 0x3ba598 from the default value of SharedBaseAddress (0x8,0000,0000). However, the logs indicate the SharedBaseAddress is `0x000001ec04000000`. So ideally we should have got the Method pointer as `0x000001ec043ba598`. I am looking into it. ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881392097 From asmehra at openjdk.org Wed May 14 20:13:15 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 20:13:15 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra I got a recreate by passing `-XX:ArchiveRelocationMode=1` to the assembly phase. ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881430964 From kvn at openjdk.org Wed May 14 20:32:28 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 20:32:28 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra I think you can push current changes since it was the only failure I got. And we saw failures on Windows before. Is this affects mainline too? ------------- Marked as reviewed by kvn (Committer). PR Review: https://git.openjdk.org/leyden/pull/66#pullrequestreview-2841428910 PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881481523 From asmehra at openjdk.org Wed May 14 20:39:00 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 20:39:00 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: <1tQG2-Wx3d-UQ8h5UgDjBjKqECKuZOTEv6_wI3Lw954=.949161bd-9d5d-464e-9d5a-db13486abd7b@github.com> On Wed, 14 May 2025 20:29:29 GMT, Vladimir Kozlov wrote: > I think you can push current changes since it was the only failure I got. And we saw failures on Windows before. I think this bug may already be present in premain. And it points out we should also add test for using AOTCache with different combinations of ArchiveRelocationMode if it is not already there. @iklam do you know if we have such tests in mainline or premain? ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881498574 From asmehra at openjdk.org Wed May 14 20:53:25 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 20:53:25 GMT Subject: git: openjdk/leyden: premain: Some AOTCodeCache cleanup after merge from mainline Message-ID: Changeset: 7dac2e39 Branch: premain Author: Ashutosh Mehra Date: 2025-05-14 20:50:40 +0000 URL: https://git.openjdk.org/leyden/commit/7dac2e39a298de47a0b8d7dae49ee2c8cb4156bc Some AOTCodeCache cleanup after merge from mainline Reviewed-by: kvn ! src/hotspot/cpu/x86/runtime_x86_64.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/nmethod.hpp From asmehra at openjdk.org Wed May 14 20:53:10 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 20:53:10 GMT Subject: Integrated: Some AOTCodeCache cleanup after merge from mainline In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:36:21 GMT, Ashutosh Mehra wrote: > Additional cleanup following Vladimir's merge of mainline to premain. This pull request has now been integrated. Changeset: 7dac2e39 Author: Ashutosh Mehra URL: https://git.openjdk.org/leyden/commit/7dac2e39a298de47a0b8d7dae49ee2c8cb4156bc Stats: 670 lines in 5 files changed: 11 ins; 652 del; 7 mod Some AOTCodeCache cleanup after merge from mainline Reviewed-by: kvn ------------- PR: https://git.openjdk.org/leyden/pull/66 From iklam at openjdk.org Wed May 14 21:09:05 2025 From: iklam at openjdk.org (Ioi Lam) Date: Wed, 14 May 2025 21:09:05 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: <1tQG2-Wx3d-UQ8h5UgDjBjKqECKuZOTEv6_wI3Lw954=.949161bd-9d5d-464e-9d5a-db13486abd7b@github.com> References: <1tQG2-Wx3d-UQ8h5UgDjBjKqECKuZOTEv6_wI3Lw954=.949161bd-9d5d-464e-9d5a-db13486abd7b@github.com> Message-ID: On Wed, 14 May 2025 20:36:02 GMT, Ashutosh Mehra wrote: > > I think you can push current changes since it was the only failure I got. And we saw failures on Windows before. > > I think this bug may already be present in premain. And it points out we should also add test for using AOTCache with different combinations of ArchiveRelocationMode if it is not already there. @iklam do you know if we have such tests in mainline or premain? We have these tests, but they are disabled by test/hotspot/jtreg/ProblemList.txt because of [JDK-8340474](https://bugs.openjdk.org/browse/JDK-8340474) runtime/cds/appcds/ArchiveRelocationTest.java 8340474 generic-all runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java 8340474 generic-all ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881579252 From asmehra at openjdk.org Wed May 14 21:14:10 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Wed, 14 May 2025 21:14:10 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra [JDK-8340474](https://bugs.openjdk.org/browse/JDK-8340474) mentions the same failure that Vladimir reported on Win. ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881590493 From kvn at openjdk.org Wed May 14 21:28:18 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Wed, 14 May 2025 21:28:18 GMT Subject: RFR: Some AOTCodeCache cleanup after merge from mainline [v2] In-Reply-To: References: Message-ID: <8OsrNb58_g3IN78SLoULaD1K6WM05O9ycGRcwYAVV1I=.e18a6be1-b3ea-4df0-b09d-047fc44c5014@github.com> On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra wrote: >> Additional cleanup following Vladimir's merge of mainline to premain. > > Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: > > Fix minimal variant compile failure > > Signed-off-by: Ashutosh Mehra Okay, it is known failure then. ------------- PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881619732 From kvn at openjdk.org Fri May 16 02:38:46 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 02:38:46 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline Message-ID: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. Tested premain-tier1. ------------- Commit messages: - 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline Changes: https://git.openjdk.org/leyden/pull/67/files Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=67&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8347830 Stats: 62 lines in 3 files changed: 40 ins; 16 del; 6 mod Patch: https://git.openjdk.org/leyden/pull/67.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/67/head:pull/67 PR: https://git.openjdk.org/leyden/pull/67 From kvn at openjdk.org Fri May 16 02:38:46 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 02:38:46 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 02:33:45 GMT, Vladimir Kozlov wrote: > The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. > > An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. > > During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. > > Tested premain-tier1. @ashu-mehra and @adinn please look. ------------- PR Comment: https://git.openjdk.org/leyden/pull/67#issuecomment-2885481594 From asmehra at openjdk.org Fri May 16 14:48:09 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 14:48:09 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 02:33:45 GMT, Vladimir Kozlov wrote: > The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. > > An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. > > During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. > > Tested premain-tier1. src/hotspot/share/cds/cdsConfig.cpp line 140: > 138: FLAG_SET_ERGO_IF_DEFAULT(UseCompatibleCompressedOops, true); > 139: } else if (!FLAG_IS_DEFAULT(UseCompatibleCompressedOops)) { > 140: FLAG_SET_ERGO(UseCompatibleCompressedOops, false); Why do we need to set it to false explicitly here? If it is not default shouldn't we use whatever value the user specified? src/hotspot/share/memory/memoryReserver.cpp line 556: > 554: bool unscaled = false; > 555: bool zerobased = false; > 556: bool heapbased = UseCompatibleCompressedOops; Use of `heapbased` is a bit confusing to me. Can we restructure it like this: bool unscaled = false; bool zerobased = false; if (UseCompatibleCompressedOops) { unscaled = (heap_end_address <= (char*)UnscaledOopHeapMax); zerobased = (heap_end_address <= (char*)OopEncodingHeapMax); } size_t noaccess_prefix = (UseCompatibleCompressedOops || !zerobased) ? noaccess_prefix_size : 0; ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/67#discussion_r2093194599 PR Review Comment: https://git.openjdk.org/leyden/pull/67#discussion_r2093194693 From kvn at openjdk.org Fri May 16 15:01:09 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 15:01:09 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 14:45:17 GMT, Ashutosh Mehra wrote: >> The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. >> >> An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. >> >> During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. >> >> Tested premain-tier1. > > src/hotspot/share/cds/cdsConfig.cpp line 140: > >> 138: FLAG_SET_ERGO_IF_DEFAULT(UseCompatibleCompressedOops, true); >> 139: } else if (!FLAG_IS_DEFAULT(UseCompatibleCompressedOops)) { >> 140: FLAG_SET_ERGO(UseCompatibleCompressedOops, false); > > Why do we need to set it to false explicitly here? If it is not default shouldn't we use whatever value the user specified? I consider the flag make sense only for AOT code and not for general usage. See description: [globals.hpp#L132](https://github.com/openjdk/leyden/blob/premain/src/hotspot/share/runtime/globals.hpp#L132) We don't want generate more complex encoding if we don't generate/use AOT code. Or compressed oops are off. We had also recently discussed how we should disable some AOT features if AOT caching is off - the conclusion was that we should silently ignore them (may be produce UL output on demand). That is why I used ERGO setting. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/67#discussion_r2093217555 From kvn at openjdk.org Fri May 16 15:04:16 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 15:04:16 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 14:45:21 GMT, Ashutosh Mehra wrote: >> The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. >> >> An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. >> >> During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. >> >> Tested premain-tier1. > > src/hotspot/share/memory/memoryReserver.cpp line 556: > >> 554: bool unscaled = false; >> 555: bool zerobased = false; >> 556: bool heapbased = UseCompatibleCompressedOops; > > Use of `heapbased` is a bit confusing to me. Can we restructure it like this: > > bool unscaled = false; > bool zerobased = false; > if (UseCompatibleCompressedOops) { > unscaled = (heap_end_address <= (char*)UnscaledOopHeapMax); > zerobased = (heap_end_address <= (char*)OopEncodingHeapMax); > } > size_t noaccess_prefix = (UseCompatibleCompressedOops || !zerobased) ? noaccess_prefix_size : 0; I can do that. I got names from [CompressedOops::Mode](https://github.com/openjdk/leyden/blob/premain/src/hotspot/share/oops/compressedOops.hpp#L67) values ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/67#discussion_r2093223192 From asmehra at openjdk.org Fri May 16 15:20:19 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 15:20:19 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow Message-ID: This PR fixes a few things in the premain: 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. ------------- Commit messages: - 8357060: [premain] assert(left >= right) failed: avoid underflow Changes: https://git.openjdk.org/leyden/pull/68/files Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=68&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8357060 Stats: 161 lines in 8 files changed: 101 ins; 27 del; 33 mod Patch: https://git.openjdk.org/leyden/pull/68.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/68/head:pull/68 PR: https://git.openjdk.org/leyden/pull/68 From asmehra at openjdk.org Fri May 16 15:20:19 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 15:20:19 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: On Fri, 16 May 2025 15:15:39 GMT, Ashutosh Mehra wrote: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. @vnkozlov @adinn can you please review these changes. ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2887019787 From asmehra at openjdk.org Fri May 16 15:36:10 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 15:36:10 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 14:58:08 GMT, Vladimir Kozlov wrote: >> src/hotspot/share/cds/cdsConfig.cpp line 140: >> >>> 138: FLAG_SET_ERGO_IF_DEFAULT(UseCompatibleCompressedOops, true); >>> 139: } else if (!FLAG_IS_DEFAULT(UseCompatibleCompressedOops)) { >>> 140: FLAG_SET_ERGO(UseCompatibleCompressedOops, false); >> >> Why do we need to set it to false explicitly here? If it is not default shouldn't we use whatever value the user specified? > > I consider the flag make sense only for AOT code and not for general usage. See description: [globals.hpp#L132](https://github.com/openjdk/leyden/blob/premain/src/hotspot/share/runtime/globals.hpp#L132) > > We don't want generate more complex encoding if we don't generate/use AOT code. Or compressed oops are off. > We had also recently discussed how we should disable some AOT features if AOT caching is off - the conclusion was that we should silently ignore them (may be produce UL output on demand). That is why I used ERGO setting. okay ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/67#discussion_r2093273404 From asmehra at openjdk.org Fri May 16 15:52:06 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 15:52:06 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: On Fri, 16 May 2025 15:15:39 GMT, Ashutosh Mehra wrote: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. @shipilev - fyi after these changes we should also be able to set ArchiveRelocationMode to 1 by default in premain (See https://bugs.openjdk.org/browse/JDK-8340474). ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2887099191 From kvn at openjdk.org Fri May 16 16:00:02 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 16:00:02 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: On Fri, 16 May 2025 15:15:39 GMT, Ashutosh Mehra wrote: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. src/hotspot/share/code/aotCodeCache.cpp line 1998: > 1996: continue; > 1997: } > 1998: Method* m = (Method*)((address)SharedBaseAddress + entry->method_offset()); Why not `MetaspaceShared::requested_base_address()` here? src/hotspot/share/code/aotCodeCache.cpp line 3457: > 3455: SET_ADDRESS(_extrs, SharedRuntime::handle_wrong_method_abstract); > 3456: SET_ADDRESS(_extrs, SharedRuntime::handle_wrong_method_ic_miss); > 3457: #if defined(AARCH64) Exclude Zero. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/68#discussion_r2093308603 PR Review Comment: https://git.openjdk.org/leyden/pull/68#discussion_r2093310136 From asmehra at openjdk.org Fri May 16 16:15:04 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 16:15:04 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: <3EcOiJGxUS0pkiIji2nTJGAiuPk-9sqB2rLeJ8nGB7c=.e39a69b1-4860-4e3f-9ad2-837d11d38607@github.com> On Fri, 16 May 2025 15:56:48 GMT, Vladimir Kozlov wrote: >> This PR fixes a few things in the premain: >> 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. >> 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. >> 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. >> 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. > > src/hotspot/share/code/aotCodeCache.cpp line 1998: > >> 1996: continue; >> 1997: } >> 1998: Method* m = (Method*)((address)SharedBaseAddress + entry->method_offset()); > > Why not `MetaspaceShared::requested_base_address()` here? Because when loading the AOT Cache, SharedBaseAddress is set to the mapped base address (in `MetaspaceShared::map_archives`). So it is fine to use it here. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/68#discussion_r2093328966 From asmehra at openjdk.org Fri May 16 16:15:04 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 16:15:04 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: <3EcOiJGxUS0pkiIji2nTJGAiuPk-9sqB2rLeJ8nGB7c=.e39a69b1-4860-4e3f-9ad2-837d11d38607@github.com> References: <3EcOiJGxUS0pkiIji2nTJGAiuPk-9sqB2rLeJ8nGB7c=.e39a69b1-4860-4e3f-9ad2-837d11d38607@github.com> Message-ID: On Fri, 16 May 2025 16:11:37 GMT, Ashutosh Mehra wrote: >> src/hotspot/share/code/aotCodeCache.cpp line 1998: >> >>> 1996: continue; >>> 1997: } >>> 1998: Method* m = (Method*)((address)SharedBaseAddress + entry->method_offset()); >> >> Why not `MetaspaceShared::requested_base_address()` here? > > Because when loading the AOT Cache, SharedBaseAddress is set to the mapped base address (in `MetaspaceShared::map_archives`). So it is fine to use it here. Same applies to `AOTCodeReader::read_klass` and `AOTCodeReader::read_method`. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/68#discussion_r2093330139 From kvn at openjdk.org Fri May 16 18:05:00 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 18:05:00 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: <7qmFZ4HLXK6PJS4VQ3miez-oNMlT3ptrCJKeGvNrQyQ=.5f1d6e01-8fb6-4db3-9a33-907d60368a01@github.com> On Fri, 16 May 2025 15:15:39 GMT, Ashutosh Mehra wrote: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. Can you add new methods to `AOTCacheAccess` to get addresses based on offsets instead of: `(Method*)((address)SharedBaseAddress + entry->method_offset());` ? ------------- Changes requested by kvn (Committer). PR Review: https://git.openjdk.org/leyden/pull/68#pullrequestreview-2847313056 From asmehra at openjdk.org Fri May 16 18:08:00 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 18:08:00 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: <7qmFZ4HLXK6PJS4VQ3miez-oNMlT3ptrCJKeGvNrQyQ=.5f1d6e01-8fb6-4db3-9a33-907d60368a01@github.com> References: <7qmFZ4HLXK6PJS4VQ3miez-oNMlT3ptrCJKeGvNrQyQ=.5f1d6e01-8fb6-4db3-9a33-907d60368a01@github.com> Message-ID: <8nQPyxauYGO-f1W7_Hg6sVBYOH6EQmy_qDGob3h49Rw=.0a46edbd-f24b-4b7d-a9e0-73ca141bdc5b@github.com> On Fri, 16 May 2025 18:02:24 GMT, Vladimir Kozlov wrote: > Can you add new methods to AOTCacheAccess to get addresses based on offsets instead of: (Method*)((address)SharedBaseAddress + entry->method_offset()); ? Yes, that make sense. I will add the method in `AOTCacheAccess`. ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2887373113 From kvn at openjdk.org Fri May 16 18:09:41 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 18:09:41 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline [v2] In-Reply-To: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: > The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. > > An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. > > During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. > > Tested premain-tier1. Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: Added missing checks. Address comment. ------------- Changes: - all: https://git.openjdk.org/leyden/pull/67/files - new: https://git.openjdk.org/leyden/pull/67/files/b4ed6324..4563786d Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=67&range=01 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=67&range=00-01 Stats: 7 lines in 1 file changed: 1 ins; 2 del; 4 mod Patch: https://git.openjdk.org/leyden/pull/67.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/67/head:pull/67 PR: https://git.openjdk.org/leyden/pull/67 From kvn at openjdk.org Fri May 16 18:09:41 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 18:09:41 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 02:33:45 GMT, Vladimir Kozlov wrote: > The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. > > An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. > > During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. > > Tested premain-tier1. @ashu-mehra I refactored code as you asked. @ashu-mehra I refactored code as you asked. I looked on our old code where we added this flag and found that I missed 2 other places to check which I added now. ------------- PR Comment: https://git.openjdk.org/leyden/pull/67#issuecomment-2887372274 PR Comment: https://git.openjdk.org/leyden/pull/67#issuecomment-2887375237 From asmehra at openjdk.org Fri May 16 19:19:02 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Fri, 16 May 2025 19:19:02 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline [v2] In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 18:09:41 GMT, Vladimir Kozlov wrote: >> The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. >> >> An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. >> >> During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. >> >> Tested premain-tier1. > > Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: > > Added missing checks. Address comment. looks good to me ------------- Marked as reviewed by asmehra (Committer). PR Review: https://git.openjdk.org/leyden/pull/67#pullrequestreview-2847445506 From kvn at openjdk.org Fri May 16 19:30:01 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Fri, 16 May 2025 19:30:01 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline [v2] In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 19:16:01 GMT, Ashutosh Mehra wrote: >> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: >> >> Added missing checks. Address comment. > > looks good to me Thank you. @ashu-mehra ------------- PR Comment: https://git.openjdk.org/leyden/pull/67#issuecomment-2887518587 From duke at openjdk.org Fri May 16 22:03:30 2025 From: duke at openjdk.org (duke) Date: Fri, 16 May 2025 22:03:30 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 126 new changesets Message-ID: <35a063c1-288a-45e6-ba28-3eae6e3e194c@openjdk.org> Changeset: 375f3dc9 Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-09 17:50:51 +0000 URL: https://git.openjdk.org/leyden/commit/375f3dc9ed0f1704e726d0d704420c38a0a5513c 8356053: Test java/awt/Toolkit/Headless/HeadlessToolkit.java fails by timeout Reviewed-by: prr, kizune ! test/jdk/java/awt/Toolkit/Headless/HeadlessToolkit.java Changeset: 30cb94d6 Branch: hermetic-java-runtime Author: Phil Race Date: 2025-05-09 18:10:18 +0000 URL: https://git.openjdk.org/leyden/commit/30cb94d6b04a2be764a11b38f8bacabc7aaf9388 8346683: Problem list automated tests that fail on macOS15 Reviewed-by: dmarkov ! test/jdk/ProblemList.txt Changeset: 3b20bed6 Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-09 18:22:45 +0000 URL: https://git.openjdk.org/leyden/commit/3b20bed6e2599fbddb16b75c06ee55637dd6836f 8356229: cmp-baseline build fail due to lib/modules difference Reviewed-by: iklam, erikj, liach ! make/GenerateLinkOptData.gmk Changeset: 68a11850 Branch: hermetic-java-runtime Author: Koushik Thirupattur Committer: Sean Mullan Date: 2025-05-09 19:20:17 +0000 URL: https://git.openjdk.org/leyden/commit/68a118509a562334eb8c099129d79520041b10cf 8310003: Improve logging when default truststore is inaccessible Reviewed-by: mullan ! src/java.base/share/classes/sun/security/ssl/TrustStoreManager.java Changeset: 8fadf295 Branch: hermetic-java-runtime Author: Roger Riggs Date: 2025-05-09 21:48:16 +0000 URL: https://git.openjdk.org/leyden/commit/8fadf295b0ba720a5bc728c6b4d159e60447de97 8351443: Improve robustness of StringBuilder Reviewed-by: liach, rgiulietti, bchristi, jpai ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java ! src/java.base/share/classes/java/lang/StringLatin1.java ! src/java.base/share/classes/java/lang/StringUTF16.java ! test/hotspot/jtreg/compiler/patches/java.base/java/lang/Helper.java ! test/jdk/java/lang/StringBuilder/CompactStringBuilder.java ! test/jdk/java/lang/StringBuilder/HugeCapacity.java + test/jdk/java/lang/StringBuilder/StressSBTest.java ! test/jdk/java/lang/StringBuilder/StringBuilderRepeat.java Changeset: 0f2a6c26 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-09 21:58:24 +0000 URL: https://git.openjdk.org/leyden/commit/0f2a6c266b2e3aab59a5cd183e10dfc4820ca92d 8356577: Migrate ClassFileVersionTest to be feature-agnostic Reviewed-by: dholmes, alanb ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java Changeset: 3b336a9d Branch: hermetic-java-runtime Author: Jatin Bhateja Date: 2025-05-09 23:33:32 +0000 URL: https://git.openjdk.org/leyden/commit/3b336a9da091c4df4373d2b845b60d2a7a4e3b1d 8352675: Support Intel AVX10 converged vector ISA feature detection Reviewed-by: sviswanathan, vlivanov, yzheng ! src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp ! src/hotspot/cpu/x86/vmStructs_x86.hpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/cpu/x86/vm_version_x86.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/runtime/abstract_vm_version.cpp ! src/hotspot/share/runtime/abstract_vm_version.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/amd64/AMD64.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotVMConfig.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbLongConstant.java ! test/lib-test/jdk/test/whitebox/CPUInfoTest.java Changeset: fa7c5a65 Branch: hermetic-java-runtime Author: Alexander Matveev Date: 2025-05-10 02:59:05 +0000 URL: https://git.openjdk.org/leyden/commit/fa7c5a65ba62da9b6598d484db923119ace0cf90 8356664: [macos] AppContentTest fails after JDK-8352480 Reviewed-by: asemenyuk ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: 43696030 Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-10 15:16:19 +0000 URL: https://git.openjdk.org/leyden/commit/436960308cebe020549fcdbb4bcb12c90ce7aeb8 8356597: AOT cache and CDS archive should not be created in read-only mode Reviewed-by: shade, kvn ! src/hotspot/share/cds/filemap.cpp Changeset: 97d2a379 Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-11 07:39:15 +0000 URL: https://git.openjdk.org/leyden/commit/97d2a37927fca993537644e748c8abca58752d44 8355790: Enhance code consistency: java.desktop/unix:sun.awt Reviewed-by: achung, prr ! src/java.desktop/unix/classes/sun/awt/FcFontManager.java ! src/java.desktop/unix/classes/sun/awt/PlatformGraphicsInfo.java ! src/java.desktop/unix/classes/sun/awt/UNIXToolkit.java ! src/java.desktop/unix/classes/sun/awt/X11/GtkFileDialogPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/InfoWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifColorUtilities.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifDnDConstants.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifDnDDragSourceProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifDnDDropTargetProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/Native.java ! src/java.desktop/unix/classes/sun/awt/X11/UnsafeXDisposerRecord.java ! src/java.desktop/unix/classes/sun/awt/X11/WindowDimensions.java ! src/java.desktop/unix/classes/sun/awt/X11/WindowPropertyGetter.java ! src/java.desktop/unix/classes/sun/awt/X11/XAWTLookAndFeel.java ! src/java.desktop/unix/classes/sun/awt/X11/XAWTXSettings.java ! src/java.desktop/unix/classes/sun/awt/X11/XAtom.java ! src/java.desktop/unix/classes/sun/awt/X11/XAtomList.java ! src/java.desktop/unix/classes/sun/awt/X11/XAwtState.java ! src/java.desktop/unix/classes/sun/awt/X11/XBaseMenuWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XBaseWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XButtonPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XCanvasPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XCheckboxPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XChoicePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XClipboard.java ! src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XContentWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XCreateWindowParams.java ! src/java.desktop/unix/classes/sun/awt/X11/XCustomCursor.java ! src/java.desktop/unix/classes/sun/awt/X11/XDataTransferer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDecoratedPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDesktopPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDialogPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDnDConstants.java ! src/java.desktop/unix/classes/sun/awt/X11/XDnDDragSourceProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XDnDDropTargetProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XDragSourceContextPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDragSourceProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XDropTargetContextPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedCanvasPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedChildProxy.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedChildProxyPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedClientHelper.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedServerTester.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbeddedFrame.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbeddedFramePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbeddingContainer.java ! src/java.desktop/unix/classes/sun/awt/X11/XErrorHandler.java ! src/java.desktop/unix/classes/sun/awt/X11/XException.java ! src/java.desktop/unix/classes/sun/awt/X11/XFileDialogPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XFocusProxyWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XFontPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XFramePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XGlobalCursorManager.java ! src/java.desktop/unix/classes/sun/awt/X11/XHorizontalScrollbar.java ! src/java.desktop/unix/classes/sun/awt/X11/XIconWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XInputMethod.java ! src/java.desktop/unix/classes/sun/awt/X11/XInputMethodDescriptor.java ! src/java.desktop/unix/classes/sun/awt/X11/XKeyboardFocusManagerPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XKeysym.java ! src/java.desktop/unix/classes/sun/awt/X11/XLabelPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XLightweightFramePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XListPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMSelection.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuBarPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuItemPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XMouseDragGestureRecognizer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMouseInfoPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XNETProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XPanelPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XPopupMenuPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XPropertyCache.java ! src/java.desktop/unix/classes/sun/awt/X11/XQueryTree.java ! src/java.desktop/unix/classes/sun/awt/X11/XRepaintArea.java ! src/java.desktop/unix/classes/sun/awt/X11/XRootWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XScrollPanePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XScrollbar.java ! src/java.desktop/unix/classes/sun/awt/X11/XScrollbarPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XSelection.java ! src/java.desktop/unix/classes/sun/awt/X11/XSystemTrayPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XTextAreaPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XToolkitThreadBlockedHandler.java ! src/java.desktop/unix/classes/sun/awt/X11/XTranslateCoordinates.java ! src/java.desktop/unix/classes/sun/awt/X11/XTrayIconPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XVerticalScrollbar.java ! src/java.desktop/unix/classes/sun/awt/X11/XWINProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XWM.java ! src/java.desktop/unix/classes/sun/awt/X11/XWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XWindowAttributesData.java ! src/java.desktop/unix/classes/sun/awt/X11/XWindowPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XWrapperBase.java ! src/java.desktop/unix/classes/sun/awt/X11/XlibUtil.java ! src/java.desktop/unix/classes/sun/awt/X11CustomCursor.java ! src/java.desktop/unix/classes/sun/awt/X11FontManager.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsConfig.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsDevice.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsEnvironment.java ! src/java.desktop/unix/classes/sun/awt/X11InputMethod.java ! src/java.desktop/unix/classes/sun/awt/X11InputMethodBase.java ! src/java.desktop/unix/classes/sun/awt/X11InputMethodDescriptor.java ! src/java.desktop/unix/classes/sun/awt/XSettings.java ! src/java.desktop/unix/classes/sun/awt/screencast/ScreencastHelper.java ! src/java.desktop/unix/classes/sun/awt/screencast/TokenStorage.java Changeset: 74f047b8 Branch: hermetic-java-runtime Author: Erik Gahlin Date: 2025-05-11 22:40:29 +0000 URL: https://git.openjdk.org/leyden/commit/74f047b84d949891fb72e2f1c9eca7b0b4bd22c4 8356224: JFR: Default value of @Registered is ignored Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/ClassInspector.java + test/jdk/jdk/jfr/api/metadata/annotations/TestOverrideWithDefaultValue.java Changeset: d7cb933b Branch: hermetic-java-runtime Author: Anjian-Wen Committer: Fei Yang Date: 2025-05-12 03:01:46 +0000 URL: https://git.openjdk.org/leyden/commit/d7cb933b89839b692f5562aeeb92076cd25a99f6 8356593: RISC-V: Small improvement to array fill stub Reviewed-by: fyang ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp Changeset: de801fea Branch: hermetic-java-runtime Author: Hannes Greule Committer: Emanuel Peter Date: 2025-05-12 06:43:52 +0000 URL: https://git.openjdk.org/leyden/commit/de801fea76b1328f3bda503088618162388eb119 8353551: C2: Constant folding for ReverseBytes nodes Reviewed-by: epeter, vlivanov ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/subnode.hpp + test/hotspot/jtreg/compiler/c2/gvn/ReverseBytesConstantsTests.java Changeset: 45cf32bd Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-05-12 06:59:41 +0000 URL: https://git.openjdk.org/leyden/commit/45cf32bd2c9e44e2fcbb4b8d0714b87e078cdb7c 8347408: Create an internal method handle adapter for system calls with errno Reviewed-by: mcimadamore + src/java.base/share/classes/jdk/internal/foreign/CaptureStateUtil.java ! test/jdk/java/foreign/TestBufferStack.java + test/jdk/java/foreign/TestCaptureStateUtil.java + test/micro/org/openjdk/bench/java/lang/foreign/CaptureStateUtilBench.java Changeset: 43008b42 Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-05-12 07:12:19 +0000 URL: https://git.openjdk.org/leyden/commit/43008b42cf98466b4c4528d357bfcc2ae309770a 8356486: ReverseOrderListView should override reversed() to return `base` Reviewed-by: liach, smarks ! src/java.base/share/classes/java/util/ReverseOrderListView.java Changeset: a3afc9f7 Branch: hermetic-java-runtime Author: Ivan Walulya Date: 2025-05-12 08:15:53 +0000 URL: https://git.openjdk.org/leyden/commit/a3afc9f7ceba24ab607141426bb0a2693e6d37ca 8308854: G1 archive region allocation may expand/shrink the heap above/below -Xms Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp Changeset: 39a28ffe Branch: hermetic-java-runtime Author: Fredrik Bredberg Date: 2025-05-12 08:16:15 +0000 URL: https://git.openjdk.org/leyden/commit/39a28ffe4e23274dba34317d8960bfb7e6d203ed 8355646: Optimize ObjectMonitor::exit Reviewed-by: pchilanomate, coleenp ! src/hotspot/share/runtime/objectMonitor.cpp Changeset: 0258d999 Branch: hermetic-java-runtime Author: Saranya Natarajan Committer: Roberto Casta?eda Lozano Date: 2025-05-12 08:50:01 +0000 URL: https://git.openjdk.org/leyden/commit/0258d9998ebc523a6463818be00353c6ac8b7c9c 8347515: C2: assert(!success || (C->macro_count() == (old_macro_count - 1))) failed: elimination must have deleted one node from macro list Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp + test/hotspot/jtreg/compiler/macronodes/TestLoopStripMiningInMacroElimination.java Changeset: 2b325416 Branch: hermetic-java-runtime Author: Daniel Lund?n Date: 2025-05-12 09:02:25 +0000 URL: https://git.openjdk.org/leyden/commit/2b3254160933e8b11527f801507a9c01b90d22b0 8354767: Test crashed: assert(increase < max_live_nodes_increase_per_iteration) failed: excessive live node increase in single iteration of IGVN: 4470 (should be at most 4000) Reviewed-by: chagedorn, dfenacci, rcastanedalo, epeter ! src/hotspot/share/opto/phaseX.cpp Changeset: ab8c808e Branch: hermetic-java-runtime Author: Abhishek Kumar Date: 2025-05-12 09:15:13 +0000 URL: https://git.openjdk.org/leyden/commit/ab8c808ed8ebec4f70141ee31fbaf312fccf7fa4 8356752: Log mouse enter and exit events for debugging Reviewed-by: jdv, tr ! test/jdk/java/awt/List/ListEnterExitTest.java Changeset: 8545e135 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-12 12:25:13 +0000 URL: https://git.openjdk.org/leyden/commit/8545e1357142db2e008970095a3f74f8121dbcf2 8356642: RISC-V: enable hotspot/jtreg/compiler/vectorapi/VectorFusedMultiplyAddSubTest.java Reviewed-by: fyang, fjiang, mhaessig ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java ! test/hotspot/jtreg/compiler/vectorapi/VectorFusedMultiplyAddSubTest.java Changeset: 7ae52ce5 Branch: hermetic-java-runtime Author: Johan Sj?len Date: 2025-05-12 12:34:28 +0000 URL: https://git.openjdk.org/leyden/commit/7ae52ce572794f9d17446c66381f703ea1bb8b7c 8356390: Rename ResolvedIndyEntry::set_flags to set_has_appendix Co-authored-by: John R Rose Reviewed-by: coleenp, dholmes ! src/hotspot/share/oops/resolvedIndyEntry.hpp Changeset: f5525ecf Branch: hermetic-java-runtime Author: Archie Cobbs Date: 2025-05-12 14:42:27 +0000 URL: https://git.openjdk.org/leyden/commit/f5525ecf585b3876ae332d30b0e641ff0c844e58 8348410: Preview flag not checked during compilation resulting in runtime crash Co-authored-by: Aggelos Biboudis Reviewed-by: jlahoda, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/patterns/PrimitivePatternsSwitchRequirePreview.java Changeset: 8128f638 Branch: hermetic-java-runtime Author: Joel Sikstr?m Date: 2025-05-12 15:49:38 +0000 URL: https://git.openjdk.org/leyden/commit/8128f638fac39f6874c13364cbf742493745d845 8355692: Refactor stream indentation Reviewed-by: stefank, cnorrbin ! src/hotspot/os/bsd/memMapPrinter_macosx.cpp ! src/hotspot/os/linux/memMapPrinter_linux.cpp ! src/hotspot/os/windows/memMapPrinter_windows.cpp ! src/hotspot/share/classfile/defaultMethods.cpp ! src/hotspot/share/classfile/stackMapFrame.cpp ! src/hotspot/share/classfile/stackMapTable.cpp ! src/hotspot/share/classfile/verifier.cpp ! src/hotspot/share/compiler/compilationMemoryStatistic.cpp ! src/hotspot/share/gc/epsilon/epsilonHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/parallel/mutableNUMASpace.cpp ! src/hotspot/share/gc/parallel/parMarkBitMap.hpp ! src/hotspot/share/gc/parallel/psOldGen.cpp ! src/hotspot/share/gc/parallel/psYoungGen.cpp ! src/hotspot/share/gc/serial/defNewGeneration.cpp ! src/hotspot/share/gc/serial/tenuredGeneration.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/z/zHeap.cpp ! src/hotspot/share/gc/z/zMappedCache.cpp ! src/hotspot/share/gc/z/zPageAllocator.cpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/metaspace/metaspaceStatistics.cpp ! src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp ! src/hotspot/share/memory/metaspace/printMetaspaceInfoKlassClosure.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/virtualspace.cpp ! src/hotspot/share/nmt/memMapPrinter.cpp ! src/hotspot/share/nmt/memReporter.cpp ! src/hotspot/share/nmt/memReporter.hpp ! src/hotspot/share/nmt/memoryFileTracker.cpp ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/ostream.hpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/gtest/utilities/test_ostream.cpp Changeset: e4638954 Branch: hermetic-java-runtime Author: Mikael Vidstedt Date: 2025-05-12 16:31:12 +0000 URL: https://git.openjdk.org/leyden/commit/e4638954284a5e0592c27421ca53df0002bd0845 8356657: Use stable source-date for cmp-baseline jib profiles Reviewed-by: liach, iris, alanb, jpai, erikj ! make/conf/jib-profiles.js Changeset: 50dced88 Branch: hermetic-java-runtime Author: Mikael Vidstedt Date: 2025-05-12 16:31:24 +0000 URL: https://git.openjdk.org/leyden/commit/50dced88ff1aed23bb4c8fe9e4a08e6cc200b897 8356656: Drop unused DEVKIT_HOME from jib-profiles.js Reviewed-by: erikj ! make/conf/jib-profiles.js Changeset: 8d7866ef Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-12 16:48:13 +0000 URL: https://git.openjdk.org/leyden/commit/8d7866ef5fbf98eae6f30c4a6199a0e709f445a5 8356606: (fs) PosixFileAttributes.permissions() implementations should return an EnumSet Reviewed-by: liach, alanb ! src/java.base/unix/classes/sun/nio/fs/UnixFileAttributes.java Changeset: 45dfc2c6 Branch: hermetic-java-runtime Author: Daniel Fuchs Date: 2025-05-12 16:49:42 +0000 URL: https://git.openjdk.org/leyden/commit/45dfc2c6d6d6b2b0749347b0150bb22d49f12767 8353642: Deprecate URL::getPermission method and networking permission classes for removal Reviewed-by: djelinski, iris, mullan, michaelm ! src/java.base/share/classes/java/net/HttpURLConnection.java ! src/java.base/share/classes/java/net/NetPermission.java ! src/java.base/share/classes/java/net/URLConnection.java ! src/java.base/share/classes/java/net/URLPermission.java ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/ftp/FtpURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/https/HttpsURLConnectionImpl.java ! src/java.base/share/classes/sun/net/www/protocol/jar/JarURLConnection.java ! src/java.base/share/classes/sun/nio/ch/UnixDomainSockets.java ! src/java.base/windows/classes/sun/net/www/protocol/file/UNCFileURLConnection.java ! src/jdk.net/share/classes/jdk/net/NetworkPermission.java Changeset: 0f5c6081 Branch: hermetic-java-runtime Author: Roger Riggs Date: 2025-05-12 20:01:43 +0000 URL: https://git.openjdk.org/leyden/commit/0f5c608143413bc0d40fca31e097c7b40c7a6618 8356695: java/lang/StringBuilder/HugeCapacity.java failing with OOME Reviewed-by: liach, lancea, rgiulietti ! test/jdk/java/lang/StringBuilder/HugeCapacity.java Changeset: 2595fcc7 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-12 20:29:42 +0000 URL: https://git.openjdk.org/leyden/commit/2595fcc7cc49912d8ac54803a5f74e6f0a45f06f 8356192: Enable AOT code caching only on supported platforms Reviewed-by: shade, mdoerr, fyang ! src/hotspot/share/code/aotCodeCache.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: b6b5ac1e Branch: hermetic-java-runtime Author: Justin Lu Date: 2025-05-12 20:35:13 +0000 URL: https://git.openjdk.org/leyden/commit/b6b5ac1ef9042ed62a8358aa6943b8dc87dcf0ab 8348351: Improve lazy initialization of the available currencies set Reviewed-by: liach, naoto ! src/java.base/share/classes/java/util/Currency.java Changeset: c23469df Branch: hermetic-java-runtime Author: Kelvin Nilsen Date: 2025-05-12 23:14:27 +0000 URL: https://git.openjdk.org/leyden/commit/c23469df162498e30119f43bc3d1effa15574a42 8355340: GenShen: Remove unneeded log messages related to remembered set write table Reviewed-by: wkemper, ysr ! src/hotspot/share/gc/shenandoah/shenandoahScanRemembered.cpp Changeset: 303f4101 Branch: hermetic-java-runtime Author: Bhavana Kilambi Committer: Hao Sun Date: 2025-05-12 23:21:17 +0000 URL: https://git.openjdk.org/leyden/commit/303f4101d44835b9c62f46d89137ad218228c132 8355708: Two Float16 IR tests fail after JDK-8345125 Reviewed-by: jbhateja, haosun, mhaessig ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/compiler/c2/irTests/MulHFNodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/TestFloat16ScalarOperations.java Changeset: adebfa7f Branch: hermetic-java-runtime Author: Anjian-Wen Committer: Fei Yang Date: 2025-05-13 03:06:36 +0000 URL: https://git.openjdk.org/leyden/commit/adebfa7ffda6383f5793278ced14a193066c5f6a 8356700: RISC-V: Declare incompressible scope in fill_words / zero_memory assembler routines Reviewed-by: fyang, fjiang ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp Changeset: 4fc10a1e Branch: hermetic-java-runtime Author: Valerie Peng Date: 2025-05-13 03:46:30 +0000 URL: https://git.openjdk.org/leyden/commit/4fc10a1e7e9483ecddbaaa9fb52c4db52de86cc8 8356087: Problematic KeyInfo check using key algorithm in P11SecretKeyFactory class Reviewed-by: weijun ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java + test/jdk/sun/security/pkcs11/Mac/InitMacWithAnyKey.java Changeset: 24d77ade Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-13 04:44:07 +0000 URL: https://git.openjdk.org/leyden/commit/24d77adee9643c341d27366532c95923e1d97248 8356057: PrintingProcessor (-Xprint) does not print type variable bounds and type annotations for Object supertypes Reviewed-by: darcy, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + test/langtools/tools/javac/processing/options/XprintTypeAnnotationsAndTypeVarBounds.java + test/langtools/tools/javac/processing/options/XprintTypeAnnotationsAndTypeVarBounds.out ! test/langtools/tools/javac/processing/rounds/OverwriteBetweenCompilations_1.out ! test/langtools/tools/javac/processing/rounds/OverwriteBetweenCompilations_2.out ! test/langtools/tools/javac/processing/rounds/OverwriteBetweenCompilations_3.out Changeset: 6e084691 Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-05-13 05:47:17 +0000 URL: https://git.openjdk.org/leyden/commit/6e0846918ce1286ea1571a6ec0de8e6b44e24218 8356658: java/foreign/TestBufferStackStress2.java failed again with junit action timed out Reviewed-by: jpai, alanb ! test/jdk/java/foreign/TestBufferStackStress2.java Changeset: 03dca032 Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-13 06:16:34 +0000 URL: https://git.openjdk.org/leyden/commit/03dca0323d79ef5fb1c8ee1152667e2188fa5e01 8354908: javac mishandles supplementary character in character literal Reviewed-by: naoto, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavaTokenizer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties + test/langtools/tools/javac/diags/examples/IllegalCharLiteralMultipleSurrogates.java ! test/langtools/tools/javac/lexer/JavaLexerTest.java Changeset: 526f543a Branch: hermetic-java-runtime Author: Stefan Johansson Date: 2025-05-13 07:44:30 +0000 URL: https://git.openjdk.org/leyden/commit/526f543adfeb90341b3b5b18916c1bb7ef725599 8353184: ZGC: Simplify and correct tlab_used() tracking Reviewed-by: stefank, aboldtch ! src/hotspot/share/gc/z/zAllocator.cpp ! src/hotspot/share/gc/z/zAllocator.hpp ! src/hotspot/share/gc/z/zArguments.cpp ! src/hotspot/share/gc/z/zCollectedHeap.cpp ! src/hotspot/share/gc/z/zGeneration.cpp ! src/hotspot/share/gc/z/zHeap.cpp ! src/hotspot/share/gc/z/zHeap.hpp ! src/hotspot/share/gc/z/zObjectAllocator.cpp ! src/hotspot/share/gc/z/zObjectAllocator.hpp + src/hotspot/share/gc/z/zTLABUsage.cpp + src/hotspot/share/gc/z/zTLABUsage.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: ad161a4e Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Michael McMahon Date: 2025-05-13 07:58:36 +0000 URL: https://git.openjdk.org/leyden/commit/ad161a4ef85e03d4b7be3df2d584356bf4f7cc80 8355360: -d option of jwebserver command should accept relative paths Reviewed-by: dfuchs, michaelm ! src/jdk.httpserver/share/classes/sun/net/httpserver/simpleserver/SimpleFileServerImpl.java ! test/jdk/com/sun/net/httpserver/simpleserver/CommandLineNegativeTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/CommandLinePositiveTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/SimpleFileServerTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/jwebserver/CommandLineNegativeTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/jwebserver/CommandLinePositiveTest.java Changeset: 522c7b44 Branch: hermetic-java-runtime Author: Andrey Turbanov Date: 2025-05-13 08:10:11 +0000 URL: https://git.openjdk.org/leyden/commit/522c7b446fef17a8400bc589c55b161e939770cc 8356175: Remove unnecessary Map.get from XWM.getInsets Reviewed-by: tr, aivanov, serb ! src/java.desktop/unix/classes/sun/awt/X11/XWM.java Changeset: 132a890a Branch: hermetic-java-runtime Author: Alan Bateman Date: 2025-05-13 08:43:26 +0000 URL: https://git.openjdk.org/leyden/commit/132a890a9b3b70f2358237ebd9242b6747ba03dd 8342486: Implement JEP 505: Structured Concurrency (Fifth Preview) Co-authored-by: Alan Bateman Co-authored-by: Viktor Klang Reviewed-by: vklang ! src/java.base/share/classes/java/lang/ScopedValue.java + src/java.base/share/classes/java/util/concurrent/Joiners.java ! src/java.base/share/classes/java/util/concurrent/StructuredTaskScope.java + src/java.base/share/classes/java/util/concurrent/StructuredTaskScopeImpl.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/misc/ThreadFlock.java ! test/jdk/java/lang/ScopedValue/StressStackOverflow.java + test/jdk/java/util/concurrent/StructuredTaskScope/StressCancellation.java - test/jdk/java/util/concurrent/StructuredTaskScope/StressShutdown.java ! test/jdk/java/util/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java ! test/jdk/java/util/concurrent/StructuredTaskScope/StructuredThreadDumpTest.java ! test/jdk/java/util/concurrent/StructuredTaskScope/WithScopedValue.java ! test/jdk/javax/security/auth/Subject/CallAsWithScopedValue.java ! test/jdk/jdk/internal/misc/ThreadFlock/ThreadFlockTest.java Changeset: 8ffc121b Branch: hermetic-java-runtime Author: Andrew Dinn Date: 2025-05-13 09:42:44 +0000 URL: https://git.openjdk.org/leyden/commit/8ffc121b2fc6353d5419c2437d92911baac16b6b 8356774: AArch64: StubGen final stubs buffer too small for ZGC on Cavium CPU Reviewed-by: shade ! src/hotspot/cpu/aarch64/stubDeclarations_aarch64.hpp Changeset: 38bb8adf Branch: hermetic-java-runtime Author: Severin Gehwolf Date: 2025-05-13 09:59:49 +0000 URL: https://git.openjdk.org/leyden/commit/38bb8adf4f632b08af15f2d8530b35f05f86a020 8354941: Build failure with glibc 2.42 due to uabs() name collision Reviewed-by: kbarrett, thartmann ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp ! src/hotspot/share/opto/mulnode.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp Changeset: 85db4631 Branch: hermetic-java-runtime Author: Daniel Gredler Committer: Alexey Ivanov Date: 2025-05-13 10:37:57 +0000 URL: https://git.openjdk.org/leyden/commit/85db4631ae5208fba74fa8b8638c32d4e42d3268 8350203: [macos] Newlines and tabs are not ignored when drawing text to a Graphics2D object 8353187: Test TextLayout/TestControls fails on macOS: width of 0x9, 0xa, 0xd isn't zero Reviewed-by: honkar, aivanov, prr ! src/java.desktop/macosx/classes/sun/font/CCharToGlyphMapper.java + test/jdk/java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java Changeset: 7dcc386a Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Michael McMahon Date: 2025-05-13 11:08:16 +0000 URL: https://git.openjdk.org/leyden/commit/7dcc386af9831bea21def6763512c9fba13b5064 8354024: [JMH] Create ephemeral UnixDomainSocketAddress provider with thread-safe close semantics Reviewed-by: michaelm ! test/micro/org/openjdk/bench/java/net/SocketChannelConnectionSetup.java ! test/micro/org/openjdk/bench/java/net/UnixSocketChannelReadWrite.java Changeset: d930dc5d Branch: hermetic-java-runtime Author: Marc Chevalier Date: 2025-05-13 11:26:36 +0000 URL: https://git.openjdk.org/leyden/commit/d930dc5df376268d3d96ac5dcddc47496459f5c0 8356275: TestCodeEntryAlignment fails with "Alignment must be <= CodeEntryAlignment" Reviewed-by: thartmann ! src/hotspot/cpu/x86/macroAssembler_x86_sha.cpp Changeset: 14d372b1 Branch: hermetic-java-runtime Author: Erik Gahlin Date: 2025-05-13 12:40:14 +0000 URL: https://git.openjdk.org/leyden/commit/14d372b15bb49a98b0fc802e142fc76598123821 8356816: JFR: Move printing of metadata into separate class Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Metadata.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tool/MetadataWriter.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/PrettyWriter.java Changeset: de106447 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-13 12:46:52 +0000 URL: https://git.openjdk.org/leyden/commit/de1064472180d06693d742a754a8fdc927d367f5 8356631: OopHandle replacement methods should not be called on empty handles Reviewed-by: coleenp, eosterlund ! src/hotspot/share/oops/oopHandle.inline.hpp ! src/hotspot/share/oops/weakHandle.inline.hpp Changeset: 48d2acb3 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-13 13:17:12 +0000 URL: https://git.openjdk.org/leyden/commit/48d2acb3860f742eb1c06b89f8a7208d0d7a01e7 8356783: CompilerTask hot_method is redundant Reviewed-by: kvn, cslucas ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/prims/whitebox.cpp Changeset: fa419489 Branch: hermetic-java-runtime Author: Alan Bateman Date: 2025-05-13 13:35:40 +0000 URL: https://git.openjdk.org/leyden/commit/fa419489d3769a989ee5bd948eeda0ed9be071e2 8350765: Need to pin when accessing thread container from virtual thread Reviewed-by: vklang, jpai ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/lang/VirtualThread.java ! src/java.base/share/classes/java/lang/ref/ReferenceQueue.java ! src/java.base/share/classes/jdk/internal/vm/ContinuationSupport.java ! src/java.base/share/classes/jdk/internal/vm/ThreadContainer.java ! src/java.base/windows/classes/sun/nio/fs/WindowsSecurity.java Changeset: 066477de Branch: hermetic-java-runtime Author: Per Minborg Date: 2025-05-13 13:40:48 +0000 URL: https://git.openjdk.org/leyden/commit/066477de80fc8719651b7b7bf2d02b1f58135f77 8356080: Address post-integration comments for Stable Values Reviewed-by: liach ! src/java.base/share/classes/java/lang/StableValue.java ! src/java.base/share/classes/java/util/ImmutableCollections.java ! src/java.base/share/classes/java/util/ReverseOrderListView.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableEnumFunction.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableFunction.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableIntFunction.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableSupplier.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableUtil.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableValueImpl.java ! test/jdk/java/lang/StableValue/StableFunctionTest.java ! test/jdk/java/lang/StableValue/StableListTest.java ! test/jdk/java/lang/StableValue/StableMapTest.java ! test/jdk/java/lang/StableValue/StableValueTest.java ! test/micro/org/openjdk/bench/java/lang/stable/StableMethodHandleBenchmark.java Changeset: 64a858c7 Branch: hermetic-java-runtime Author: Raffaello Giulietti Date: 2025-05-13 14:04:53 +0000 URL: https://git.openjdk.org/leyden/commit/64a858c7b832447c3dcf4a39a2b0929bc4d70c39 8355992: Add unsignedMultiplyExact and *powExact methods to Math and StrictMath Reviewed-by: darcy ! src/java.base/share/classes/java/lang/Math.java ! src/java.base/share/classes/java/lang/StrictMath.java + test/jdk/java/lang/Math/IntegralPowTest.java Changeset: b8c69dfb Branch: hermetic-java-runtime Author: Archie Cobbs Date: 2025-05-13 14:31:17 +0000 URL: https://git.openjdk.org/leyden/commit/b8c69dfb2adb0eb8cce6b5e81a7388a6430eb8fb 8356551: Javac rejects receiver parameter in constructor of local class in early construction context Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java ! test/langtools/tools/javac/SuperInit/SuperInitGood.java Changeset: 0318e495 Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-13 15:21:30 +0000 URL: https://git.openjdk.org/leyden/commit/0318e49500edb129159030589472089ec21f2f58 8351415: (fs) Path::toAbsolutePath should specify if an absolute path has a root component Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/Path.java Changeset: 08b2df80 Branch: hermetic-java-runtime Author: Doug Simon Date: 2025-05-13 15:58:59 +0000 URL: https://git.openjdk.org/leyden/commit/08b2df80c68e182fbf6b1fc94e991c02b23040ec 8356447: Change default for EagerJVMCI to true Reviewed-by: yzheng, kvn, never ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/jvmci_globals.cpp ! src/hotspot/share/jvmci/jvmci_globals.hpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java ! test/hotspot/jtreg/compiler/jvmci/TestJVMCIPrintProperties.java Changeset: d1543429 Branch: hermetic-java-runtime Author: Brent Christian Date: 2025-05-13 17:05:15 +0000 URL: https://git.openjdk.org/leyden/commit/d1543429ff29ca0d761b8473b3fb8621abcd226d 8356107: [java.lang] Use @requires tag instead of exiting based on os.name or separatorChar property Reviewed-by: naoto, bpb ! test/jdk/java/lang/ProcessBuilder/SiblingIOEHandle.java ! test/jdk/java/lang/RuntimeTests/exec/Space.java ! test/jdk/java/lang/RuntimeTests/exec/Status.java - test/jdk/java/lang/System/NonAnsiFileEncodingTest.java Changeset: 1569925a Branch: hermetic-java-runtime Author: Alexander Matveev Date: 2025-05-13 18:06:32 +0000 URL: https://git.openjdk.org/leyden/commit/1569925af49552268c4847bd201fb95e0e3819b7 8356819: [macos] MacSign should use "openssl" and "faketime" from Homebrew by default Reviewed-by: asemenyuk ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacSign.java Changeset: e7ce661a Branch: hermetic-java-runtime Author: Kelvin Nilsen Date: 2025-05-13 18:08:10 +0000 URL: https://git.openjdk.org/leyden/commit/e7ce661adb01fba4bb690d51cc2858c822008654 8356667: GenShen: Eliminate races with ShenandoahFreeSet::available() Reviewed-by: wkemper ! src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.hpp ! src/hotspot/share/gc/shenandoah/shenandoahGenerationalFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahGenerationalFullGC.hpp ! src/hotspot/share/gc/shenandoah/shenandoahGlobalGeneration.cpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahMetrics.cpp ! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Changeset: e149bd3a Branch: hermetic-java-runtime Author: Justin Lu Date: 2025-05-13 20:23:10 +0000 URL: https://git.openjdk.org/leyden/commit/e149bd3a0c387698fe7b2ff6c373944ded773b8b 8352755: Misconceptions about j.text.DecimalFormat digits during parsing Reviewed-by: naoto ! src/java.base/share/classes/java/text/CompactNumberFormat.java ! src/java.base/share/classes/java/text/DecimalFormat.java ! src/java.base/share/classes/java/text/NumberFormat.java Changeset: 89242eec Branch: hermetic-java-runtime Author: Igor Veresov Date: 2025-05-13 21:49:46 +0000 URL: https://git.openjdk.org/leyden/commit/89242eecd2f381608f78bd8c431eca389956e79a 8356885: Don't emit C1 profiling for casts if TypeProfileCasts is off Reviewed-by: vlivanov, kvn ! src/hotspot/share/c1/c1_LIR.cpp + test/hotspot/jtreg/compiler/tiered/TypeProfileCasts.java Changeset: 1bded718 Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-13 22:16:42 +0000 URL: https://git.openjdk.org/leyden/commit/1bded7188f866a61d03936a9537503b31d603dc2 8356605: JRSUIControl.hashCode and JRSUIState.hashCode can use Long.hashCode Reviewed-by: prr, serb ! src/java.desktop/macosx/classes/apple/laf/JRSUIControl.java ! src/java.desktop/macosx/classes/apple/laf/JRSUIState.java Changeset: 10dcdf1b Branch: hermetic-java-runtime Author: Ben Perez Date: 2025-05-13 22:31:55 +0000 URL: https://git.openjdk.org/leyden/commit/10dcdf1b4738efc6b4deaf96f4d123aff4dab832 8347606: Optimize Java implementation of ML-DSA Reviewed-by: weijun ! src/java.base/share/classes/sun/security/provider/ML_DSA.java Changeset: 4c0a0ab6 Branch: hermetic-java-runtime Author: Valerie Peng Date: 2025-05-13 22:43:31 +0000 URL: https://git.openjdk.org/leyden/commit/4c0a0ab6bc765c46d2c4b8320418d30abee24a91 8353578: Refactor existing usage of internal HKDF impl to use the KDF API Co-authored-by: Kevin Driver Reviewed-by: djelinski, wetmore, mullan, kdriver, weijun ! src/java.base/share/classes/com/sun/crypto/provider/DHKEM.java ! src/java.base/share/classes/sun/security/ssl/ChangeCipherSpec.java ! src/java.base/share/classes/sun/security/ssl/CipherSuite.java ! src/java.base/share/classes/sun/security/ssl/DHClientKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHClientKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/Finished.java - src/java.base/share/classes/sun/security/ssl/HKDF.java ! src/java.base/share/classes/sun/security/ssl/KAKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/KeyUpdate.java ! src/java.base/share/classes/sun/security/ssl/NewSessionTicket.java ! src/java.base/share/classes/sun/security/ssl/PreSharedKeyExtension.java ! src/java.base/share/classes/sun/security/ssl/RSAClientKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/RSAKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/SSLBasicKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLMasterKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLSecretDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLSessionContextImpl.java ! src/java.base/share/classes/sun/security/ssl/SSLTrafficKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/ServerHello.java ! src/java.base/share/classes/sun/security/util/KeyUtil.java - test/jdk/sun/security/ssl/internal/TEST.properties - test/jdk/sun/security/ssl/internal/TestRun.java - test/jdk/sun/security/ssl/internal/java.base/sun/security/ssl/TestHkdf.java Changeset: a96424b2 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-14 00:03:20 +0000 URL: https://git.openjdk.org/leyden/commit/a96424b24cc7734f04716a4459e5d5e0a5c73c0d 8356694: Removed unused subclass audits in ObjectInput/OutputStream Reviewed-by: alanb, rriggs ! src/java.base/share/classes/java/io/ObjectInputStream.java ! src/java.base/share/classes/java/io/ObjectOutputStream.java Changeset: 0c4bc489 Branch: hermetic-java-runtime Author: Chihiro Ito Date: 2025-05-14 00:25:59 +0000 URL: https://git.openjdk.org/leyden/commit/0c4bc48928cea7ddd48ba84ed09e9e42ffc68da6 8356820: fixpath should allow + in paths on Windows Reviewed-by: erikj ! make/scripts/fixpath.sh Changeset: dd2aba98 Branch: hermetic-java-runtime Author: Kim Barrett Date: 2025-05-14 00:50:38 +0000 URL: https://git.openjdk.org/leyden/commit/dd2aba98f500531130b9dfccd4a4ad6555f1ea5c 8356689: Make HotSpot Style Guide change process more prominent Reviewed-by: dholmes, shade, stefank, kvn ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: 530d14a1 Branch: hermetic-java-runtime Author: Kim Barrett Date: 2025-05-14 00:51:49 +0000 URL: https://git.openjdk.org/leyden/commit/530d14a16e6b428ca9a21e8e373ee9c32e673c3e 8356686: doc/building.html is not up to date after JDK-8301971 Reviewed-by: jwaters, shade, erikj ! doc/building.html Changeset: 2c4e8d21 Branch: hermetic-java-runtime Author: Jaikiran Pai Date: 2025-05-14 01:53:19 +0000 URL: https://git.openjdk.org/leyden/commit/2c4e8d211a030c85488e656a9a851d10dd0f9c11 8347712: IllegalStateException on multithreaded ZipFile access with non-UTF8 charset 8355975: ZipFile uses incorrect Charset if another instance for the same ZIP file was constructed with a different Charset Co-authored-by: Eirik Bj?rsn?s Reviewed-by: eirbjo, lancea, redestad, alanb ! src/java.base/share/classes/java/util/zip/ZipCoder.java ! src/java.base/share/classes/java/util/zip/ZipFile.java + test/jdk/java/util/zip/ZipFile/ZipFileCharsetTest.java + test/jdk/java/util/zip/ZipFile/ZipFileSharedSourceTest.java Changeset: e07c65b8 Branch: hermetic-java-runtime Author: Alexander Zuev Date: 2025-05-14 04:59:44 +0000 URL: https://git.openjdk.org/leyden/commit/e07c65b892ecb02d6b52877508131de3a2067e23 8323545: java/awt/GraphicsDevice/CheckDisplayModes.java fails with "exit code: 133" Reviewed-by: achung, serb ! test/jdk/java/awt/GraphicsDevice/CheckDisplayModes.java Changeset: dd251599 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-14 06:32:54 +0000 URL: https://git.openjdk.org/leyden/commit/dd2515993bf76f424e4c56d529ae1541f55e3f8b 8356644: Update encoding declaration to UTF-8 Reviewed-by: prr, naoto ! src/demo/share/jfc/CodePointIM/README.html ! src/demo/share/jfc/Metalworks/resources/HelpFiles/metal.html ! src/demo/share/jfc/Metalworks/resources/HelpFiles/metalworks.html ! src/demo/share/jfc/SwingSet2/resources/ant.html ! src/demo/share/jfc/SwingSet2/resources/bug.html ! src/demo/share/jfc/SwingSet2/resources/index.html ! src/demo/share/jfc/SwingSet2/resources/king.html ! src/demo/share/jfc/SwingSet2/resources/preface.html ! src/demo/share/jfc/SwingSet2/resources/seaweed.html ! src/demo/share/jfc/SwingSet2/resources/title.html ! src/hotspot/share/prims/jvmti.xml ! src/java.base/share/classes/java/net/doc-files/net-properties.html ! src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synth.dtd ! test/jaxp/javax/xml/jaxp/functional/javax/xml/transform/xmlfiles/doctest.xsl ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder11.xml ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder11.xsd ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder12.xml ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder12.xsd ! test/jaxp/javax/xml/jaxp/unittest/common/xmlfiles/XSLDTD.xsl ! test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker70.xml ! test/jaxp/javax/xml/jaxp/unittest/transform/CR6401137.xsl ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-error.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-error.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-error-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-error-min-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-error-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-error-min-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-unbounded-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-unbounded-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-unbounded.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-wildcard-unbounded.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-wildcard.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs.xsd ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/button/resources/ButtonDemo.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/ant.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/bug.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/index.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/king.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/preface.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/seaweed.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/title.html Changeset: a3e094e1 Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-14 06:42:07 +0000 URL: https://git.openjdk.org/leyden/commit/a3e094e1a0716adf52dad6407eb7877682beec92 8354968: Replace unicode sequences in comment text with UTF-8 characters Reviewed-by: naoto ! src/java.base/share/classes/java/text/Collator.java ! src/java.base/share/classes/java/text/RuleBasedCollator.java ! src/java.base/share/classes/java/util/LocaleISOData.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/PropagatedException.java ! src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/util/InetAddressConverter.java ! test/jdk/java/lang/Class/getEnclosingClass/EnclosingClass.java ! test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java ! test/jdk/java/lang/Class/getEnclosingClass/common/TestMe.java ! test/jdk/java/util/Collections/T5078378.java ! test/langtools/tools/javac/6330920/T6330920.java ! test/langtools/tools/javac/6457284/T6457284.java ! test/langtools/tools/javac/OverrideChecks/InterfaceImplements.java ! test/langtools/tools/javac/OverrideChecks/InterfaceOverride.java ! test/langtools/tools/javac/OverrideChecks/Private.java ! test/langtools/tools/javac/OverrideChecks/T6326485.java ! test/langtools/tools/javac/T4093617/T4093617.java ! test/langtools/tools/javac/T4848619/T4848619a.java ! test/langtools/tools/javac/T4848619/T4848619b.java ! test/langtools/tools/javac/T4994049/DeprecatedYES.java ! test/langtools/tools/javac/T4994049/T4994049.java ! test/langtools/tools/javac/T5003235/T5003235a.java ! test/langtools/tools/javac/T5003235/T5003235b.java ! test/langtools/tools/javac/T5003235/T5003235c.java ! test/langtools/tools/javac/T5092545.java ! test/langtools/tools/javac/T5105890.java ! test/langtools/tools/javac/T6180021/AbstractSub.java ! test/langtools/tools/javac/T6180021/Sub.java ! test/langtools/tools/javac/T6231246/T6231246.java ! test/langtools/tools/javac/T6231847.java ! test/langtools/tools/javac/T6266772.java ! test/langtools/tools/javac/T6407257.java ! test/langtools/tools/javac/annotations/neg/NoAnnotationMethods.java ! test/langtools/tools/javac/annotations/neg/NoClone.java ! test/langtools/tools/javac/annotations/neg/NoObjectMethods.java ! test/langtools/tools/javac/annotations/pos/AnnotationMethods.java ! test/langtools/tools/javac/api/6400303/T6400303.java ! test/langtools/tools/javac/api/6410643/T6410643.java ! test/langtools/tools/javac/api/6411310/T6411310.java ! test/langtools/tools/javac/api/6411333/T6411333.java ! test/langtools/tools/javac/api/6412656/T6412656.java ! test/langtools/tools/javac/api/6415780/T6415780.java ! test/langtools/tools/javac/api/6418694/T6418694.java ! test/langtools/tools/javac/api/6420409/T6420409.java ! test/langtools/tools/javac/api/6421111/T6421111.java ! test/langtools/tools/javac/api/6421756/T6421756.java ! test/langtools/tools/javac/api/6422215/T6422215.java ! test/langtools/tools/javac/api/6422327/T6422327.java ! test/langtools/tools/javac/api/6423003/T6423003.java ! test/langtools/tools/javac/api/6431257/T6431257.java ! test/langtools/tools/javac/api/6437999/T6437999.java ! test/langtools/tools/javac/api/6440333/T6440333.java ! test/langtools/tools/javac/api/6440528/T6440528.java ! test/langtools/tools/javac/api/6452876/T6452876.java ! test/langtools/tools/javac/api/6468404/T6468404.java ! test/langtools/tools/javac/api/6471599/Main.java ! test/langtools/tools/javac/api/Sibling.java ! test/langtools/tools/javac/api/T6257235.java ! test/langtools/tools/javac/api/T6258271.java ! test/langtools/tools/javac/api/T6265137.java ! test/langtools/tools/javac/api/T6306137.java ! test/langtools/tools/javac/api/T6358786.java ! test/langtools/tools/javac/api/T6397104.java ! test/langtools/tools/javac/api/T6400205.java ! test/langtools/tools/javac/api/T6400207.java ! test/langtools/tools/javac/api/T6407011.java ! test/langtools/tools/javac/api/TestEvalExpression.java ! test/langtools/tools/javac/api/TestGetSourceVersions.java ! test/langtools/tools/javac/api/TestGetTree.java ! test/langtools/tools/javac/api/TestJavacTask.java ! test/langtools/tools/javac/api/TestJavacTaskScanner.java ! test/langtools/tools/javac/api/TestOperators.java ! test/langtools/tools/javac/api/TestResolveIdent.java ! test/langtools/tools/javac/boxing/T5082929.java ! test/langtools/tools/javac/boxing/T6348760.java ! test/langtools/tools/javac/cast/5043020/T5043020.java ! test/langtools/tools/javac/cast/6302214/T6302214a.java ! test/langtools/tools/javac/enum/6424358/T6424358.java ! test/langtools/tools/javac/enum/NoFinal.java ! test/langtools/tools/javac/enum/NoFinal2.java ! test/langtools/tools/javac/enum/NoFinal3.java ! test/langtools/tools/javac/enum/NoFinal4.java ! test/langtools/tools/javac/enum/NoFinal5.java ! test/langtools/tools/javac/enum/OkFinal.java ! test/langtools/tools/javac/enum/T5075242.java ! test/langtools/tools/javac/enum/T5081785.java ! test/langtools/tools/javac/enum/forwardRef/T6425594.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum1.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum2.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum3.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum4.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum5.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum6.java ! test/langtools/tools/javac/generics/5086027/T5086027.java ! test/langtools/tools/javac/generics/5086027/T5086027pos.java ! test/langtools/tools/javac/generics/6192945/Method.java ! test/langtools/tools/javac/generics/6207386/Test.java ! test/langtools/tools/javac/generics/6227936/T6227936.java ! test/langtools/tools/javac/generics/6245699/T6245699c.java ! test/langtools/tools/javac/generics/6292765/T6292765.java ! test/langtools/tools/javac/generics/6332204/T6332204.java ! test/langtools/tools/javac/generics/6413682/TestPos.java ! test/langtools/tools/javac/generics/T6391995.java ! test/langtools/tools/javac/generics/inference/5073060/Neg.java ! test/langtools/tools/javac/generics/inference/5073060/T5073060a.java ! test/langtools/tools/javac/generics/inference/5081782/Neg.java ! test/langtools/tools/javac/generics/inference/5081782/Pos.java ! test/langtools/tools/javac/generics/inference/6215213/T6215213.java ! test/langtools/tools/javac/generics/inference/6278587/T6278587.java ! test/langtools/tools/javac/generics/inference/6278587/T6278587Neg.java ! test/langtools/tools/javac/generics/inference/6302954/T6456971.java ! test/langtools/tools/javac/generics/inference/6359106/T6359106.java ! test/langtools/tools/javac/generics/rawOverride/AttributeSet.java ! test/langtools/tools/javac/generics/rawOverride/Fail1.java ! test/langtools/tools/javac/generics/rawOverride/T6178365.java ! test/langtools/tools/javac/generics/rawOverride/Warn1.java ! test/langtools/tools/javac/generics/rawOverride/Warn2.java ! test/langtools/tools/javac/generics/typevars/4856983/T4856983.java ! test/langtools/tools/javac/generics/typevars/4856983/T4856983a.java ! test/langtools/tools/javac/generics/typevars/4856983/T4856983b.java ! test/langtools/tools/javac/generics/typevars/5060485/Compatibility.java ! test/langtools/tools/javac/generics/typevars/5060485/Method.java ! test/langtools/tools/javac/generics/typevars/5060485/Neg1.java ! test/langtools/tools/javac/generics/typevars/5060485/Neg2.java ! test/langtools/tools/javac/generics/typevars/5060485/Pos.java ! test/langtools/tools/javac/generics/typevars/6182630/T6182630.java ! test/langtools/tools/javac/generics/typevars/6486430/T6486430.java ! test/langtools/tools/javac/generics/typevars/6486430/T6486430a.java ! test/langtools/tools/javac/generics/wildcards/6330931/T6330931.java ! test/langtools/tools/javac/generics/wildcards/6437894/T6437894.java ! test/langtools/tools/javac/generics/wildcards/T5097548.java ! test/langtools/tools/javac/generics/wildcards/T5097548b.java ! test/langtools/tools/javac/jvm/6397652/T6397652.java ! test/langtools/tools/javac/nested/5009484/Y.java ! test/langtools/tools/javac/overload/T4494762.java ! test/langtools/tools/javac/positions/T6402077.java ! test/langtools/tools/javac/positions/T6404194.java ! test/langtools/tools/javac/processing/6359313/T6359313.java ! test/langtools/tools/javac/processing/6413690/T6413690.java ! test/langtools/tools/javac/processing/model/6194785/T6194785.java ! test/langtools/tools/javac/processing/model/testgetallmembers/Main.java ! test/langtools/tools/javac/processing/options/Xprint.java ! test/langtools/tools/javac/scope/6225935/T6214959.java ! test/langtools/tools/javac/scope/6225935/T6225935.java ! test/langtools/tools/javac/scope/6225935/T6381787.java ! test/langtools/tools/javac/scope/6225935/Test.java ! test/langtools/tools/javac/scope/6392998/T6392998.java ! test/langtools/tools/javac/unicode/FirstChar.java ! test/langtools/tools/javac/unit/T6198196.java ! test/langtools/tools/javac/unit/util/convert/EnclosingCandidates.java ! test/langtools/tools/javac/unit/util/list/AbstractList.java ! test/langtools/tools/javac/unit/util/list/FromArray.java ! test/langtools/tools/javac/util/filemanager/TestName.java Changeset: 3b271981 Branch: hermetic-java-runtime Author: Marc Chevalier Date: 2025-05-14 07:57:53 +0000 URL: https://git.openjdk.org/leyden/commit/3b271981662df2a7fdf04ffd75d017964425607c 8325647: [IR framework] Only prints stdout if exitCode is 134 Reviewed-by: chagedorn, thartmann ! test/hotspot/jtreg/compiler/lib/ir_framework/driver/TestVMProcess.java Changeset: d1032d71 Branch: hermetic-java-runtime Author: Raffaello Giulietti Date: 2025-05-14 07:59:19 +0000 URL: https://git.openjdk.org/leyden/commit/d1032d71bfd50ebc4b328ce9b0cc81cbb80554b0 8343829: Unify decimal and hexadecimal parsing in FloatingDecimal Reviewed-by: darcy ! src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java Changeset: 265bc5f4 Branch: hermetic-java-runtime Author: Serguei Spitsyn Date: 2025-05-14 08:21:54 +0000 URL: https://git.openjdk.org/leyden/commit/265bc5f47d4c0b973fd09d3c2d7576f5f786399f 8353496: SuspendResume1.java and SuspendResume2.java timeout after JDK-8319447 Reviewed-by: cjplummer, alanb ! test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java ! test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java ! test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResumeAll/SuspendResumeAll.java Changeset: b76b6107 Branch: hermetic-java-runtime Author: Anjian-Wen Committer: Fei Yang Date: 2025-05-14 08:28:11 +0000 URL: https://git.openjdk.org/leyden/commit/b76b610788cea7149a04faeeba01067272b6e046 8356869: RISC-V: Improve tail handling of array fill stub Reviewed-by: fyang, fjiang, mli ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp ! test/micro/org/openjdk/bench/vm/compiler/ArrayFill.java Changeset: fc6f4da8 Branch: hermetic-java-runtime Author: Martin Doerr Date: 2025-05-14 08:38:01 +0000 URL: https://git.openjdk.org/leyden/commit/fc6f4da8e72db4385c96fe0139ce43ec8c8ca2e6 8351666: [PPC64] Make non-volatile VectorRegisters available for C2 register allocation Reviewed-by: rrich ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/upcallLinker_ppc.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.hpp ! src/hotspot/cpu/ppc/vmreg_ppc.inline.hpp Changeset: 86f39ab5 Branch: hermetic-java-runtime Author: Fernando Guallini Date: 2025-05-14 08:39:21 +0000 URL: https://git.openjdk.org/leyden/commit/86f39ab5bb58a1d1e720badd7261365398134151 8249825: Tests sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java marked with @ignore Reviewed-by: abarashev, rhalade ! test/jdk/sun/security/ssl/SSLSocketImpl/NonAutoClose.java ! test/jdk/sun/security/ssl/SSLSocketImpl/SetClientMode.java Changeset: 5c73dfc2 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-14 09:05:49 +0000 URL: https://git.openjdk.org/leyden/commit/5c73dfc28cbd6801ac85c6685fb8c77aad3ab0b7 8352533: Report useful IOExceptions when jspawnhelper fails Reviewed-by: simonis, rriggs, stuefe ! src/java.base/unix/native/libjava/ProcessImpl_md.c ! test/jdk/java/lang/ProcessBuilder/Basic.java ! test/jdk/java/lang/ProcessBuilder/JspawnhelperProtocol.java Changeset: 3270b009 Branch: hermetic-java-runtime Author: Coleen Phillimore Date: 2025-05-14 12:00:23 +0000 URL: https://git.openjdk.org/leyden/commit/3270b00957038e95e3c1632daa9b7227d59f9af7 8356173: Remove ThreadCritical Reviewed-by: dholmes, kbarrett, jsjolen ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp - src/hotspot/os/posix/threadCritical_posix.cpp ! src/hotspot/os/windows/os_windows.cpp - src/hotspot/os/windows/threadCritical_windows.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/gc/parallel/psScavenge.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/nmt/mallocTracker.cpp ! src/hotspot/share/nmt/mallocTracker.hpp ! src/hotspot/share/nmt/memMapPrinter.cpp ! src/hotspot/share/nmt/nmtUsage.cpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/runtime/javaThread.cpp - src/hotspot/share/runtime/threadCritical.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/utilities/exceptions.cpp Changeset: a989245a Branch: hermetic-java-runtime Author: Jaikiran Pai Date: 2025-05-14 12:38:40 +0000 URL: https://git.openjdk.org/leyden/commit/a989245a2424d136f5d2a828eda666c3867b0f48 8327466: ct.sym zip not reproducible across build environment timezones Reviewed-by: erikj, jlahoda ! make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java + test/langtools/tools/javac/platform/createsymbols/CreateSymbolsReproducibleTest.java Changeset: 97b0dd21 Branch: hermetic-java-runtime Author: Manuel H?ssig Committer: Tobias Hartmann Date: 2025-05-14 14:12:10 +0000 URL: https://git.openjdk.org/leyden/commit/97b0dd2167530b3d237e748cd5da0130e38e8af2 8336906: C2: assert(bb->is_reachable()) failed: getting result from unreachable basicblock Co-authored-by: Emanuel Peter Co-authored-by: Dean Long Reviewed-by: epeter, dlong ! src/hotspot/share/runtime/deoptimization.cpp + test/hotspot/jtreg/compiler/interpreter/TestVerifyStackWithUnreachableBytecode.java + test/hotspot/jtreg/compiler/interpreter/TestVerifyStackWithUnreachableBytecodeImpl.jasm Changeset: 1afd887b Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-14 14:58:29 +0000 URL: https://git.openjdk.org/leyden/commit/1afd887b138ac2425289b6f863801774f050c23c 8356102: TestJcmdOutput, JcmdWithNMTDisabled and DumpSharedDictionary hs/tier1 tests fail on static-jdk Reviewed-by: dholmes ! test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/TestJcmdOutput.java ! test/hotspot/jtreg/runtime/NMT/JcmdWithNMTDisabled.java ! test/hotspot/jtreg/runtime/cds/DumpSharedDictionary.java Changeset: 10436c1e Branch: hermetic-java-runtime Author: Srinivas Vamsi Parasa Committer: Sandhya Viswanathan Date: 2025-05-14 15:39:09 +0000 URL: https://git.openjdk.org/leyden/commit/10436c1e1d0a14ef8ba4d58babb23fc47c949a6f 8356281: Fix for TestFPComparison failure due to incorrect result Reviewed-by: sviswanathan, thartmann, jbhateja ! src/hotspot/cpu/x86/x86_64.ad Changeset: a2628357 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-05-14 17:07:28 +0000 URL: https://git.openjdk.org/leyden/commit/a2628357a922b1ea9ba721b1d8b708ff91d46d76 8356641: Test com/sun/jdi/EarlyThreadGroupChildrenTest.java fails sometimes on macOS Reviewed-by: kevinw, amenkov, sspitsyn ! test/jdk/com/sun/jdi/EarlyThreadGroupChildrenTest.java Changeset: 7c8e273f Branch: hermetic-java-runtime Author: Naoto Sato Date: 2025-05-14 17:41:42 +0000 URL: https://git.openjdk.org/leyden/commit/7c8e273fde644bbc2def4a1134a82b8eb8d33d53 8356420: Provide examples on wrapping System.in Reviewed-by: liach, smarks, alanb, bpb, iris ! src/java.base/share/classes/java/io/InputStreamReader.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/util/Scanner.java ! src/java.base/share/classes/javax/security/auth/callback/CallbackHandler.java Changeset: 75504a35 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-05-14 18:12:35 +0000 URL: https://git.openjdk.org/leyden/commit/75504a35ee663625982f8aed508e5ff562643334 8356588: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 3 Reviewed-by: amenkov, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/BreakpointEvent/_itself_/breakpoint001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/BreakpointEvent/_itself_/breakpoint001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/catchLocation/location001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/catchLocation/location001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/exception/exception001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/exception/exception001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocalVariable/isVisible/isvisible001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocalVariable/isVisible/isvisible001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location005a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodEntryEvent/method/method001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodEntryEvent/method/method001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/owningThread/owningthread001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/owningThread/owningthread001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepevent001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepevent001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/currentContendedMonitor/currentcm001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/currentContendedMonitor/currentcm001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/threadGroup/threadgroup001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Value/_itself_/value001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Value/type/type002/type002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Value/type/type002/type002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/equals/equals001/equals001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/equals/equals001/equals001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/hashCode/hashcode001/hashcode001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/hashCode/hashcode001/hashcode001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/WatchpointEvent/object/object001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/WatchpointEvent/object/object001a.java Changeset: e91088a9 Branch: hermetic-java-runtime Author: Alisen Chung Date: 2025-05-14 18:47:42 +0000 URL: https://git.openjdk.org/leyden/commit/e91088a9e8193b81a1de82d48effd8c8c0f3b45d 8343739: Test java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java failed: Wrong extended key code Reviewed-by: serb, prr ! test/jdk/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java Changeset: ecabea6c Branch: hermetic-java-runtime Author: Ben Perez Date: 2025-05-14 19:38:34 +0000 URL: https://git.openjdk.org/leyden/commit/ecabea6cd315eaf08571ef61ff267318140d147b 8347608: Optimize Java implementation of ML-KEM Reviewed-by: weijun ! src/java.base/share/classes/com/sun/crypto/provider/ML_KEM.java Changeset: 948ade8e Branch: hermetic-java-runtime Author: Yudi Zheng Date: 2025-05-14 19:47:38 +0000 URL: https://git.openjdk.org/leyden/commit/948ade8e7003a41683600428c8e3155c7ed798db 8356971: [JVMCI] Export VM_Version::supports_avx512_simd_sort to JVMCI compiler Reviewed-by: dnsimon ! src/hotspot/share/jvmci/jvmciCompilerToVM.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: b66ab8eb Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-14 22:00:46 +0000 URL: https://git.openjdk.org/leyden/commit/b66ab8ebe254c674ce6a5b731773c41111fa6bc5 8356693: AOT assembly phase fails with -javaagent Reviewed-by: asmehra, ccheung, shade ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/prims/jvmtiAgent.cpp ! src/hotspot/share/prims/jvmtiAgentList.cpp ! src/hotspot/share/prims/jvmtiAgentList.hpp + test/hotspot/jtreg/runtime/cds/appcds/aotCache/JavaAgent.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/JavaAgentTransformer.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/JavaAgentTransformer.mf ! test/hotspot/jtreg/runtime/cds/appcds/jvmti/dumpingWithAgent/SimpleAgent.java Changeset: 5e50a584 Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-14 23:11:46 +0000 URL: https://git.openjdk.org/leyden/commit/5e50a584744d316dd881c9404f75e65f31bb0e75 8356838: AOT incorrectly sets a cached class's loader type to boot Reviewed-by: ccheung, iveresov ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotClassLocation.hpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/classLoaderExt.hpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTCacheSupportForCustomLoaders.java = test/hotspot/jtreg/runtime/cds/appcds/aotCache/modules/com.test/com/test/Foo.java = test/hotspot/jtreg/runtime/cds/appcds/aotCache/modules/com.test/module-info.java Changeset: dc881ee3 Branch: hermetic-java-runtime Author: Arno Zeller Committer: Christoph Langer Date: 2025-05-15 07:50:28 +0000 URL: https://git.openjdk.org/leyden/commit/dc881ee36900bc12bea9616a6078a1f3266c183d 8354530: AIX: sporadic unexpected errno when calling setsockopt in Net.joinOrDrop Reviewed-by: alanb, clanger ! src/java.base/unix/native/libnio/ch/Net.c Changeset: e557b695 Branch: hermetic-java-runtime Author: Andrey Turbanov Date: 2025-05-15 07:57:14 +0000 URL: https://git.openjdk.org/leyden/commit/e557b6956bdf9b0d89ad69427c7b4a97a65868ea 8356843: Avoid redundant HashMap.get to obtain old value in Toolkit.setDesktopProperty Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/java/awt/Toolkit.java Changeset: b8d2bdb4 Branch: hermetic-java-runtime Author: Thomas Schatzl Date: 2025-05-15 08:03:44 +0000 URL: https://git.openjdk.org/leyden/commit/b8d2bdb46529f780b4c21d709ca38b489348ee10 8355743: G1: Collection set clearing is not recorded as part of "Free Collection Set Time" Reviewed-by: iwalulya, shade ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp Changeset: 13b35414 Branch: hermetic-java-runtime Author: Leo Korinth Date: 2025-05-15 09:20:56 +0000 URL: https://git.openjdk.org/leyden/commit/13b3541467aa91c2e0ad4da70efdb25b7334d3fe 8356866: Cleanup hotspot/jtreg/ProblemList.txt Reviewed-by: syan, tschatzl ! test/hotspot/jtreg/ProblemList.txt Changeset: 883e52aa Branch: hermetic-java-runtime Author: Aleksei Voitylov Committer: Dmitry Chuyko Date: 2025-05-15 11:06:22 +0000 URL: https://git.openjdk.org/leyden/commit/883e52aa105727f4bc852d1497e049b689695152 8353237: [AArch64] Incorrect result of VectorizedHashCode intrinsic on Cortex-A53 Reviewed-by: aph ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 1d36f173 Branch: hermetic-java-runtime Author: Adam Sotona Date: 2025-05-15 12:04:17 +0000 URL: https://git.openjdk.org/leyden/commit/1d36f173c4e924d5049f153eceb13b09e7adebab 8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null Reviewed-by: liach = test/langtools/tools/javac/8351232/Anno.java + test/langtools/tools/javac/8351232/Cls.java = test/langtools/tools/javac/8351232/Intf1.java = test/langtools/tools/javac/8351232/Intf2.java + test/langtools/tools/javac/8351232/TestClass.java + test/langtools/tools/javac/8351232/TypeAnnotationSymNullTest.java Changeset: 5cb23171 Branch: hermetic-java-runtime Author: Daniel Lund?n Date: 2025-05-15 12:54:49 +0000 URL: https://git.openjdk.org/leyden/commit/5cb231714f364064bb5a59db8eb07d43823478eb 8351568: Improve source code documentation for PhaseCFG::insert_anti_dependences Reviewed-by: rcastanedalo, chagedorn ! src/hotspot/share/adlc/output_h.cpp ! src/hotspot/share/opto/block.hpp ! src/hotspot/share/opto/gcm.cpp ! src/hotspot/share/opto/lcm.cpp ! test/hotspot/jtreg/compiler/codegen/TestAntiDependenciesHighMemUsage.java ! test/hotspot/jtreg/compiler/codegen/TestAntiDependenciesHighMemUsage2.java ! test/hotspot/jtreg/compiler/loopopts/TestSplitIfPinnedLoadInStripMinedLoop.java Changeset: 81e8e670 Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Daniel Fuchs Date: 2025-05-15 14:10:16 +0000 URL: https://git.openjdk.org/leyden/commit/81e8e670cec4e09502965110a77982f7d2f85ad9 8351347: HttpClient Improve logging of response headers Reviewed-by: dfuchs, michaelm ! src/java.net.http/share/classes/jdk/internal/net/http/Http1Request.java ! src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java Changeset: 073af3bb Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-15 14:39:52 +0000 URL: https://git.openjdk.org/leyden/commit/073af3bbaa3ee81b693136b2de7fee407d8ae04b 8356892: runtime/jni/CalleeSavedRegisters/FPRegs.java fails on static-jdk Reviewed-by: dholmes, shade ! test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java Changeset: 3df8ca1e Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-15 14:47:02 +0000 URL: https://git.openjdk.org/leyden/commit/3df8ca1ebaf3539363efd569ba9487f5d985117d 8356678: (fs) Files.readAttributes should map ENOTDIR to NoSuchFileException where possible (unix) Reviewed-by: alanb, cstein ! src/java.base/unix/classes/sun/nio/fs/UnixFileAttributeViews.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystemProvider.java + test/jdk/java/nio/file/Files/NotADirectory.java Changeset: 8fcfddb2 Branch: hermetic-java-runtime Author: Volkan Yazici Committer: Chen Liang Date: 2025-05-15 14:54:27 +0000 URL: https://git.openjdk.org/leyden/commit/8fcfddb2d202cdb61941efdb3fec5807fee98c33 8353197: Document preconditions for JavaLangAccess methods Reviewed-by: pminborg, liach ! src/java.base/share/classes/java/io/DataInputStream.java ! src/java.base/share/classes/java/io/ObjectInputStream.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java ! src/java.base/share/classes/java/math/BigDecimal.java ! src/java.base/share/classes/java/nio/file/Files.java ! src/java.base/share/classes/java/util/HexFormat.java ! src/java.base/share/classes/java/util/UUID.java ! src/java.base/share/classes/java/util/zip/ZipCoder.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java ! src/java.base/share/classes/jdk/internal/math/ToDecimal.java ! src/java.base/share/classes/jdk/internal/util/ArraysSupport.java ! src/java.base/share/classes/jdk/internal/util/HexDigits.java ! src/java.base/share/classes/sun/nio/cs/CESU_8.java ! src/java.base/share/classes/sun/nio/cs/DoubleByte.java ! src/java.base/share/classes/sun/nio/cs/ISO_8859_1.java ! src/java.base/share/classes/sun/nio/cs/SingleByte.java ! src/java.base/share/classes/sun/nio/cs/US_ASCII.java ! src/java.base/share/classes/sun/nio/cs/UTF_8.java ! src/java.base/unix/classes/sun/nio/fs/UnixPath.java ! src/jdk.charsets/share/classes/sun/nio/cs/ext/EUC_JP.java.template Changeset: a1c7e494 Branch: hermetic-java-runtime Author: Amit Kumar Date: 2025-05-15 15:38:56 +0000 URL: https://git.openjdk.org/leyden/commit/a1c7e494c842e4138f03cffb31448e9e92ba917d 8350482: [s390x] Relativize esp in interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/abstractInterpreter_s390.cpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/interp_masm_s390.hpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp Changeset: b3e856f9 Branch: hermetic-java-runtime Author: Leo Korinth Date: 2025-05-15 16:03:43 +0000 URL: https://git.openjdk.org/leyden/commit/b3e856f9b37078969478809207b63fb6bc9c5f13 8356847: Problem list two test cases for JDK-8284234 Reviewed-by: tschatzl ! test/hotspot/jtreg/ProblemList.txt Changeset: e056bbec Branch: hermetic-java-runtime Author: Naoto Sato Date: 2025-05-15 16:14:13 +0000 URL: https://git.openjdk.org/leyden/commit/e056bbec928e3914a3b5cd14753406619e187178 8356822: Refactor HTML anchor tags to javadoc in Charset Reviewed-by: iris, liach ! src/java.base/share/classes/java/nio/charset/Charset.java Changeset: 1e61352b Branch: hermetic-java-runtime Author: Johannes Graham Committer: Raffaello Giulietti Date: 2025-05-15 16:33:35 +0000 URL: https://git.openjdk.org/leyden/commit/1e61352b54e1ac85fbc6b54a7a29e8782dd42d2c 8356709: Avoid redundant String formatting in BigDecimal.valueOf(double) Reviewed-by: rgiulietti ! src/java.base/share/classes/java/math/BigDecimal.java ! src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java + test/jdk/java/math/BigDecimal/ValueOfDouble.java ! test/micro/org/openjdk/bench/java/math/BigDecimals.java Changeset: 850c789a Branch: hermetic-java-runtime Author: Archie Cobbs Date: 2025-05-15 16:35:16 +0000 URL: https://git.openjdk.org/leyden/commit/850c789a827e21cda3096276d9638f56fae76c3e 8349754: Invalid "early reference" error when class extends an outer class Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java ! test/langtools/tools/javac/SuperInit/SuperInitGood.java Changeset: c59debb3 Branch: hermetic-java-runtime Author: Ashutosh Mehra Date: 2025-05-15 17:18:56 +0000 URL: https://git.openjdk.org/leyden/commit/c59debb3844d009ac501a48c31822a07f00521e9 8354887: Preserve runtime blobs in AOT code cache Co-authored-by: Andrew Dinn Reviewed-by: kvn, adinn ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/runtime_aarch64.cpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/runtime_x86_64.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/c1/c1_Runtime1.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/oops/compressedKlass.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java Changeset: 9223ed78 Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-15 20:32:02 +0000 URL: https://git.openjdk.org/leyden/commit/9223ed788a53820dcc1e285a6e0df0c97b05fb09 8351996: Behavioral updates for ClassValue::remove Co-authored-by: John R Rose Reviewed-by: vklang, jrose ! src/java.base/share/classes/java/lang/ClassValue.java ! test/jdk/java/lang/invoke/ClassValueTest.java Changeset: fe790cb3 Branch: hermetic-java-runtime Author: Alex Menkov Date: 2025-05-15 20:39:48 +0000 URL: https://git.openjdk.org/leyden/commit/fe790cb319243dc381f5f12f9010e33681ecb17a 8356177: Regression after JDK-8352180 Reviewed-by: sspitsyn, cjplummer, lmesnik ! src/hotspot/os/windows/attachListener_windows.cpp + test/hotspot/jtreg/serviceability/attach/FailedDequeueTest.java Changeset: efdbb6af Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-15 21:14:42 +0000 URL: https://git.openjdk.org/leyden/commit/efdbb6afce4116140c066641128264ab42697912 8354083: Support --add-reads with -XX:+AOTClassLinking Reviewed-by: iklam, alanb ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! test/hotspot/jtreg/TEST.groups = test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddExports.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddOpens.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddReads.java - test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddOpens.java - test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddReads.java Changeset: f6b0f016 Branch: hermetic-java-runtime Author: Paul H Committer: Harshitha Onkar Date: 2025-05-15 22:35:48 +0000 URL: https://git.openjdk.org/leyden/commit/f6b0f016f6da5d9c96b21c74d3b906ed8e6ae4b4 8332947: [macos] OpenURIHandler events not received when AWT is embedded in another toolkit Reviewed-by: kcr, honkar, prr ! src/java.desktop/macosx/native/libawt_lwawt/awt/ApplicationDelegate.m Changeset: a8d8ffa8 Branch: hermetic-java-runtime Author: kieran-farrell Committer: Daniel Fuchs Date: 2025-05-16 07:33:17 +0000 URL: https://git.openjdk.org/leyden/commit/a8d8ffa8ad63f8f6308e2da224894fb2aded5d5c 8356395: Spec needs to be clarified for InterfaceAddress class level API documentation and getBroadcast() method Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/InterfaceAddress.java Changeset: a6ebcf61 Branch: hermetic-java-runtime Author: Andrew Haley Date: 2025-05-16 09:28:35 +0000 URL: https://git.openjdk.org/leyden/commit/a6ebcf61eb522a1bcfc9f2169d42974af3883b00 8354674: AArch64: Intrinsify Unsafe::setMemory Reviewed-by: adinn ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/java.base/share/classes/jdk/internal/foreign/SegmentBulkOperations.java = test/micro/org/openjdk/bench/java/lang/foreign/MemorySegmentFillUnsafe.java Changeset: a0a30607 Branch: hermetic-java-runtime Author: Marc Chevalier Date: 2025-05-16 11:31:37 +0000 URL: https://git.openjdk.org/leyden/commit/a0a3060709473c3ab433fa1485b723ca6c22b7cb 8353638: C2: deoptimization and re-execution cycle with StringBuilder Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/runtime/globals.hpp Changeset: 0d867578 Branch: hermetic-java-runtime Author: Marc Chevalier Date: 2025-05-16 11:32:01 +0000 URL: https://git.openjdk.org/leyden/commit/0d8675780f28d25ed538589480cc208b48fe7e93 8355488: Add stress mode for C2 loop peeling Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp Changeset: 079fccfa Branch: hermetic-java-runtime Author: Weijun Wang Date: 2025-05-16 12:25:04 +0000 URL: https://git.openjdk.org/leyden/commit/079fccfa9a03b890e698c52c689dea0f19f8fbee 8353888: Implement JEP 510: Key Derivation Function API Reviewed-by: valeriep, mullan, liach ! src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java ! src/java.base/share/classes/javax/crypto/KDF.java ! src/java.base/share/classes/javax/crypto/KDFParameters.java ! src/java.base/share/classes/javax/crypto/KDFSpi.java ! src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/module-info.java ! src/jdk.crypto.cryptoki/share/classes/module-info.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFBasicFunctionsTest.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFDelayedPRK.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFExhaustiveTest.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFKnownAnswerTests.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFSaltIKMTest.java + test/jdk/javax/crypto/KDF/KDFDelayedProviderException.java ! test/jdk/javax/crypto/KDF/KDFDelayedProviderSyncTest.java ! test/jdk/javax/crypto/KDF/KDFDelayedProviderTest.java ! test/jdk/javax/crypto/KDF/KDFDelayedProviderThreadingTest.java ! test/jdk/sun/security/pkcs11/KDF/TestHKDF.java Changeset: bca293d0 Branch: hermetic-java-runtime Author: Christian Stein Date: 2025-05-16 13:19:01 +0000 URL: https://git.openjdk.org/leyden/commit/bca293d0124af098d36cdfb18c15df18c8ce53b9 8336470: Source launcher should work with service loader SPI in unnamed module Reviewed-by: alanb ! make/CompileInterimLangtools.gmk ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/MemoryClassLoader.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/MemoryModuleFinder.java ! test/langtools/tools/javac/launcher/GetResourceTest.java + test/langtools/tools/javac/launcher/src/META-INF/services/java.util.spi.ToolProvider + test/langtools/tools/javac/launcher/src/Tool.java ! test/langtools/tools/javac/launcher/src/p/q/CLTest.java Changeset: 46a12e78 Branch: hermetic-java-runtime Author: Timofei Pushkin Committer: Ioi Lam Date: 2025-05-16 13:51:58 +0000 URL: https://git.openjdk.org/leyden/commit/46a12e781edcbe9da7bd39eb9e101fc680053cef 8315130: java.lang.IllegalAccessError when processing classlist to create CDS archive Reviewed-by: iklam, ccheung ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListParser.hpp ! src/hotspot/share/cds/unregisteredClasses.cpp ! src/hotspot/share/cds/unregisteredClasses.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/java.base/share/classes/jdk/internal/misc/CDS.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/DifferentSourcesTest.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/RegUnregSuperTest.java = test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/CustomLoadee5.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/CustomLoadee5Child.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/DifferentSourcesApp.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/RegUnregSuperApp.java Changeset: 413843cf Branch: hermetic-java-runtime Author: Evgeny Nikitin Committer: Leonid Mesnik Date: 2025-05-16 16:20:37 +0000 URL: https://git.openjdk.org/leyden/commit/413843cf8eb82b4778e976562e0e11a0ff5e3083 8356649: Update JCStress test suite Reviewed-by: lmesnik ! test/hotspot/jtreg/applications/jcstress/JcstressRunner.java Changeset: d5245092 Branch: hermetic-java-runtime Author: Evgeny Nikitin Committer: Leonid Mesnik Date: 2025-05-16 16:20:52 +0000 URL: https://git.openjdk.org/leyden/commit/d5245092249ed400f98711393e25e0ae97990daf 8356702: CTW: Update modules Reviewed-by: lmesnik ! test/hotspot/jtreg/applications/ctw/modules/generate.bash Changeset: 63ef90be Branch: hermetic-java-runtime Author: Ashutosh Mehra Date: 2025-05-16 17:21:16 +0000 URL: https://git.openjdk.org/leyden/commit/63ef90be971267a1d3ceb6b7a03b570c34ac4d06 8357084: Zero build fails after JDK-8354887 Reviewed-by: ccheung, kvn ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 3dd34517 Branch: hermetic-java-runtime Author: Naoto Sato Date: 2025-05-16 18:02:42 +0000 URL: https://git.openjdk.org/leyden/commit/3dd34517000e4ce1a21619922c62c025f98aad44 8357075: Remove leftover COMPAT locale data tests Reviewed-by: joehw, iris, jlu - test/jdk/sun/text/resources/LocaleData ! test/jdk/sun/text/resources/LocaleDataTest.java Changeset: 10258dc5 Branch: hermetic-java-runtime Author: Chris Plummer Date: 2025-05-16 20:45:21 +0000 URL: https://git.openjdk.org/leyden/commit/10258dc56eb7d5d99ca8ed2579e871de91c74769 8356811: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 4 Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod007a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod009t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod010.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod010t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod014t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance007a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance009t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/equals/equals001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/equals/equals001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/hashCode/hashcode001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/hashCode/hashcode001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod004t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod005t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod006t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod007t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod008.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod008t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod009t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod014t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue005t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/defaultStratum/defaultStratum003/defaultStratum003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/defaultStratum/defaultStratum004/defaultStratum004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceName/sourcename004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceName/sourcename004t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceNames/sourcenames002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceNames/sourcenames002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue005/setvalue005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue005/setvalue005t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue006/setvalue006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue006/setvalue006t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepEvent003/stepEvent003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepEvent004/stepEvent004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassExclusionFilter/filter001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_rt/filter_rt001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_rt/filter_rt003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_s/filter_s001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/interrupt/interrupt001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes006t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes007t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/setDefaultStratum/setDefaultStratum003/setDefaultStratum003.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/sde/SDEDebuggee.java Changeset: c2252690 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-16 14:24:27 +0000 URL: https://git.openjdk.org/leyden/commit/c2252690550d5f9d2b70d6c1e7d3f6eadbc5d1b5 Merge branch 'master' into hermetic-java-runtime ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/java.base/share/classes/sun/security/ssl/TrustStoreManager.java ! src/java.base/unix/native/libjava/ProcessImpl_md.c ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/java.base/share/classes/sun/security/ssl/TrustStoreManager.java ! src/java.base/unix/native/libjava/ProcessImpl_md.c From asmehra at openjdk.org Sat May 17 02:16:23 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Sat, 17 May 2025 02:16:23 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: References: Message-ID: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision: - Fix compile failure in zero variant Signed-off-by: Ashutosh Mehra - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer Signed-off-by: Ashutosh Mehra ------------- Changes: - all: https://git.openjdk.org/leyden/pull/68/files - new: https://git.openjdk.org/leyden/pull/68/files/799f6fd2..82567bab Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=68&range=01 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=68&range=00-01 Stats: 23 lines in 3 files changed: 11 ins; 7 del; 5 mod Patch: https://git.openjdk.org/leyden/pull/68.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/68/head:pull/68 PR: https://git.openjdk.org/leyden/pull/68 From asmehra at openjdk.org Sat May 17 02:16:23 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Sat, 17 May 2025 02:16:23 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: <7qmFZ4HLXK6PJS4VQ3miez-oNMlT3ptrCJKeGvNrQyQ=.5f1d6e01-8fb6-4db3-9a33-907d60368a01@github.com> References: <7qmFZ4HLXK6PJS4VQ3miez-oNMlT3ptrCJKeGvNrQyQ=.5f1d6e01-8fb6-4db3-9a33-907d60368a01@github.com> Message-ID: On Fri, 16 May 2025 18:02:24 GMT, Vladimir Kozlov wrote: >> Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision: >> >> - Fix compile failure in zero variant >> >> Signed-off-by: Ashutosh Mehra >> - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer >> >> Signed-off-by: Ashutosh Mehra > > Can you add new methods to `AOTCacheAccess` to get addresses based on offsets instead of: `(Method*)((address)SharedBaseAddress + entry->method_offset());` ? @vnkozlov I added changes as per your suggestion. ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2887973742 From kvn at openjdk.org Sat May 17 04:34:03 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Sat, 17 May 2025 04:34:03 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: References: Message-ID: On Sat, 17 May 2025 02:16:23 GMT, Ashutosh Mehra wrote: >> This PR fixes a few things in the premain: >> 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. >> 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. >> 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. >> 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. > > Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision: > > - Fix compile failure in zero variant > > Signed-off-by: Ashutosh Mehra > - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer > > Signed-off-by: Ashutosh Mehra Good. ------------- Marked as reviewed by kvn (Committer). PR Review: https://git.openjdk.org/leyden/pull/68#pullrequestreview-2847961944 From adinn at openjdk.org Mon May 19 09:24:17 2025 From: adinn at openjdk.org (Andrew Dinn) Date: Mon, 19 May 2025 09:24:17 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline [v2] In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Fri, 16 May 2025 18:09:41 GMT, Vladimir Kozlov wrote: >> The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. >> >> An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. >> >> During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. >> >> Tested premain-tier1. > > Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: > > Added missing checks. Address comment. Looks good. ------------- Marked as reviewed by adinn (Committer). PR Review: https://git.openjdk.org/leyden/pull/67#pullrequestreview-2850058349 From shade at openjdk.org Mon May 19 09:50:21 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 19 May 2025 09:50:21 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: On Fri, 16 May 2025 15:49:04 GMT, Ashutosh Mehra wrote: > @shipilev - fyi after these changes we should also be able to set ArchiveRelocationMode to 1 by default in premain (See https://bugs.openjdk.org/browse/JDK-8340474). I agree. I flipped `ArchiveRelocationMode = 1` on top of this PR, and the testing started to pass. Thanks! I opened the dependent PR here: https://github.com/openjdk/leyden/pull/69 ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2890374121 From shade at openjdk.org Mon May 19 09:52:21 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 19 May 2025 09:52:21 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 Message-ID: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> Current Leyden premain repo has this change: - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ We need to revert this to make sure we can compare the performance against mainline. Needs https://github.com/openjdk/leyden/pull/68 to work. Additional testing: - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 ------------- Commit messages: - Fix Changes: https://git.openjdk.org/leyden/pull/69/files Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=69&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8340474 Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.org/leyden/pull/69.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/69/head:pull/69 PR: https://git.openjdk.org/leyden/pull/69 From shade at openjdk.org Mon May 19 10:01:51 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 19 May 2025 10:01:51 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v2] In-Reply-To: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> Message-ID: <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> > Current Leyden premain repo has this change: > > > - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ > + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ > + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ > > > We need to revert this to make sure we can compare the performance against mainline. > > Needs https://github.com/openjdk/leyden/pull/68 to work. > > Additional testing: > - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision: Ditch relevant ProblemList entries as well ------------- Changes: - all: https://git.openjdk.org/leyden/pull/69/files - new: https://git.openjdk.org/leyden/pull/69/files/8142f086..56d2ad4d Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=69&range=01 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=69&range=00-01 Stats: 5 lines in 1 file changed: 0 ins; 5 del; 0 mod Patch: https://git.openjdk.org/leyden/pull/69.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/69/head:pull/69 PR: https://git.openjdk.org/leyden/pull/69 From adinn at openjdk.org Mon May 19 10:48:19 2025 From: adinn at openjdk.org (Andrew Dinn) Date: Mon, 19 May 2025 10:48:19 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: References: Message-ID: On Sat, 17 May 2025 02:16:23 GMT, Ashutosh Mehra wrote: >> This PR fixes a few things in the premain: >> 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. >> 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. >> 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. >> 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. > > Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision: > > - Fix compile failure in zero variant > > Signed-off-by: Ashutosh Mehra > - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer > > Signed-off-by: Ashutosh Mehra Looks good apart from maybe clarifying the accessor methods. src/hotspot/share/cds/aotCacheAccess.hpp line 51: > 49: static bool can_generate_aot_code(InstanceKlass* ik) NOT_CDS_RETURN_(false); > 50: > 51: static uint delta_from_base_address(address addr); Could we have a comment here to distinguish the operation of `delta_from_base_address` and `convert_offset_to_klass/method. As I understand it: `convert_offset_to_method/klass` are used during a production run to retrieve a pointer to a `Method/Klass` located in a loaded archive. The offset argument identifies a delta from the archive's currently mapped shared base address to the start of the object. It will normally have been obtained by reading a value embedded in some other archive entry. `delta_from_base_address` are used during an assembly run to compute the offset at which a metadata object will be found in the mapped region of an archive under construction. The input argument is the address of a metadata object (`Method/Klass`) loaded by the assembly JVM. Computation of the offset requires mapping the supplied metadata object to a clean copy which resides in the current mapped archive range, remapping the address of that copy to its target location in some requested address range and subtracting that address from the requested base address (the latter being the address at which the shared archive is expected to be remapped). n.b. the offset of the clean copy in the current shared address range may not be the same as the offset of the object in the requested address range. ------------- Marked as reviewed by adinn (Committer). PR Review: https://git.openjdk.org/leyden/pull/68#pullrequestreview-2850307907 PR Review Comment: https://git.openjdk.org/leyden/pull/68#discussion_r2095422323 From kvn at openjdk.org Mon May 19 15:43:35 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Mon, 19 May 2025 15:43:35 GMT Subject: git: openjdk/leyden: premain: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline Message-ID: <5e3fe609-0de0-4527-b007-3d2d143956c5@openjdk.org> Changeset: fc222b7a Branch: premain Author: Vladimir Kozlov Date: 2025-05-19 15:41:55 +0000 URL: https://git.openjdk.org/leyden/commit/fc222b7a841f4f828fad867dc13a02817b82899e 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline Reviewed-by: asmehra, adinn ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/memory/memoryReserver.cpp From kvn at openjdk.org Mon May 19 15:45:08 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Mon, 19 May 2025 15:45:08 GMT Subject: RFR: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline [v2] In-Reply-To: References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: On Mon, 19 May 2025 09:21:30 GMT, Andrew Dinn wrote: >> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: >> >> Added missing checks. Address comment. > > Looks good. Thank you, @adinn ------------- PR Comment: https://git.openjdk.org/leyden/pull/67#issuecomment-2891485383 From kvn at openjdk.org Mon May 19 15:45:09 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Mon, 19 May 2025 15:45:09 GMT Subject: Integrated: 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline In-Reply-To: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> References: <9yS9o6Sg6bzgxUBlX3EPDbdc_FvubSsjJdsGiWN9z_M=.521c66f0-6d2d-4169-b435-a4fd47d75fdd@github.com> Message-ID: <0AoSfPCRVjqhCaZ54yf9-QRKr2X53nWaD4XliNNHIuE=.8b207813-f977-4c36-b9d2-e5bb98a795fd@github.com> On Fri, 16 May 2025 02:33:45 GMT, Vladimir Kozlov wrote: > The issue was that we did not allocate space "noaccess prefix" before heap for read-only page when we setup type of encoding with `UseCompatibleCompressedOops` flag. I update code which reserves heap for compressed oops to take into account this flag. > > An other issue was that `UseCompatibleCompressedOops` flag was set during CDS arguments consistency checkup. But `UseCompressedOops` flag is set by GC ergonomics. I moved code to CDS ergonomics setting method. > > During testing I hit assert that AOT code address table is missing some code blob address. But it was actually card table base address which pointed inside CodeCache. I added special case to check for it early. > > Tested premain-tier1. This pull request has now been integrated. Changeset: fc222b7a Author: Vladimir Kozlov URL: https://git.openjdk.org/leyden/commit/fc222b7a841f4f828fad867dc13a02817b82899e Stats: 63 lines in 3 files changed: 39 ins; 16 del; 8 mod 8347830: [premain] UseCompatibleCompressedOops is broken after merging with mainline Reviewed-by: asmehra, adinn ------------- PR: https://git.openjdk.org/leyden/pull/67 From duke at openjdk.org Mon May 19 19:38:59 2025 From: duke at openjdk.org (duke) Date: Mon, 19 May 2025 19:38:59 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 24 new changesets Message-ID: Changeset: 76570c62 Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-16 22:12:59 +0000 URL: https://git.openjdk.org/leyden/commit/76570c627db527f856f2394fb9ead02939eca621 8357149: Test runtime/cds/appcds/aotCode/AOTCodeFlags.java is broken after JDK-8354887 Reviewed-by: kvn, iklam ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 6c42856b Branch: hermetic-java-runtime Author: Matthias Baesken Date: 2025-05-18 11:32:37 +0000 URL: https://git.openjdk.org/leyden/commit/6c42856b8d5039c14ba04a48c60d09039d5030fe 8356778: Compiler add event logging in case of failures Reviewed-by: lucy ! src/hotspot/share/c1/c1_Compilation.cpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/compiler/compilationLog.cpp Changeset: 9927ec0b Branch: hermetic-java-runtime Author: Kuai Wei Committer: Shaojin Wen Date: 2025-05-18 23:28:01 +0000 URL: https://git.openjdk.org/leyden/commit/9927ec0b91775db342b2bbc1937253325c367a19 8356328: Some C2 IR nodes miss size_of() function Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/intrinsicnode.hpp ! src/hotspot/share/opto/machnode.hpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/opto/opaquenode.hpp Changeset: 969708bd Branch: hermetic-java-runtime Author: Albert Mingkun Yang Date: 2025-05-19 05:17:05 +0000 URL: https://git.openjdk.org/leyden/commit/969708bd8f0de49f641eab3881cb15712aa34f1e 8356157: Remove retry loop in collect of SerialHeap and ParallelScavengeHeap Reviewed-by: tschatzl, zgu ! src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp ! src/hotspot/share/gc/serial/serialHeap.cpp Changeset: 77a3e04f Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-19 07:29:25 +0000 URL: https://git.openjdk.org/leyden/commit/77a3e04ffc27554c14e3d45ba16ad0ee8f3c1eb1 8357016: Candidate main methods not computed properly Reviewed-by: jpai, vromero ! src/java.base/share/classes/jdk/internal/misc/MethodFinder.java ! src/java.base/share/classes/sun/launcher/LauncherHelper.java ! src/java.base/share/classes/sun/launcher/resources/launcher.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/SourceLauncher.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher.properties ! test/jdk/tools/launcher/Arrrghs.java ! test/jdk/tools/launcher/TestHelper.java ! test/langtools/tools/javac/launcher/SourceLauncherTest.java Changeset: 50a7c61d Branch: hermetic-java-runtime Author: Manuel H?ssig Committer: Marc Chevalier Date: 2025-05-19 07:39:42 +0000 URL: https://git.openjdk.org/leyden/commit/50a7c61d28b9885ff48f4fcd8bfd460b507bbcef 8355970: C2: Add command line option to print the compile phases Reviewed-by: chagedorn, kvn, mchevalier ! src/hotspot/share/compiler/compilerDirectives.hpp ! src/hotspot/share/compiler/compilerOracle.hpp ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp Changeset: 67fb1ee7 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-19 08:04:44 +0000 URL: https://git.openjdk.org/leyden/commit/67fb1ee7f11c840a28ace21d381c86353fd9b22b 8356946: x86: Optimize interpreter profile updates Reviewed-by: kvn, jsjolen ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp Changeset: 2fb3329d Branch: hermetic-java-runtime Author: Andrey Turbanov Date: 2025-05-19 08:08:09 +0000 URL: https://git.openjdk.org/leyden/commit/2fb3329d71532a4c40dba2e2698572e4ab5ceb19 8356846: Remove unnecessary List.contains key from TIFFDirectory.removeTagSet Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/javax/imageio/plugins/tiff/TIFFDirectory.java Changeset: effe40a2 Branch: hermetic-java-runtime Author: Serhiy Sachkov Committer: Jaikiran Pai Date: 2025-05-19 09:08:33 +0000 URL: https://git.openjdk.org/leyden/commit/effe40a24c29dc507eea5efef7b0736a33bc34a7 8351843: change test/jdk/com/sun/net/httpserver/simpleserver/RootDirPermissionsTest.java to a manual test Reviewed-by: dfuchs ! test/jdk/TEST.groups + test/jdk/com/sun/net/httpserver/simpleserver/DocRootDirPermissionsTest.java + test/jdk/com/sun/net/httpserver/simpleserver/DocRootDirPermissionsWinTest.java - test/jdk/com/sun/net/httpserver/simpleserver/RootDirPermissionsTest.java Changeset: 133c6fb4 Branch: hermetic-java-runtime Author: Johan Sj?len Date: 2025-05-19 10:04:32 +0000 URL: https://git.openjdk.org/leyden/commit/133c6fb4f34e9de3ffce92e10629c82f6723fcdd 8355481: Clean up MHN_copyOutBootstrapArguments Reviewed-by: dholmes, coleenp ! src/hotspot/share/prims/methodHandles.cpp Changeset: 36c9be70 Branch: hermetic-java-runtime Author: Manuel H?ssig Committer: Jaikiran Pai Date: 2025-05-19 10:15:56 +0000 URL: https://git.openjdk.org/leyden/commit/36c9be70e27eccdd2a156931fafa1f55dd3fb022 8356974: tools/launcher/ToolsOpts.java fails if the build id contains "-J" Reviewed-by: jpai, thartmann ! test/jdk/tools/launcher/ToolsOpts.java Changeset: afcaf840 Branch: hermetic-java-runtime Author: Sorna Sarathi N Committer: Jaikiran Pai Date: 2025-05-19 10:17:13 +0000 URL: https://git.openjdk.org/leyden/commit/afcaf84022f165d66068c16460b7666f48e84773 8357106: Add missing classpath exception copyright headers Reviewed-by: jpai ! src/java.base/share/classes/jdk/internal/foreign/CaptureStateUtil.java Changeset: 7f7add1e Branch: hermetic-java-runtime Author: Johan Sj?len Date: 2025-05-19 10:52:41 +0000 URL: https://git.openjdk.org/leyden/commit/7f7add1e56c4da18ce8fbbbf6e34e985c3054604 8355608: Async UL should take the file lock of stream when outputting Reviewed-by: aboldtch, iklam ! src/hotspot/share/logging/logFileStreamOutput.cpp Changeset: 26cb016b Branch: hermetic-java-runtime Author: Roland Westrelin Date: 2025-05-19 11:06:03 +0000 URL: https://git.openjdk.org/leyden/commit/26cb016b750963a4622985399130024792691984 8350329: C2: Div looses dependency on condition that guarantees divisor not zero in counted loop after peeling Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/loopTransform.cpp + test/hotspot/jtreg/compiler/controldependency/TestPeeledLoopNoBackedgeFloatingDiv.java Changeset: 3acfa9e4 Branch: hermetic-java-runtime Author: Daniel Gredler Committer: Alexey Ivanov Date: 2025-05-19 11:28:54 +0000 URL: https://git.openjdk.org/leyden/commit/3acfa9e4e7be2f37ac55f97348aad4f74ba802a0 8356966: java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java fails on Linux after JDK-8350203 Reviewed-by: honkar, aivanov ! src/java.desktop/share/classes/sun/font/Type1GlyphMapper.java ! test/jdk/java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java Changeset: 2e26b431 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-19 13:32:03 +0000 URL: https://git.openjdk.org/leyden/commit/2e26b431585129b705f57955b660d155eaf138b8 8356875: RISC-V: extension flag UseZvfh should depends on UseZfh Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/vm_version_riscv.cpp Changeset: 92fd4499 Branch: hermetic-java-runtime Author: Hamlin Li Date: 2025-05-19 13:32:17 +0000 URL: https://git.openjdk.org/leyden/commit/92fd44992b9326fa10ec8303394dac17bb81b168 8350960: RISC-V: Add riscv backend for Float16 operations - vectorization Reviewed-by: fyang, dzhang, luhenry ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/riscv_v.ad ! test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java Changeset: 265d6301 Branch: hermetic-java-runtime Author: Erik Gahlin Date: 2025-05-19 13:38:38 +0000 URL: https://git.openjdk.org/leyden/commit/265d630125db448ba0cdc3ab7e938beb50e93ed0 8357187: JFR: User-defined defaults should be respected when an incorrect setting is set Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/EventControl.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/CutoffSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/PeriodSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/ThresholdSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/ThrottleSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/util/Utils.java Changeset: fbc12be7 Branch: hermetic-java-runtime Author: Mikhail Yankelevich Committer: Weijun Wang Date: 2025-05-19 14:33:12 +0000 URL: https://git.openjdk.org/leyden/commit/fbc12be73217315d66792b6ad3faacab133bb9d5 8349151: Refactor test/java/security/cert/CertificateFactory/slowstream.sh to java test Reviewed-by: weijun ! test/jdk/java/security/cert/CertificateFactory/SlowStream.java - test/jdk/java/security/cert/CertificateFactory/slowstream.sh Changeset: 84a98ab4 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-19 14:53:52 +0000 URL: https://git.openjdk.org/leyden/commit/84a98ab43ff268d0b10926b35320717d691337ae 8357166: Many AOT tests failed with VM crash Reviewed-by: thartmann, shade ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 6a58af31 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-19 15:00:54 +0000 URL: https://git.openjdk.org/leyden/commit/6a58af310ab2b800642f4604ee90cc74981fb9f3 8357143: New test AOTCodeCompressedOopsTest.java fails on platforms without AOT Code Cache support Reviewed-by: asmehra, fyang, shade, mdoerr ! test/hotspot/jtreg/TEST.ROOT ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/jtreg-ext/requires/VMProps.java Changeset: 6818dcc0 Branch: hermetic-java-runtime Author: Stuart Marks Date: 2025-05-19 16:53:13 +0000 URL: https://git.openjdk.org/leyden/commit/6818dcc08ed85e220c5206fda5c991b886e35334 8351230: Collections.synchronizedList returns a list that is not thread-safe Reviewed-by: jpai ! src/java.base/share/classes/java/util/Collections.java + test/jdk/java/util/Collections/SyncListBash.java ! test/jdk/java/util/SequencedCollection/Basic.java Changeset: bd995256 Branch: hermetic-java-runtime Author: Leonid Mesnik Date: 2025-05-19 17:09:15 +0000 URL: https://git.openjdk.org/leyden/commit/bd99525633e4d3d3f180a6678eedb8780dbb6139 8356193: Remove tests from ProblemList-enable-preview.txt fixed by JDK-8344706 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList-enable-preview.txt ! test/jdk/ProblemList-enable-preview.txt Changeset: 242e29f9 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-19 12:24:21 +0000 URL: https://git.openjdk.org/leyden/commit/242e29f9f3ddbdbfec5af21ff18a1eecb917d278 Merge branch 'master' into hermetic-java-runtime From duke at openjdk.org Mon May 19 22:21:40 2025 From: duke at openjdk.org (duke) Date: Mon, 19 May 2025 22:21:40 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: - Build static-jmods as a dependency for static-jdk. Message-ID: <23f865f9-2242-4473-bb80-e0e2021b9cdf@openjdk.org> Changeset: 664d3070 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-19 15:16:43 +0000 URL: https://git.openjdk.org/leyden/commit/664d3070dcc8040dacbb2adc20245e9cd580fe65 - Build static-jmods as a dependency for static-jdk. - Copy the static jmods into static-jdk/jmods, instead of copying from the regular JDK. ! make/Main.gmk ! make/StaticLibs.gmk From jiangli at openjdk.org Mon May 19 22:33:12 2025 From: jiangli at openjdk.org (Jiangli Zhou) Date: Mon, 19 May 2025 22:33:12 GMT Subject: RFR: 8347755: Support static library in jmod [v6] In-Reply-To: References: Message-ID: On Fri, 14 Mar 2025 04:42:49 GMT, Henry Jen wrote: >> This PR add --static-libs option to the jmod tool, it's basically mirroring --libs option to support adding a new section of static archive into the jmod file under the new section `static-lib`. >> >> The JMOD magic header contains a MAJOR and MINOR version, we bump up the MINOR version if the --static-libs option is specified; otherwise, keep the MINOR version as 1. This allow created JMOD file without the newly supported static-lib section to continue be consumed by earlier version of jmod tool. >> >> Also fix the formatting for _hermetic_jdk_jimage_offset, which is a julong(uint64_t) as unsigned long long on MacOS, thus need to use %llu. > > Henry Jen has updated the pull request incrementally with one additional commit since the last revision: > > Add hotspot static libs to java.base-static-jmod I'm looking to using the static libs from the static jmods for linking launcher executable. I just pushed https://github.com/openjdk/leyden/commit/664d3070dcc8040dacbb2adc20245e9cd580fe65 with following changes for static jmods. Do we want to start review process for all changes to the leyden/hermetic-java-runtime branch now? - Build static-jmods as a dependency for static-jdk. - Copy the static jmods into static-jdk/jmods, instead of copying from the regular JDK. The shared libraries (`.so`) are still included in the static jmods. I think only the static libraries (`.a`) are needed in the static jmods. $ jmod list ./linux-x86_64-server-fastdebug/images/static-jdk/jmods/java.base.jmod | grep libjvm lib/server/libjvm.so static-lib/libjvm.a ------------- PR Comment: https://git.openjdk.org/leyden/pull/46#issuecomment-2892431418 From asmehra at openjdk.org Tue May 20 14:33:30 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 14:33:30 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: References: Message-ID: <6PXgAZSk4A0eT1_BRAD9cCdUQd_zGdrJqIKIMeHno9w=.cbcb92f4-609e-4d30-a848-2c4c120c2e7b@github.com> On Sat, 17 May 2025 04:31:06 GMT, Vladimir Kozlov wrote: >> Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision: >> >> - Fix compile failure in zero variant >> >> Signed-off-by: Ashutosh Mehra >> - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer >> >> Signed-off-by: Ashutosh Mehra > > Good. @vnkozlov @adinn thanks for the reviews. ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2894646822 From asmehra at openjdk.org Tue May 20 14:33:29 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 14:33:29 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v3] In-Reply-To: References: Message-ID: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision: Add comments Signed-off-by: Ashutosh Mehra ------------- Changes: - all: https://git.openjdk.org/leyden/pull/68/files - new: https://git.openjdk.org/leyden/pull/68/files/82567bab..f0c025d7 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=68&range=02 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=68&range=01-02 Stats: 17 lines in 1 file changed: 17 ins; 0 del; 0 mod Patch: https://git.openjdk.org/leyden/pull/68.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/68/head:pull/68 PR: https://git.openjdk.org/leyden/pull/68 From asmehra at openjdk.org Tue May 20 14:33:30 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 14:33:30 GMT Subject: Integrated: 8357060: [premain] assert(left >= right) failed: avoid underflow In-Reply-To: References: Message-ID: <6aCpbCDiPRuy5qm8c3xESX9Ie30uyFjm_wIUfQPxoIQ=.1bb4ed0c-e4e0-4063-aefd-b603cc7c546e@github.com> On Fri, 16 May 2025 15:15:39 GMT, Ashutosh Mehra wrote: > This PR fixes a few things in the premain: > 1. When storing metadata in aot code cache, `AOTCacheAccess::delta_from_shared_address_base` was incorrectly using `SharedBaseAddress` for computing the offset. It should be using `MetaspaceShared::requested_base_address` because we convert the input address to the requested address. > 2. Fixing the above issue results in crash in C1 and C2 compiled code during production run because CompressedKlassPointer::base() value was hardcoded in the generated code. In mainline we emit relocation for `CompressedKlassPointer::base()`. This patch adds the same changes to premain. In addition to that, it also modifies `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` which are used by C2 compiled code. > 3. Fixing 2 reveals another problem when preload the code. `AOTCodeEntry::_method` can be invalid if the AOT Cache gets mapped to different address than the "requested" address, and can result in crash when accessing `AOTCodeEntry::_method` during preload. Fix is to store the offset of the `AOTCodeEntry::_method` and use the offset on load to get the correct Method pointer. > 4. While working on this issue, I realized archived `AOTCodeCache::compile_nmethod` is using archived nmethod to print the assembly. This results in crash as archived nmethod has some state cleaned up. Updated `AOTCodeCache::compile_nmethod` to fix this issue. This pull request has now been integrated. Changeset: 03b7e3a5 Author: Ashutosh Mehra URL: https://git.openjdk.org/leyden/commit/03b7e3a5ff49d543bafadf5c0f43a300b50b9857 Stats: 198 lines in 8 files changed: 133 ins; 38 del; 27 mod 8357060: [premain] assert(left >= right) failed: avoid underflow Reviewed-by: kvn, adinn ------------- PR: https://git.openjdk.org/leyden/pull/68 From asmehra at openjdk.org Tue May 20 14:33:30 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 14:33:30 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: References: Message-ID: On Mon, 19 May 2025 10:44:32 GMT, Andrew Dinn wrote: >> Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision: >> >> - Fix compile failure in zero variant >> >> Signed-off-by: Ashutosh Mehra >> - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer >> >> Signed-off-by: Ashutosh Mehra > > src/hotspot/share/cds/aotCacheAccess.hpp line 51: > >> 49: static bool can_generate_aot_code(InstanceKlass* ik) NOT_CDS_RETURN_(false); >> 50: >> 51: static uint delta_from_base_address(address addr); > > Could we have a comment here to distinguish the operation of `delta_from_base_address` and `convert_offset_to_klass/method. > > As I understand it: > > `convert_offset_to_method/klass` are used during a production run to retrieve a pointer to a `Method/Klass` located in a loaded archive. The offset argument identifies a delta from the archive's currently mapped shared base address to the start of the object. It will normally have been obtained by reading a value embedded in some other archive entry. > > `delta_from_base_address` are used during an assembly run to compute the offset at which a metadata object will be found in the mapped region of an archive under construction. The input argument is the address of a metadata object (`Method/Klass`) loaded by the assembly JVM. Computation of the offset requires mapping the supplied metadata object to a clean copy which resides in the current mapped archive range, remapping the address of that copy to its target location in some requested address range and subtracting that address from the requested base address (the latter being the address at which the shared archive is expected to be remapped). n.b. the offset of the clean copy in the current shared address range may not be the same as the offset of the object in the requested address range. I added comments based on your suggestion. ------------- PR Review Comment: https://git.openjdk.org/leyden/pull/68#discussion_r2098134166 From asmehra at openjdk.org Tue May 20 14:35:56 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 14:35:56 GMT Subject: git: openjdk/leyden: premain: 8357060: [premain] assert(left >= right) failed: avoid underflow Message-ID: Changeset: 03b7e3a5 Branch: premain Author: Ashutosh Mehra Date: 2025-05-20 14:30:40 +0000 URL: https://git.openjdk.org/leyden/commit/03b7e3a5ff49d543bafadf5c0f43a300b50b9857 8357060: [premain] assert(left >= right) failed: avoid underflow Reviewed-by: kvn, adinn ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/share/cds/aotCacheAccess.cpp ! src/hotspot/share/cds/aotCacheAccess.hpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/oops/compressedKlass.hpp From asmehra at openjdk.org Tue May 20 14:39:17 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 14:39:17 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v2] In-Reply-To: <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> Message-ID: On Mon, 19 May 2025 10:01:51 GMT, Aleksey Shipilev wrote: >> Current Leyden premain repo has this change: >> >> >> - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ >> + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ >> + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ >> >> >> We need to revert this to make sure we can compare the performance against mainline. >> >> Needs https://github.com/openjdk/leyden/pull/68 to work. >> >> Additional testing: >> - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 > > Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision: > > Ditch relevant ProblemList entries as well lgtm ------------- Marked as reviewed by asmehra (Committer). PR Review: https://git.openjdk.org/leyden/pull/69#pullrequestreview-2854477688 From kvn at openjdk.org Tue May 20 14:48:09 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 20 May 2025 14:48:09 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v2] In-Reply-To: <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> Message-ID: On Mon, 19 May 2025 10:01:51 GMT, Aleksey Shipilev wrote: >> Current Leyden premain repo has this change: >> >> >> - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ >> + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ >> + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ >> >> >> We need to revert this to make sure we can compare the performance against mainline. >> >> Needs https://github.com/openjdk/leyden/pull/68 to work. >> >> Additional testing: >> - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 > > Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision: > > Ditch relevant ProblemList entries as well I submitted our testing ------------- PR Comment: https://git.openjdk.org/leyden/pull/69#issuecomment-2894702220 From shade at openjdk.org Tue May 20 15:08:51 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 15:08:51 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v3] In-Reply-To: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> Message-ID: <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> > Current Leyden premain repo has this change: > > > - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ > + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ > + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ > > > We need to revert this to make sure we can compare the performance against mainline. > > Needs https://github.com/openjdk/leyden/pull/68 to work. > > Additional testing: > - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 Aleksey Shipilev 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 three additional commits since the last revision: - Merge branch 'premain' into JDK-8340474-revert-archive-relocation-mode - Ditch relevant ProblemList entries as well - Fix ------------- Changes: - all: https://git.openjdk.org/leyden/pull/69/files - new: https://git.openjdk.org/leyden/pull/69/files/56d2ad4d..e4bfe0a7 Webrevs: - full: https://webrevs.openjdk.org/?repo=leyden&pr=69&range=02 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=69&range=01-02 Stats: 261 lines in 10 files changed: 172 ins; 54 del; 35 mod Patch: https://git.openjdk.org/leyden/pull/69.diff Fetch: git fetch https://git.openjdk.org/leyden.git pull/69/head:pull/69 PR: https://git.openjdk.org/leyden/pull/69 From shade at openjdk.org Tue May 20 15:08:51 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 15:08:51 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v2] In-Reply-To: References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> Message-ID: <-p60ty5yDgmz1sLQQxz6rNcDX2M9bF1Q1FMG1mTs9uU=.dfb38649-c901-4bd8-9cf5-8fcb4fce6d51@github.com> On Tue, 20 May 2025 14:45:26 GMT, Vladimir Kozlov wrote: > I submitted our testing No wait, I need to rebase to current premain, otherwise it will fail without Ashu's fixes. Let me do that. ------------- PR Comment: https://git.openjdk.org/leyden/pull/69#issuecomment-2894760691 From shade at openjdk.org Tue May 20 15:31:09 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 15:31:09 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v2] In-Reply-To: References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <_cDSWAm07OVioHtlSybz8dsvMyFSzXk55TBF_N-5W5Q=.1ff7f041-4b56-429f-a870-ab611d9f7997@github.com> Message-ID: On Tue, 20 May 2025 14:45:26 GMT, Vladimir Kozlov wrote: >> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision: >> >> Ditch relevant ProblemList entries as well > > I submitted our testing `runtime/cds` passes locally for Linux x86_64 and MacOS AArch64 here. Clear to submit for more testing, @vnkozlov. ------------- PR Comment: https://git.openjdk.org/leyden/pull/69#issuecomment-2894872672 From kvn at openjdk.org Tue May 20 15:31:09 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 20 May 2025 15:31:09 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v3] In-Reply-To: <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> Message-ID: <1f6CeWezrE5MVFRsueJf4y_qCF-7N7SHAy-f2LaLsVE=.27cb4632-a1f9-4716-8f6b-94cbb486bd55@github.com> On Tue, 20 May 2025 15:08:51 GMT, Aleksey Shipilev wrote: >> Current Leyden premain repo has this change: >> >> >> - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ >> + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ >> + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ >> >> >> We need to revert this to make sure we can compare the performance against mainline. >> >> Needs https://github.com/openjdk/leyden/pull/68 to work. >> >> Additional testing: >> - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 > > Aleksey Shipilev 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 three additional commits since the last revision: > > - Merge branch 'premain' into JDK-8340474-revert-archive-relocation-mode > - Ditch relevant ProblemList entries as well > - Fix I applied your changes above Ashutosh's changes which I pulled from premain after his push. Testing is good so far. ------------- PR Comment: https://git.openjdk.org/leyden/pull/69#issuecomment-2894876813 From iklam at openjdk.org Tue May 20 16:04:04 2025 From: iklam at openjdk.org (Ioi Lam) Date: Tue, 20 May 2025 16:04:04 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: <6PXgAZSk4A0eT1_BRAD9cCdUQd_zGdrJqIKIMeHno9w=.cbcb92f4-609e-4d30-a848-2c4c120c2e7b@github.com> References: <6PXgAZSk4A0eT1_BRAD9cCdUQd_zGdrJqIKIMeHno9w=.cbcb92f4-609e-4d30-a848-2c4c120c2e7b@github.com> Message-ID: <39uAKMve-2YPHpk7m2UjUh3dfTE6GCtc5eg2_SQx_-s=.75d61d09-ec2a-4810-ba90-3712d5418fec@github.com> On Tue, 20 May 2025 14:29:45 GMT, Ashutosh Mehra wrote: >> Good. > > @vnkozlov @adinn thanks for the reviews. @ashu-mehra does any part of this PR need to be upstreamed to the mainline? ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2895034784 From kvn at openjdk.org Tue May 20 16:26:13 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 20 May 2025 16:26:13 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: <6PXgAZSk4A0eT1_BRAD9cCdUQd_zGdrJqIKIMeHno9w=.cbcb92f4-609e-4d30-a848-2c4c120c2e7b@github.com> References: <6PXgAZSk4A0eT1_BRAD9cCdUQd_zGdrJqIKIMeHno9w=.cbcb92f4-609e-4d30-a848-2c4c120c2e7b@github.com> Message-ID: On Tue, 20 May 2025 14:29:45 GMT, Ashutosh Mehra wrote: >> Good. > > @vnkozlov @adinn thanks for the reviews. > @ashu-mehra does any part of this PR need to be upstreamed to the mainline? Compressed classed encoding changes are already in mainline as part of AOT runtime blobs caching changes. Metadata access fix is not applicable to mainline since they are for nmethods only. ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2895094836 From asmehra at openjdk.org Tue May 20 16:26:14 2025 From: asmehra at openjdk.org (Ashutosh Mehra) Date: Tue, 20 May 2025 16:26:14 GMT Subject: RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2] In-Reply-To: <39uAKMve-2YPHpk7m2UjUh3dfTE6GCtc5eg2_SQx_-s=.75d61d09-ec2a-4810-ba90-3712d5418fec@github.com> References: <6PXgAZSk4A0eT1_BRAD9cCdUQd_zGdrJqIKIMeHno9w=.cbcb92f4-609e-4d30-a848-2c4c120c2e7b@github.com> <39uAKMve-2YPHpk7m2UjUh3dfTE6GCtc5eg2_SQx_-s=.75d61d09-ec2a-4810-ba90-3712d5418fec@github.com> Message-ID: On Tue, 20 May 2025 16:01:22 GMT, Ioi Lam wrote: >> @vnkozlov @adinn thanks for the reviews. > > @ashu-mehra does any part of this PR need to be upstreamed to the mainline? @iklam nope, I don't think any of these issues are present in mainline. In mainline only C1 runtime stubs are accessing `CompressedKlassPointer::base()` which is already taken care of. I don't think any of the C2 runtime stubs access `CompressedKlassPointer::base()` which means changes to `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` shouldn't be required. Do you agree @vnkozlov @adinn ? ------------- PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2895100848 From shade at openjdk.org Tue May 20 17:37:02 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 17:37:02 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v3] In-Reply-To: <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> Message-ID: <11z6FDRWkgn2lfAQrssxXQtYLqu9VF4PJgodw0YatXo=.19997e37-aa2a-4f2e-96d2-f7ff53865dfb@github.com> On Tue, 20 May 2025 15:08:51 GMT, Aleksey Shipilev wrote: >> Current Leyden premain repo has this change: >> >> >> - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ >> + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ >> + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ >> >> >> We need to revert this to make sure we can compare the performance against mainline. >> >> Needs https://github.com/openjdk/leyden/pull/68 to work. >> >> Additional testing: >> - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 > > Aleksey Shipilev 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 three additional commits since the last revision: > > - Merge branch 'premain' into JDK-8340474-revert-archive-relocation-mode > - Ditch relevant ProblemList entries as well > - Fix Great! Tell me when you think enough testing have completed, and I'll integrate then. ------------- PR Comment: https://git.openjdk.org/leyden/pull/69#issuecomment-2895292786 From shade at openjdk.org Tue May 20 17:58:37 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 17:58:37 GMT Subject: git: openjdk/leyden: premain: 8340474: [premain] Revert ArchiveRelocationMode back to 1 Message-ID: <2a74cac9-04a5-4910-9306-f23628091b03@openjdk.org> Changeset: d9f8de93 Branch: premain Author: Aleksey Shipilev Date: 2025-05-20 17:56:03 +0000 URL: https://git.openjdk.org/leyden/commit/d9f8de932d26ce787146432e82ba3e362b3494ac 8340474: [premain] Revert ArchiveRelocationMode back to 1 Reviewed-by: asmehra, kvn ! src/hotspot/share/cds/cds_globals.hpp ! test/hotspot/jtreg/ProblemList.txt From kvn at openjdk.org Tue May 20 17:59:05 2025 From: kvn at openjdk.org (Vladimir Kozlov) Date: Tue, 20 May 2025 17:59:05 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v3] In-Reply-To: <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> Message-ID: On Tue, 20 May 2025 15:08:51 GMT, Aleksey Shipilev wrote: >> Current Leyden premain repo has this change: >> >> >> - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ >> + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ >> + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ >> >> >> We need to revert this to make sure we can compare the performance against mainline. >> >> Needs https://github.com/openjdk/leyden/pull/68 to work. >> >> Additional testing: >> - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 > > Aleksey Shipilev 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 three additional commits since the last revision: > > - Merge branch 'premain' into JDK-8340474-revert-archive-relocation-mode > - Ditch relevant ProblemList entries as well > - Fix My testing passed w/o new failures ------------- Marked as reviewed by kvn (Committer). PR Review: https://git.openjdk.org/leyden/pull/69#pullrequestreview-2855115720 From shade at openjdk.org Tue May 20 17:59:05 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 17:59:05 GMT Subject: RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1 [v3] In-Reply-To: <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> <1aeBPZWuUZlQQN3iubheqLowOsEme9DVv8I6IB5e6DA=.fe221da4-2806-4400-a9d6-dc6bb69d2207@github.com> Message-ID: On Tue, 20 May 2025 15:08:51 GMT, Aleksey Shipilev wrote: >> Current Leyden premain repo has this change: >> >> >> - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ >> + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ >> + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ >> >> >> We need to revert this to make sure we can compare the performance against mainline. >> >> Needs https://github.com/openjdk/leyden/pull/68 to work. >> >> Additional testing: >> - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 > > Aleksey Shipilev 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 three additional commits since the last revision: > > - Merge branch 'premain' into JDK-8340474-revert-archive-relocation-mode > - Ditch relevant ProblemList entries as well > - Fix Excellent! Let's go. ------------- PR Comment: https://git.openjdk.org/leyden/pull/69#issuecomment-2895345226 From shade at openjdk.org Tue May 20 17:59:06 2025 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 20 May 2025 17:59:06 GMT Subject: Integrated: 8340474: [premain] Revert ArchiveRelocationMode back to 1 In-Reply-To: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> References: <6F4gD7YB6wSMKz2c20yKJ7b896hJytk84JYqMAC9B3A=.24084f47-0bd9-4388-83c9-8a4496ce55b4@github.com> Message-ID: On Mon, 19 May 2025 09:47:18 GMT, Aleksey Shipilev wrote: > Current Leyden premain repo has this change: > > > - product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \ > + /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \ > + product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \ > > > We need to revert this to make sure we can compare the performance against mainline. > > Needs https://github.com/openjdk/leyden/pull/68 to work. > > Additional testing: > - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68 This pull request has now been integrated. Changeset: d9f8de93 Author: Aleksey Shipilev URL: https://git.openjdk.org/leyden/commit/d9f8de932d26ce787146432e82ba3e362b3494ac Stats: 7 lines in 2 files changed: 0 ins; 6 del; 1 mod 8340474: [premain] Revert ArchiveRelocationMode back to 1 Reviewed-by: asmehra, kvn ------------- PR: https://git.openjdk.org/leyden/pull/69 From duke at openjdk.org Fri May 23 18:13:16 2025 From: duke at openjdk.org (duke) Date: Fri, 23 May 2025 18:13:16 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 96 new changesets Message-ID: <2fa19067-1961-4036-bf63-de1101472f81@openjdk.org> Changeset: 27a42435 Branch: hermetic-java-runtime Author: Yannik Stradmann Committer: David Holmes Date: 2025-05-19 21:28:02 +0000 URL: https://git.openjdk.org/leyden/commit/27a4243561e31d6f2858dd0c0bd356e2849ed87c 8354560: Exponentially delay subsequent native thread creation in case of EAGAIN Reviewed-by: dholmes, fbredberg ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp Changeset: fbeea1da Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-19 21:33:22 +0000 URL: https://git.openjdk.org/leyden/commit/fbeea1daef6a65875d713395c489483762d804fe 8356844: Missing @Serial annotation for sun.print.CustomOutputBin#serialVersionUID Reviewed-by: aivanov, prr ! src/java.desktop/share/classes/sun/print/CustomOutputBin.java Changeset: 637e9d16 Branch: hermetic-java-runtime Author: Vicente Romero Date: 2025-05-19 22:47:13 +0000 URL: https://git.openjdk.org/leyden/commit/637e9d16ddb21003234abcd32f759aefd91f21f9 8354556: Expand value-based class warnings to java.lang.ref API Co-authored-by: Archie Cobbs Reviewed-by: jlahoda ! make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java ! src/java.base/share/classes/java/lang/ref/Cleaner.java ! src/java.base/share/classes/java/lang/ref/PhantomReference.java ! src/java.base/share/classes/java/lang/ref/Reference.java ! src/java.base/share/classes/java/lang/ref/ReferenceQueue.java ! src/java.base/share/classes/java/lang/ref/SoftReference.java ! src/java.base/share/classes/java/lang/ref/WeakReference.java ! src/java.base/share/classes/java/util/WeakHashMap.java + src/java.base/share/classes/jdk/internal/RequiresIdentity.java ! src/java.base/share/classes/jdk/internal/ValueBased.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Arguments.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Options.java ! src/jdk.compiler/share/classes/module-info.java ! src/jdk.compiler/share/man/javac.md ! test/langtools/tools/javac/diags/CheckResourceKeys.java ! test/langtools/tools/javac/diags/examples/AttemptToSynchronizeOnInstanceOfVbc.java + test/langtools/tools/javac/diags/examples/RequiresIdentity.java ! test/langtools/tools/javac/lint/ExternalAbuseOfVbc.java ! test/langtools/tools/javac/lint/ExternalAbuseOfVbc.out + test/langtools/tools/javac/lint/RequiresIdentityHelper.java + test/langtools/tools/javac/lint/RequiresIdentityTest.java + test/langtools/tools/javac/lint/RequiresIdentityTest.out + test/langtools/tools/javac/lint/RequiresIdentityTest2.out Changeset: 890456f0 Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-19 23:43:19 +0000 URL: https://git.openjdk.org/leyden/commit/890456f0f78cc37c72b438a50ddf2605e1dfd91b 8355078: java.awt.Color.createContext() uses unnecessary synchronization Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/Color.java ! src/java.desktop/share/classes/java/awt/ColorPaintContext.java + test/jdk/java/awt/ColorClass/PaintContext/ColorPaintContextBasicTest.java + test/jdk/java/awt/ColorClass/PaintContext/ColorPaintContextStateTrackerTest.java Changeset: 39d8d109 Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-20 02:40:05 +0000 URL: https://git.openjdk.org/leyden/commit/39d8d109dd8ab300ff6579f8077468a6b02cfbda 8348906: InstanceOfTree#getType doesn't specify when it returns null Reviewed-by: liach ! src/jdk.compiler/share/classes/com/sun/source/tree/InstanceOfTree.java + test/langtools/tools/javac/patterns/InstanceOfModelTest.java Changeset: 7077535c Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-20 03:44:25 +0000 URL: https://git.openjdk.org/leyden/commit/7077535c0b0a6ea0a2a167f9135b1504a3d71fb3 8356595: Convert -Xlog:cds to -Xlog:aot (step1) Reviewed-by: ccheung, dholmes, jsjolen, matsaave ! make/GenerateLinkOptData.gmk ! make/RunTests.gmk ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp + src/hotspot/share/cds/aotLogging.hpp ! src/hotspot/share/cds/aotReferenceObjSupport.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsEnumKlass.cpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/dumpAllocStats.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/prims/jvmtiTagMap.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/services/heapDumper.cpp ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/ArchiveRelocationTest.java ! test/hotspot/jtreg/runtime/cds/appcds/ClassListFormatBase.java ! test/hotspot/jtreg/runtime/cds/appcds/DumpingWithNoCoops.java ! test/hotspot/jtreg/runtime/cds/appcds/LambdaWithJavaAgent.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTCacheSupportForCustomLoaders.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTLoggingTag.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/VerifierFailOver.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AOTCacheWithZGC.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/FakeCodeLocation.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/cacheObject/ArchiveHeapTestClass.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArrayKlasses.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/ExactOptionMatch.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addopens/AddopensOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/module/ModuleOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jvmti/CFLH/ClassFileLoadHookTest.java ! test/hotspot/jtreg/runtime/cds/serviceability/ReplaceCriticalClasses.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java Changeset: f8d7f663 Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-20 05:46:34 +0000 URL: https://git.openjdk.org/leyden/commit/f8d7f663c1b8f12a69f0ff2ae1f1acb128138b86 8356998: Convert -Xlog:cds to -Xlog:aot (step 2) Reviewed-by: ccheung, matsaave ! make/Images.gmk ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/archiveUtils.inline.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListWriter.cpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/regeneratedClasses.cpp ! src/hotspot/share/classfile/classLoaderDataShared.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/compactHashtable.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/memory/metaspaceClosure.cpp ! src/hotspot/share/memory/metaspaceClosure.hpp ! src/hotspot/share/oops/annotations.cpp ! src/hotspot/share/oops/arrayKlass.cpp ! src/hotspot/share/oops/constMethod.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/recordComponent.cpp ! src/hotspot/share/oops/symbol.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/hotspot/jtreg/runtime/cds/CDSMapReader.java ! test/hotspot/jtreg/runtime/cds/CDSMapTest.java ! test/hotspot/jtreg/runtime/cds/DeterministicDump.java ! test/hotspot/jtreg/runtime/cds/SharedStrings.java ! test/hotspot/jtreg/runtime/cds/SpaceUtilizationCheck.java ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/ExtraSymbols.java ! test/hotspot/jtreg/runtime/cds/appcds/LambdaEagerInit.java ! test/hotspot/jtreg/runtime/cds/appcds/LambdaWithJavaAgent.java ! test/hotspot/jtreg/runtime/cds/appcds/VerifierTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddExports.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddReads.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/MethodHandleTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/WeakReferenceTest.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LambdasInTwoArchives.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UsedAllArchivedLambdas.java ! test/hotspot/jtreg/runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/CheckUnsupportedDumpingOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addopens/AddopensOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/module/ModuleOption.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/AOTLinkedLambdas.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/AOTLinkedVarHandles.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedConstants.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedPutField.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/ExerciseGC.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/FlagCombo.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/IncompatibleOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/InternSharedString.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/LargePages.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasic.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasicPlus.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsStress.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsWbTest.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java Changeset: e961b13c Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-20 06:04:33 +0000 URL: https://git.openjdk.org/leyden/commit/e961b13cd68bc352b86af17c7e53df8537519beb 8356165: System.in in jshell replace supplementary characters with ?? Reviewed-by: cstein, asotona ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java + test/langtools/jdk/jshell/InputUITest.java ! test/langtools/jdk/jshell/UITesting.java Changeset: f8fc7eeb Branch: hermetic-java-runtime Author: Arno Zeller Committer: SendaoYan Date: 2025-05-20 10:19:22 +0000 URL: https://git.openjdk.org/leyden/commit/f8fc7eeb24156f9c38ddd478b026074f522e39c4 8357052: java/io/File/GetXSpace.java prints wrong values in exception Reviewed-by: bpb ! test/jdk/java/io/File/GetXSpace.java Changeset: 0db5511c Branch: hermetic-java-runtime Author: Anton Artemov Committer: David Holmes Date: 2025-05-20 10:20:59 +0000 URL: https://git.openjdk.org/leyden/commit/0db5511ce6b0a5209af6f9a35ac993292b6b0b19 8354969: Add strdup function for ResourceArea Reviewed-by: dholmes, iklam ! src/hotspot/os/windows/perfMemory_windows.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/memory/resourceArea.hpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/services/heapDumper.cpp ! test/hotspot/gtest/memory/test_arena.cpp Changeset: ab985a7c Branch: hermetic-java-runtime Author: Anton Artemov Committer: David Holmes Date: 2025-05-20 10:44:34 +0000 URL: https://git.openjdk.org/leyden/commit/ab985a7c5d313304e6d601571885dcb871967259 8341544: Restore fence() in Mutex Reviewed-by: eosterlund, dholmes ! src/hotspot/share/runtime/mutex.cpp ! src/hotspot/share/runtime/mutex.hpp Changeset: 1a97eb42 Branch: hermetic-java-runtime Author: Manukumar V S Committer: Alexey Ivanov Date: 2025-05-20 12:06:35 +0000 URL: https://git.openjdk.org/leyden/commit/1a97eb429b520b7c4e625b97553c954d065c00cb 8355515: Clarify the purpose of forcePass() and forceFail() methods Reviewed-by: aivanov, kizune ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java Changeset: e6750a5b Branch: hermetic-java-runtime Author: Albert Mingkun Yang Date: 2025-05-20 13:15:43 +0000 URL: https://git.openjdk.org/leyden/commit/e6750a5bb0580733820a0885d40704e050baf97d 8357218: G1: Remove loop in G1CollectedHeap::try_collect_fullgc Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp Changeset: 277bb208 Branch: hermetic-java-runtime Author: Emanuel Peter Date: 2025-05-20 13:51:47 +0000 URL: https://git.openjdk.org/leyden/commit/277bb208a2c6de888c57285854b6f5d030021f94 8355094: Performance drop in auto-vectorized kernel due to split store Reviewed-by: vlivanov, thartmann ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/superword.cpp + test/micro/org/openjdk/bench/vm/compiler/VectorAutoAlignment.java + test/micro/org/openjdk/bench/vm/compiler/VectorAutoAlignmentVisualization.java Changeset: 62d155e8 Branch: hermetic-java-runtime Author: Roland Westrelin Date: 2025-05-20 14:18:41 +0000 URL: https://git.openjdk.org/leyden/commit/62d155e8c3b952ecf1f615666c7d71996ba43d74 8355230: Crash in fuzzer tests: assert(n != nullptr) failed: must not be null Reviewed-by: thartmann, epeter ! src/hotspot/share/opto/node.cpp + test/hotspot/jtreg/compiler/c2/TestNullRegionInputAtPhiMakePathDead.java Changeset: 6162e2c5 Branch: hermetic-java-runtime Author: Weijun Wang Date: 2025-05-20 14:50:46 +0000 URL: https://git.openjdk.org/leyden/commit/6162e2c5213c5dd7c1127fd9616b543efa898962 8357062: Update Public Suffix List to 823beb1 Reviewed-by: mullan ! src/java.base/share/data/publicsuffixlist/VERSION ! src/java.base/share/data/publicsuffixlist/public_suffix_list.dat ! src/java.base/share/legal/public_suffix.md ! test/jdk/sun/security/util/RegisteredDomain/ParseNames.java ! test/jdk/sun/security/util/RegisteredDomain/tests.dat Changeset: bcf5cd69 Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-20 15:49:51 +0000 URL: https://git.openjdk.org/leyden/commit/bcf5cd69413abd95bf7c3a0249fe1c9b713c85a6 8355954: File.delete removes read-only files (win) Reviewed-by: alanb ! src/java.base/windows/classes/java/io/WinNTFileSystem.java ! src/java.base/windows/native/libjava/WinNTFileSystem_md.c + test/jdk/java/io/File/DeleteReadOnly.java ! test/jdk/java/io/File/SetAccess.java ! test/jdk/javax/management/security/HashedPasswordFileTest.java Changeset: e9d1d87b Branch: hermetic-java-runtime Author: Patrick Strawderman Committer: Daniel Fuchs Date: 2025-05-20 17:20:49 +0000 URL: https://git.openjdk.org/leyden/commit/e9d1d87b34f636747065c01128a12fc057070e09 8357013: HttpURLConnection#getResponseCode can avoid substring call when parsing to int Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/HttpURLConnection.java Changeset: 972f2ebe Branch: hermetic-java-runtime Author: Ferenc Rakoczi Committer: Sandhya Viswanathan Date: 2025-05-20 19:06:22 +0000 URL: https://git.openjdk.org/leyden/commit/972f2ebe978280d22531a70116e79837632f6ebc 8351412: Add AVX-512 intrinsics for ML-KEM Reviewed-by: sviswanathan ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.hpp + src/hotspot/cpu/x86/stubGenerator_x86_64_kyber.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/java.base/share/classes/com/sun/crypto/provider/ML_KEM.java Changeset: cedd1a53 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-20 20:11:56 +0000 URL: https://git.openjdk.org/leyden/commit/cedd1a5343dceb5394b8ed5ea78bb717f05c8caf 8357250: assert(shift >= 0 && shift < 4) failed: unexpected compressd klass shift! Reviewed-by: asmehra, mdoerr ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/vtableStubs_aarch64.cpp ! src/hotspot/share/code/relocInfo.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 74fc4e4e Branch: hermetic-java-runtime Author: Thomas Stuefe Date: 2025-05-21 04:39:35 +0000 URL: https://git.openjdk.org/leyden/commit/74fc4e4ee7f2e44d9c8339ff6665d4171d298f8f 8357179: Deprecate VFORK launch mechanism from Process implementation (linux) Reviewed-by: rriggs ! src/java.base/unix/classes/java/lang/ProcessImpl.java Changeset: 50e873f0 Branch: hermetic-java-runtime Author: Axel Boldt-Christmas Date: 2025-05-21 05:59:52 +0000 URL: https://git.openjdk.org/leyden/commit/50e873f0e88d6643586907dea5731d739b7826dc 8356455: ZGC: Replace ZIntrusiveRBTree with IntrusiveRBTree Reviewed-by: stefank, eosterlund, jsikstro - src/hotspot/share/gc/z/zIntrusiveRBTree.hpp - src/hotspot/share/gc/z/zIntrusiveRBTree.inline.hpp ! src/hotspot/share/gc/z/zMappedCache.cpp ! src/hotspot/share/gc/z/zMappedCache.hpp - test/hotspot/gtest/gc/z/test_zIntrusiveRBTree.cpp Changeset: 50a7755f Branch: hermetic-java-runtime Author: Aggelos Biboudis Date: 2025-05-21 06:44:54 +0000 URL: https://git.openjdk.org/leyden/commit/50a7755fa45529966373b58652c15975157ab846 8347530: Improve error message with invalid permits clauses Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties + test/langtools/tools/javac/T8347530.java + test/langtools/tools/javac/T8347530.out + test/langtools/tools/javac/diags/examples/SubtypeDoesntImplementSealed.java ! test/langtools/tools/javac/sealed/SealedDiffConfigurationsTest.java ! test/langtools/tools/javac/sealed/erroneous_hierarchy/CyclicHierarchyTest.out Changeset: 91194517 Branch: hermetic-java-runtime Author: Ivan Walulya Date: 2025-05-21 08:07:17 +0000 URL: https://git.openjdk.org/leyden/commit/91194517c75a96fe7bcc2dcf5e9c42af9cf5975a 8355756: G1HeapSizingPolicy::full_collection_resize_amount should consider allocation size Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp ! src/hotspot/share/gc/g1/g1HeapSizingPolicy.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp Changeset: a0cdf36b Branch: hermetic-java-runtime Author: Andrey Turbanov Date: 2025-05-21 08:39:43 +0000 URL: https://git.openjdk.org/leyden/commit/a0cdf36bdfeca9cd8b669859700d63d5ee627458 8357224: Avoid redundant WeakHashMap.get in Toolkit.removeAWTEventListener Reviewed-by: liach, aivanov, serb ! src/java.desktop/share/classes/java/awt/Toolkit.java Changeset: 735c7899 Branch: hermetic-java-runtime Author: Yudi Zheng Date: 2025-05-21 08:54:19 +0000 URL: https://git.openjdk.org/leyden/commit/735c7899d124a4e0c9579ea7802c9475eaedda10 8334717: Add JVMCI support for APX EGPRs Reviewed-by: dnsimon ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/aarch64/AArch64.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/amd64/AMD64.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/Architecture.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/CallingConvention.java - src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterArray.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterAttributes.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotRegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotVMConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotRegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotVMConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/riscv64/RISCV64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/riscv64/RISCV64HotSpotRegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/riscv64/RISCV64HotSpotVMConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/riscv64/RISCV64.java ! test/hotspot/jtreg/compiler/jvmci/common/CodeInstallerTest.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/aarch64/AArch64TestAssembler.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/amd64/AMD64TestAssembler.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/riscv64/RISCV64TestAssembler.java Changeset: 5f38d1bb Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-21 08:57:55 +0000 URL: https://git.openjdk.org/leyden/commit/5f38d1bb94d008c33c1a7af12c81ee0e15371e13 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build Reviewed-by: sspitsyn ! make/modules/jdk.jdwp.agent/Lib.gmk Changeset: 7c82e09b Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-21 09:23:23 +0000 URL: https://git.openjdk.org/leyden/commit/7c82e09b509a67cafd67f6d2aa33756bf8755253 8357048: RunTest variables should always be assigned Reviewed-by: erikj ! make/RunTests.gmk Changeset: b8057cf1 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-21 10:54:40 +0000 URL: https://git.openjdk.org/leyden/commit/b8057cf103bff6f8e2600c098519289a43227362 8357436: Change jspawnhelper warning recommendation from VFORK to FORK Reviewed-by: stuefe, alanb ! src/java.base/unix/native/libjava/ProcessImpl_md.c Changeset: 2c126f19 Branch: hermetic-java-runtime Author: Roman Kennke Date: 2025-05-21 11:11:58 +0000 URL: https://git.openjdk.org/leyden/commit/2c126f1954435a5b4d6cdc367b7b5e8c91cfae63 8357370: Export supported GCs in JVMCI Reviewed-by: dnsimon ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: a4f66f54 Branch: hermetic-java-runtime Author: Vicente Romero Date: 2025-05-21 11:27:05 +0000 URL: https://git.openjdk.org/leyden/commit/a4f66f5439f7fe585bd3664b7f2ceec23234e554 8325859: Potential information loss during type inference Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java + test/langtools/tools/javac/inference_context_min/SupplementaryInferenceContextTest.java Changeset: 108e454a Branch: hermetic-java-runtime Author: Dingli Zhang Committer: Feilong Jiang Date: 2025-05-21 11:43:13 +0000 URL: https://git.openjdk.org/leyden/commit/108e454a042aaca2a36cd0d8087e7668e3cac29c 8356924: RISC-V: Clean up cost for vector instructions Reviewed-by: fjiang, fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: a175767c Branch: hermetic-java-runtime Author: Thomas Schatzl Date: 2025-05-21 12:54:05 +0000 URL: https://git.openjdk.org/leyden/commit/a175767ccfb3dbcc04d1ba97f9fb2f57dc5ab5cf 8357018: Guidance for ParallelRefProcEnabled is wrong in the man pages Reviewed-by: kbarrett, iwalulya ! src/java.base/share/man/java.md Changeset: a07150af Branch: hermetic-java-runtime Author: Hannes Walln?fer Date: 2025-05-21 13:24:39 +0000 URL: https://git.openjdk.org/leyden/commit/a07150af1139b262513a25f4fdd32173af95ff4f 8357376: Disable syntax highlighting for JDK API docs Reviewed-by: erikj ! make/Docs.gmk Changeset: b63ec0ab Branch: hermetic-java-runtime Author: Chihiro Ito Date: 2025-05-21 14:05:33 +0000 URL: https://git.openjdk.org/leyden/commit/b63ec0ab584cb941b44a39b6ff130224ed444b60 8356945: jdk/jfr/event/os/TestProcessStart failed on Windows Subsystem for Linux Reviewed-by: egahlin ! test/jdk/jdk/jfr/event/os/TestProcessStart.java Changeset: 21c12822 Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-21 14:37:14 +0000 URL: https://git.openjdk.org/leyden/commit/21c1282207614e57138b37a7adca4ccf11cf5bef 8333664: Decouple command line parsing and package building in jpackage Reviewed-by: almatvee ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/DesktopIntegration.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppBundler.java - src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppImageBuilder.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxApplicationLayout.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxApplicationLayoutMixin.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebPackageBuilder.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxFromParams.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxLaunchersAsServices.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageArch.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBuilder.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBundler.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackagingPipeline.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxRpmBundler.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxRpmPackageBuilder.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxApplication.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxDebPackage.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxDebPackageMixin.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxLauncher.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxLauncherMixin.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxPackage.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxPackageMixin.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxRpmPackage.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxRpmPackageMixin.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources.properties + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/AppImageInfoPListFile.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/AppImageSigner.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/AppImageSigningConfigBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/Codesign.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/CodesignConfig.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/Keychain.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppBundler.java - src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageFileExtras.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationLayout.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationLayoutMixin.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacBaseInstallerBundler.java - src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacCertificate.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacCertificateUtils.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgPackageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgPackager.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacFileAssociationBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacFromParams.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacLaunchersAsServices.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPackageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPackagingPipeline.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgPackageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgPackager.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/SigningIdentityBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/SigningIdentityImpl.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/TempKeychain.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/AppImageSigningConfig.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacApplication.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacApplicationMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacDmgPackage.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacDmgPackageMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacFileAssociation.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacFileAssociationMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacLauncher.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPackage.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPackageMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPkgPackage.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPkgPackageMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/PkgSigningConfig.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/SigningIdentity.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/adjust-component-plist.xsl + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/util/PListWriter.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractAppImageBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractBundler.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageBundler.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageFile.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationImageUtils.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayoutUtils.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/Arguments.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/BuildEnv.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/BuildEnvBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/BuildEnvFromParams.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/BundlerParamInfo.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/CfgFile.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/CompositeProxyTunnel.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociation.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociationGroup.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociationScaner.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/FromParams.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/I18N.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/InstallableFile.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/JLinkBundlerHelper.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/JLinkRuntimeBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherAsService.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherData.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherFromParams.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherStartupInfoBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/OverridableResource.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackageBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackageFile.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackagerBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackagingPipeline.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/PlatformPackage.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/RuntimeBuilderBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/ScriptRunner.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/StandardBundlerParam.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/AppImageLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/AppImagePackageType.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Application.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationLaunchers.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationLayoutMixin.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationWriter.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ConfigException.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/CustomLauncherIcon.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/DefaultLauncherIcon.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/FileAssociation.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/I18N.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Launcher.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherIcon.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherJarStartupInfo.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherJarStartupInfoMixin.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherModularStartupInfo.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherModularStartupInfoMixin.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherStartupInfo.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Package.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackageType.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackageWriter.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackagerException.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/RuntimeBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/RuntimeLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/StandardPackageType.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/package-info.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/BinaryMatrix.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/DirectedEdge.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/FixedDAG.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/TaskPipelineBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/TaskSpecBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources.properties + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CollectionUtils.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CompositeProxy.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/LocalizedExceptionBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/PathGroup.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/PathUtils.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/StringBundle.java ! src/jdk.jpackage/share/classes/module-info.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/PackageScripts.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/ShellCustomAction.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/ShellCustomActionFactory.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/UnixLaunchersAsServices.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ExecutableRebrander.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/OSVersionCondition.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinAppBundler.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinExeBundler.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinExePackageBuilder.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinFromParams.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiPackageBuilder.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinPackagingPipeline.java - src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixAppImageFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixLauncherAsService.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixSourceConverter.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixUiFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/MsiVersion.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinApplication.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinApplicationMixin.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinExePackage.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinExePackageMixin.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinLauncher.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinLauncherMixin.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinMsiPackage.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinMsiPackageMixin.java + test/jdk/tools/jpackage/clean_stashed_files.sh ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/AdditionalLauncher.java + test/jdk/tools/jpackage/helpers/jdk/jpackage/test/ConfigFilesStasher.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageUserScript.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/junit/TEST.properties ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/AppImageFileTest.java - test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/ApplicationLayoutTest.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/OverridableResourceTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/model/AppImageLayoutTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/model/ApplicationLayoutTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/BinaryMatrixTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/DirectedEdgeTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/FixedDAGTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/TaskPipelineBuilderTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/CompositeProxyTest.java ! test/jdk/tools/jpackage/share/PostImageScriptTest.java ! test/jdk/tools/jpackage/share/RuntimeImageTest.java Changeset: 254713ab Branch: hermetic-java-runtime Author: Hannes Walln?fer Date: 2025-05-21 14:37:30 +0000 URL: https://git.openjdk.org/leyden/commit/254713ab598f186fd31484a48a6dfebaeb752920 8338833: Error on reference not found for a snippet target Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/taglets/SnippetTaglet.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java Changeset: 275cfd32 Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-21 15:21:49 +0000 URL: https://git.openjdk.org/leyden/commit/275cfd323b1b7b5e8927e7be2f229d200bac9980 8357280: (bf) Remove @requires tags from java/nio/Buffer/LimitDirectMemory[NegativeTest].java Reviewed-by: alanb ! test/jdk/java/nio/Buffer/LimitDirectMemory.java ! test/jdk/java/nio/Buffer/LimitDirectMemoryNegativeTest.java Changeset: 6546de1d Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-21 16:32:36 +0000 URL: https://git.openjdk.org/leyden/commit/6546de1d3adb8c4755950ee6fb858ec9ee1c5294 8357478: Fix copyright header in src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java Reviewed-by: jpai ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java Changeset: f1eead60 Branch: hermetic-java-runtime Author: Hannes Walln?fer Date: 2025-05-21 17:20:46 +0000 URL: https://git.openjdk.org/leyden/commit/f1eead60358fb919a94c7a91e61d1e54f04e584a 8357452: Remove code span highlight in JavaDoc default stylesheet Reviewed-by: nbenalla, jjg, liach ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/stylesheet.css Changeset: 2dfbf41d Branch: hermetic-java-runtime Author: Alexander Zvegintsev Date: 2025-05-21 17:21:05 +0000 URL: https://git.openjdk.org/leyden/commit/2dfbf41d2a3dbcd44f9ed9a58a1b0932d7536977 8351907: [XWayland] [OL10] Robot.mousePress() is delivered to wrong place Reviewed-by: honkar, prr ! src/java.desktop/unix/classes/sun/awt/UNIXToolkit.java ! src/java.desktop/unix/classes/sun/awt/X11/XRobotPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java ! src/java.desktop/unix/classes/sun/awt/screencast/ScreencastHelper.java ! src/java.desktop/unix/classes/sun/awt/screencast/TokenStorage.java + src/java.desktop/unix/classes/sun/awt/screencast/XdgDesktopPortal.java ! src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c ! src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.h ! src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.c ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.h ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.c ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.h Changeset: 400c9350 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-21 18:55:56 +0000 URL: https://git.openjdk.org/leyden/commit/400c935082a0d4d843cf369af6fefde12d637438 8356904: Skip jdk/test/lib/process/TestNativeProcessBuilder on static-jdk Reviewed-by: henryjen, rriggs ! test/lib-test/TEST.ROOT ! test/lib-test/jdk/test/lib/process/TestNativeProcessBuilder.java Changeset: 81536830 Branch: hermetic-java-runtime Author: Doug Simon Date: 2025-05-21 19:21:20 +0000 URL: https://git.openjdk.org/leyden/commit/81536830ed096005c4f09ab446238ce50989cea9 8345826: Do not automatically resolve jdk.internal.vm.ci when libgraal is used Reviewed-by: iklam, never, kvn ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.hpp ! src/hotspot/share/jvmci/jvmci_globals.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/JVMCIServiceLocator.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java Changeset: afcbf6b2 Branch: hermetic-java-runtime Author: Erik Joelsson Date: 2025-05-21 19:49:51 +0000 URL: https://git.openjdk.org/leyden/commit/afcbf6b2f49c00a544e6db5b4ed9da76c0bdcba4 8357173: Split jtreg test group jdk tier3 Reviewed-by: mikael ! test/jdk/TEST.groups Changeset: 4d706892 Branch: hermetic-java-runtime Author: Ian Graves Date: 2025-05-21 21:11:34 +0000 URL: https://git.openjdk.org/leyden/commit/4d7068923cd87fbfc2edee25406521b11580d153 8351993: VectorShuffle access to and from MemorySegments Reviewed-by: psandoz ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractShuffle.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShuffle.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-VectorBits.java.template ! test/jdk/jdk/incubator/vector/AbstractVectorLoadStoreTest.java ! test/jdk/jdk/incubator/vector/AbstractVectorTest.java ! test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template Changeset: 3ee14471 Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-21 21:56:41 +0000 URL: https://git.openjdk.org/leyden/commit/3ee14471e10ca83fe96b7ee1d80a67a1f8c7f4ec 8357503: gcbasher fails with java.lang.IllegalArgumentException: Unknown constant pool type Reviewed-by: dholmes ! test/hotspot/jtreg/gc/stress/gcbasher/Decompiler.java Changeset: f687cac8 Branch: hermetic-java-runtime Author: Calvin Cheung Date: 2025-05-21 22:13:07 +0000 URL: https://git.openjdk.org/leyden/commit/f687cac88946b397d043e16ce3adc7b66a205af8 8353504: CDS archives are not found when JVM is in non-variant location Reviewed-by: iklam, shade ! src/hotspot/share/cds/cdsConfig.cpp + test/hotspot/jtreg/runtime/cds/NonJVMVariantLocation.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java Changeset: 07871cd7 Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-21 22:39:11 +0000 URL: https://git.openjdk.org/leyden/commit/07871cd78aa7ee35762234112dfe46fe3ebc9a57 8357063: Document preconditions for DecimalDigits methods Reviewed-by: vyazici, liach, rriggs ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java ! src/java.base/share/classes/java/lang/StringConcatHelper.java ! src/java.base/share/classes/java/math/BigDecimal.java ! src/java.base/share/classes/jdk/internal/util/DecimalDigits.java ! test/hotspot/jtreg/compiler/patches/java.base/java/lang/Helper.java Changeset: b685ea54 Branch: hermetic-java-runtime Author: Mikael Vidstedt Date: 2025-05-22 00:37:54 +0000 URL: https://git.openjdk.org/leyden/commit/b685ea54081fcf54a6567dddb49b63435a6e1ea4 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned Reviewed-by: dholmes, erikj ! make/RunTests.gmk Changeset: ee689145 Branch: hermetic-java-runtime Author: Zdenek Zambersky Committer: SendaoYan Date: 2025-05-22 03:39:47 +0000 URL: https://git.openjdk.org/leyden/commit/ee6891456ed672305d9b48846b5a7977373e1284 8343618: Stack smashing in awt_InputMethod.c on Linux s390x Co-authored-by: Ichiroh Takiguchi Reviewed-by: prr, aph, amitkumar ! src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c Changeset: 3bebb1fa Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-22 04:04:54 +0000 URL: https://git.openjdk.org/leyden/commit/3bebb1fa76da863a24645e3057e0f8d500ef2a41 8357504: Refactor the assignment of loader bits in InstanceKlassFlags Reviewed-by: matsaave, ccheung ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsProtectionDomain.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/vmClasses.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassFlags.cpp ! src/hotspot/share/oops/instanceKlassFlags.hpp ! src/hotspot/share/oops/klass.cpp Changeset: 68c1d305 Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-22 04:31:46 +0000 URL: https://git.openjdk.org/leyden/commit/68c1d305e726f3f4d7209b857f58cc10de5c0132 8357287: Unify usage of ICC profile "header size" constants in CMM-related code Reviewed-by: honkar, prr ! src/java.desktop/share/classes/java/awt/color/ICC_Profile.java ! src/java.desktop/share/classes/sun/java2d/cmm/ProfileDataVerifier.java Changeset: ec670652 Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-22 05:56:17 +0000 URL: https://git.openjdk.org/leyden/commit/ec6706520b87eff3d87b3b65f3caa39db2d96581 8357361: Exception when compiling switch expression with inferred type Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java ! test/langtools/tools/javac/switchexpr/ExpressionSwitchBugsInGen.java Changeset: 061b5cc6 Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-22 05:59:19 +0000 URL: https://git.openjdk.org/leyden/commit/061b5cc6b9939e182f3b2063ad86d042e35f0a91 8347050: Console.readLine() drops '\' when reading through JLine Reviewed-by: naoto ! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! test/jdk/jdk/internal/jline/JLineConsoleProviderTest.java Changeset: 8184ce39 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-22 06:09:34 +0000 URL: https://git.openjdk.org/leyden/commit/8184ce39a8a732352ee841fed09cae905d27643c 8357514: Disable AOT caching for runtime stubs Reviewed-by: iveresov, iklam ! src/hotspot/share/code/aotCodeCache.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: a919f6d0 Branch: hermetic-java-runtime Author: Stefan Karlsson Date: 2025-05-22 06:39:55 +0000 URL: https://git.openjdk.org/leyden/commit/a919f6d04e5e1e3ccb123132ad945b240345dcaf 8356372: JVMTI heap sampling not working properly with outside TLAB allocations Co-authored-by: Stefan Johansson Reviewed-by: sjohanss, sspitsyn ! src/hotspot/share/gc/g1/g1YoungGCPreEvacuateTasks.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/shared/memAllocator.cpp ! src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp ! src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahStackWatermark.cpp ! src/hotspot/share/gc/z/zThreadLocalAllocBuffer.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threadHeapSampler.cpp ! src/hotspot/share/runtime/threadHeapSampler.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitor.java Changeset: e348aa07 Branch: hermetic-java-runtime Author: Marc Chevalier Date: 2025-05-22 06:55:48 +0000 URL: https://git.openjdk.org/leyden/commit/e348aa071d7d20300062de5830e74fc78143c662 8351958: Some compile commands should be made diagnostic Reviewed-by: thartmann, kvn ! src/hotspot/share/compiler/compilerOracle.cpp ! test/hotspot/jtreg/compiler/compilercontrol/commands/OptionTest.java ! test/hotspot/jtreg/compiler/intrinsics/bigInteger/TestMultiplyToLen.java ! test/hotspot/jtreg/compiler/intrinsics/bigInteger/TestShift.java ! test/hotspot/jtreg/compiler/intrinsics/bigInteger/TestSquareToLen.java ! test/hotspot/jtreg/runtime/CommandLine/VMOptionWarning.java Changeset: d9b6e4b1 Branch: hermetic-java-runtime Author: Jason Zaugg Committer: Jaikiran Pai Date: 2025-05-22 07:25:43 +0000 URL: https://git.openjdk.org/leyden/commit/d9b6e4b13200684b69a161e288b9883ff0d96bec 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better performance Reviewed-by: liach, jpai, jlahoda, lancea ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java Changeset: 85b24c3c Branch: hermetic-java-runtime Author: Anton Artemov Committer: SendaoYan Date: 2025-05-22 07:56:34 +0000 URL: https://git.openjdk.org/leyden/commit/85b24c3c4e93d0203a8cfcd5f029e18eebc93f47 8350869: os::stat doesn't follow symlinks on Windows Reviewed-by: dholmes, mgronlun ! src/hotspot/os/windows/os_windows.cpp + test/hotspot/jtreg/runtime/LoadClass/TestSymlinkLoad.java Changeset: c0665efd Branch: hermetic-java-runtime Author: Aggelos Biboudis Date: 2025-05-22 08:36:47 +0000 URL: https://git.openjdk.org/leyden/commit/c0665efd4f7f43c567393570ba6872838debd77f 8354323: Safeguard SwitchBootstraps.typeSwitch when used outside the compiler Reviewed-by: jlahoda, liach ! src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java ! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java Changeset: 26053fe7 Branch: hermetic-java-runtime Author: Jaikiran Pai Date: 2025-05-22 10:44:21 +0000 URL: https://git.openjdk.org/leyden/commit/26053fe78322940113629ee1bd72077f25e4be3e 8357406: Remove usages of jdk.tracePinnedThreads system property from httpclient tests Reviewed-by: vyazici, djelinski, dfuchs, syan ! test/jdk/java/net/httpclient/AuthFilterCacheTest.java ! test/jdk/java/net/httpclient/ConcurrentResponses.java ! test/jdk/java/net/httpclient/HttpClientLocalAddrTest.java ! test/jdk/java/net/httpclient/HttpGetInCancelledFuture.java ! test/jdk/java/net/httpclient/ManyRequests.java ! test/jdk/java/net/httpclient/ManyRequests2.java ! test/jdk/java/net/httpclient/PlainProxyConnectionTest.java Changeset: 1e57648a Branch: hermetic-java-runtime Author: Roman Kennke Date: 2025-05-22 10:48:50 +0000 URL: https://git.openjdk.org/leyden/commit/1e57648abd569295f42dc19c00edfcc90c00b1d3 8350457: Implement JEP 519: Compact Object Headers Reviewed-by: mdoerr, coleenp, zgu ! make/conf/jib-profiles.js ! src/hotspot/share/runtime/globals.hpp ! test/hotspot/jtreg/compiler/arraycopy/TestArrayCopyNoInit.java ! test/hotspot/jtreg/compiler/c2/TestCastX2NotProcessedIGVN.java ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorConditionalMove.java ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationMismatchedAccess.java ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestAlignVector.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestScheduleReordersScalarMemops.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestSplitPacks.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestUnorderedReductionPartialVectorization.java ! test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java ! test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVectorNaN.java ! test/hotspot/jtreg/compiler/vectorization/runner/ArrayTypeConvertTest.java ! test/hotspot/jtreg/compiler/vectorization/runner/LoopCombinedOpTest.java ! test/hotspot/jtreg/gtest/CompressedKlassGtest.java ! test/hotspot/jtreg/gtest/MetaspaceGtests.java ! test/hotspot/jtreg/runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java ! test/hotspot/jtreg/runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java ! test/hotspot/jtreg/runtime/FieldLayout/BaseOffsets.java ! test/hotspot/jtreg/runtime/cds/TestDefaultArchiveLoading.java ! test/hotspot/jtreg/runtime/cds/appcds/TestZGCWithCDS.java ! test/hotspot/jtreg/runtime/vthread/JNIMonitor/JNIMonitor.java Changeset: 428d33ef Branch: hermetic-java-runtime Author: Serhiy Sachkov Committer: SendaoYan Date: 2025-05-22 12:30:26 +0000 URL: https://git.openjdk.org/leyden/commit/428d33ef3ca0af34d8f164fe9d9b722e81e866a7 8357462: Amend open/test/jdk//java/foreign/TestMatrix.java test scenario to run as manual Reviewed-by: jvernee, syan ! test/jdk/java/foreign/TestMatrix.java Changeset: 12efc1fe Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-22 14:24:59 +0000 URL: https://git.openjdk.org/leyden/commit/12efc1fe3322d16f0e703b334912241d80dbaba9 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently Reviewed-by: jpai ! test/jdk/java/lang/invoke/ClassValueTest.java Changeset: 72e440d0 Branch: hermetic-java-runtime Author: Brian Burkhalter Date: 2025-05-22 15:17:34 +0000 URL: https://git.openjdk.org/leyden/commit/72e440d06e6a93141e8943f1a62610cd951e22c4 8357303: (fs) UnixSecureDirectoryStream.implDelete has unused haveFlags parameter Reviewed-by: alanb, shade ! src/java.base/unix/classes/sun/nio/fs/UnixSecureDirectoryStream.java Changeset: 16d45511 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-22 15:34:12 +0000 URL: https://git.openjdk.org/leyden/commit/16d45511342c32ac8e8f72fb68dc21ce13339dbe 8355452: GHA: Test jtreg tier1 on linux-x64 static-jdk Reviewed-by: ihse, shade ! .github/actions/get-bundles/action.yml ! .github/actions/upload-bundles/action.yml ! .github/workflows/build-linux.yml ! .github/workflows/main.yml ! .github/workflows/test.yml Changeset: 1258af42 Branch: hermetic-java-runtime Author: Doug Simon Date: 2025-05-22 17:01:48 +0000 URL: https://git.openjdk.org/leyden/commit/1258af42bec92a2797897cb6126b60b582a29d76 8357135: java.lang.OutOfMemoryError: Error creating or attaching to libjvmci after JDK-8356447 Reviewed-by: never, yzheng ! test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java Changeset: 9ca1004e Branch: hermetic-java-runtime Author: pawan chawdhary Committer: Mikhailo Seledtsov Date: 2025-05-22 17:08:08 +0000 URL: https://git.openjdk.org/leyden/commit/9ca1004e76a614328cd2eb7546143839c4d2f810 8352926: New test TestDockerMemoryMetricsSubgroup.java fails Reviewed-by: mseledtsov, lmesnik ! test/hotspot/jtreg/containers/docker/TestMemoryWithSubgroups.java ! test/jdk/jdk/internal/platform/docker/TestDockerMemoryMetricsSubgroup.java + test/lib/jdk/test/lib/containers/docker/ContainerRuntimeVersionTestUtils.java Changeset: b1b786a3 Branch: hermetic-java-runtime Author: Vladimir Kozlov Date: 2025-05-22 18:59:37 +0000 URL: https://git.openjdk.org/leyden/commit/b1b786a3be9774662424a629c0ad5d1260efc597 8357402: Crash in AdapterHandlerLibrary::lookup Reviewed-by: shade, iveresov ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 139a05d0 Branch: hermetic-java-runtime Author: Phil Race Date: 2025-05-22 19:19:45 +0000 URL: https://git.openjdk.org/leyden/commit/139a05d05959a84541a29dfae6151f92ce579ae6 8357176: java.awt javadoc code examples still use Applet API Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/java/awt/BorderLayout.java ! src/java.desktop/share/classes/java/awt/FlowLayout.java ! src/java.desktop/share/classes/java/awt/GridBagLayout.java ! src/java.desktop/share/classes/java/awt/GridLayout.java ! src/java.desktop/share/classes/java/awt/MediaTracker.java - src/java.desktop/share/classes/java/awt/doc-files/BorderLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/BorderLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/FlowLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/FlowLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-2.gif + src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-2.png - src/java.desktop/share/classes/java/awt/doc-files/GridLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/GridLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/GridLayout-2.gif + src/java.desktop/share/classes/java/awt/doc-files/GridLayout-2.png Changeset: fdda7661 Branch: hermetic-java-runtime Author: Daniel Gredler Committer: Harshitha Onkar Date: 2025-05-22 21:25:33 +0000 URL: https://git.openjdk.org/leyden/commit/fdda7661906eab63d939e9f482449e21cc143c8f 8356814: LineBreakMeasurer.nextLayout() slower than necessary when no break needed Reviewed-by: prr, dnguyen, honkar ! src/java.desktop/share/classes/sun/font/ExtendedTextSourceLabel.java Changeset: 796ec5e7 Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-22 23:35:13 +0000 URL: https://git.openjdk.org/leyden/commit/796ec5e7cfcfb20d76a3b48c0b369dc73250f7e4 8353741: Eliminate table lookup in UUID.toString Reviewed-by: rriggs ! src/java.base/share/classes/java/util/UUID.java ! src/java.base/share/classes/jdk/internal/util/HexDigits.java Changeset: 84024695 Branch: hermetic-java-runtime Author: Ioi Lam Date: 2025-05-23 00:21:29 +0000 URL: https://git.openjdk.org/leyden/commit/840246956507ce354c3efd2dc3de44041ba5d607 8355236: AOT Assembly crash with unregistered class and -Xlog:cds+resolve=trace Reviewed-by: shade, kvn ! src/hotspot/share/oops/constantPool.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCache/ExcludedClasses.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/test-classes/CustyWithLoop.java Changeset: a94d1a04 Branch: hermetic-java-runtime Author: Manukumar V S Committer: SendaoYan Date: 2025-05-23 02:24:09 +0000 URL: https://git.openjdk.org/leyden/commit/a94d1a04076c64f983e508c4da2e59a8aab5e4c5 8357305: Compilation failure in javax/swing/JMenuItem/bug6197830.java Reviewed-by: aivanov + test/jdk/javax/swing/JMenuItem/MenuItemTest/MenuItemTestHelper.java + test/jdk/javax/swing/JMenuItem/MenuItemTest/bug4729669.java + test/jdk/javax/swing/JMenuItem/MenuItemTest/bug6197830.java - test/jdk/javax/swing/JMenuItem/bug4729669.java - test/jdk/javax/swing/JMenuItem/bug6197830.java Changeset: 4193d052 Branch: hermetic-java-runtime Author: jeremy Committer: SendaoYan Date: 2025-05-23 02:25:12 +0000 URL: https://git.openjdk.org/leyden/commit/4193d052c0ae2336d816d0e76dec5420aa386465 8356061: [macos] com/apple/laf/RootPane/RootPaneDefaultButtonTest.java test fails on macosx-aarch64 machine Reviewed-by: jdv, serb ! test/jdk/com/apple/laf/RootPane/RootPaneDefaultButtonTest.java Changeset: 1fd65b7a Branch: hermetic-java-runtime Author: Anjian-Wen Committer: Feilong Jiang Date: 2025-05-23 03:48:09 +0000 URL: https://git.openjdk.org/leyden/commit/1fd65b7a7b0ec38fde79aa4f5e53506d28893439 8351140: RISC-V: Intrinsify Unsafe::setMemory Reviewed-by: fjiang, fyang ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp Changeset: 99e01301 Branch: hermetic-java-runtime Author: Abhishek Kumar Date: 2025-05-23 04:35:11 +0000 URL: https://git.openjdk.org/leyden/commit/99e01301cd7f063f167db107d31468b1d3f901aa 8356145: ListEnterExitTest.java fails on macos Reviewed-by: aivanov, jdv, kizune ! test/jdk/java/awt/List/ListEnterExitTest.java Changeset: 9d9e41f5 Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-23 04:35:29 +0000 URL: https://git.openjdk.org/leyden/commit/9d9e41f5b4ea70a32871ea6f03a21e3d77212289 8356894: Adjust CreateSymbols to properly handle the newly added @jdk.internal.RequiresIdentity Reviewed-by: vromero, liach ! make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java + test/langtools/tools/javac/platform/RequiresIdentityTest.java + test/langtools/tools/javac/platform/RequiresIdentityTest.out ! test/langtools/tools/javac/platform/createsymbols/CreateSymbolsTest.java ! test/langtools/tools/javac/platform/createsymbols/CreateSymbolsTestImpl.java Changeset: d6e4c5f6 Branch: hermetic-java-runtime Author: Doug Simon Date: 2025-05-23 06:32:56 +0000 URL: https://git.openjdk.org/leyden/commit/d6e4c5f65932114b5c6f455db6cfaa220607ce18 8357506: [JVMCI] Consolidate eager JVMCI initialization code Reviewed-by: kvn, yzheng ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmci.hpp ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.hpp ! src/hotspot/share/runtime/threads.cpp Changeset: ae7ae847 Branch: hermetic-java-runtime Author: Kim Barrett Date: 2025-05-23 06:54:51 +0000 URL: https://git.openjdk.org/leyden/commit/ae7ae847d4cb0dc2caf7bdc6a82673287cba8d30 8356016: Build fails by clang(XCode 16.3) on macOS after JDK-8347719 Reviewed-by: shade, mgronlun ! test/hotspot/gtest/jfr/test_networkUtilization.cpp Changeset: 36f6d155 Branch: hermetic-java-runtime Author: Albert Mingkun Yang Date: 2025-05-23 08:22:50 +0000 URL: https://git.openjdk.org/leyden/commit/36f6d155e3b9d0b279be33414573217ea38551ac 8354517: Parallel: JDK-8339668 causes up to 3.7x slowdown in openjdk.bench.vm.gc.systemgc Reviewed-by: tschatzl, aboldtch, zgu ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/parallel/psCompactionManager.cpp ! src/hotspot/share/gc/parallel/psPromotionManager.cpp ! src/hotspot/share/gc/shared/partialArraySplitter.cpp ! src/hotspot/share/gc/shared/partialArraySplitter.hpp Changeset: 02995887 Branch: hermetic-java-runtime Author: Aggelos Biboudis Date: 2025-05-23 09:07:58 +0000 URL: https://git.openjdk.org/leyden/commit/02995887b2a2554631f3d2bce03f8e3af6d0bafc 8343580: Type error with inner classes of generic classes in functions generic by outer Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java + test/langtools/tools/javac/T8343580.java Changeset: 68ee06f0 Branch: hermetic-java-runtime Author: Stefan Karlsson Date: 2025-05-23 09:42:25 +0000 URL: https://git.openjdk.org/leyden/commit/68ee06f0c9ec420cb1a60e0b361971372b18b82b 8357563: Shenandoah headers leak un-prefixed defines Reviewed-by: shade, kbarrett ! src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp Changeset: 488e4ea5 Branch: hermetic-java-runtime Author: Daniel Jeli?ski Date: 2025-05-23 11:55:21 +0000 URL: https://git.openjdk.org/leyden/commit/488e4ea5c6bc47be1d777bf5c26e2ffa2c436e28 8357539: TimeSource.now() is not monotonic Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/common/TimeSource.java Changeset: 84a67e83 Branch: hermetic-java-runtime Author: Manukumar V S Committer: SendaoYan Date: 2025-05-23 11:56:25 +0000 URL: https://git.openjdk.org/leyden/commit/84a67e83e3f4fcb6be6802d12b0788850a3845b5 8341370: Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64 Reviewed-by: kizune, dnguyen ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java Changeset: f5e6d2c9 Branch: hermetic-java-runtime Author: Renjith Kannath Pariyangad Committer: SendaoYan Date: 2025-05-23 11:57:35 +0000 URL: https://git.openjdk.org/leyden/commit/f5e6d2c93c3274e465c42709b7634463899fdf2e 8334016: Make PrintNullString.java automatic Reviewed-by: aivanov, prr, dnguyen ! test/jdk/java/awt/print/PrinterJob/PrintNullString.java Changeset: 48df41b6 Branch: hermetic-java-runtime Author: Thomas Schatzl Date: 2025-05-23 12:01:45 +0000 URL: https://git.openjdk.org/leyden/commit/48df41b6997cfe2c8aa3bc46ea25eff01f615d31 8357306: G1: Remove _gc_succeeded from VM_G1CollectForAllocation because it is always true Reviewed-by: ayang, sjohanss ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp Changeset: d0402dda Branch: hermetic-java-runtime Author: Archie Cobbs Date: 2025-05-23 13:34:32 +0000 URL: https://git.openjdk.org/leyden/commit/d0402ddad72f8ac251d963d57cd6710d6aa655d1 8355323: JShell LocalExecutionControl should add stopCheck() at method entry Reviewed-by: liach, jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/execution/LocalExecutionControl.java + test/langtools/jdk/jshell/AbstractStopExecutionTest.java + test/langtools/jdk/jshell/LocalStopExecutionTest.java ! test/langtools/jdk/jshell/StopExecutionTest.java Changeset: b07da7bc Branch: hermetic-java-runtime Author: Alexey Semenyuk Date: 2025-05-23 13:53:07 +0000 URL: https://git.openjdk.org/leyden/commit/b07da7bcdcd4d1bba1f6e922d8e606bd73879052 8357171: Test tools/jpackage/windows/WinOSConditionTest.java fails for non administrator Reviewed-by: erikj ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/windows/WinOSConditionTest.java Changeset: 6a078204 Branch: hermetic-java-runtime Author: Viktor Klang Date: 2025-05-23 14:53:44 +0000 URL: https://git.openjdk.org/leyden/commit/6a07820483bcf3e9d7df27ee496db43675f1c002 8357285: JSR166 Test case testShutdownNow_delayedTasks failed Reviewed-by: alanb ! test/jdk/java/util/concurrent/tck/ScheduledExecutorTest.java Changeset: 90e076b2 Branch: hermetic-java-runtime Author: Aggelos Biboudis Date: 2025-05-23 14:55:57 +0000 URL: https://git.openjdk.org/leyden/commit/90e076b2a1ee5f91317157911e2c62a37978e93e 8357654: [BACKOUT] JDK-8343580: Type error with inner classes of generic classes in functions generic by outer Reviewed-by: mcimadamore, liach, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java - test/langtools/tools/javac/T8343580.java Changeset: a58bfb93 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-23 16:20:19 +0000 URL: https://git.openjdk.org/leyden/commit/a58bfb93ff3a3cc9a3636b124299d9179a51f03b 8357638: Problemlist more Hotspot tests for static JDK Reviewed-by: kvn ! test/hotspot/jtreg/ProblemList-StaticJdk.txt Changeset: 2b6b7661 Branch: hermetic-java-runtime Author: Doug Simon Date: 2025-05-23 16:29:57 +0000 URL: https://git.openjdk.org/leyden/commit/2b6b7661b949971fe776714795d7dd46ed343cde 8357581: [JVMCI] Add HotSpotProfilingInfo Reviewed-by: kvn, never ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java = src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotProfilingInfoImpl.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/meta/DefaultProfilingInfo.java ! test/hotspot/jtreg/compiler/jvmci/meta/ProfilingInfoTest.java Changeset: 917c1546 Branch: hermetic-java-runtime Author: Tejesh R Date: 2025-05-23 16:59:17 +0000 URL: https://git.openjdk.org/leyden/commit/917c1546f353c2814de8465d1dfad66b01561f12 8139228: JFileChooser renders file names as HTML document Reviewed-by: prr, serb, aivanov ! src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java ! src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifFileChooserUI.java ! src/java.desktop/share/classes/javax/swing/JFileChooser.java ! src/java.desktop/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java ! src/java.desktop/share/classes/sun/swing/FilePane.java ! src/java.desktop/share/classes/sun/swing/plaf/synth/SynthFileChooserUIImpl.java ! src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsFileChooserUI.java + test/jdk/javax/swing/JFileChooser/HTMLFileName.java Changeset: afeb1719 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-23 10:24:52 +0000 URL: https://git.openjdk.org/leyden/commit/afeb1719b634f2fb30b5af268d29217709709156 Merge branch 'master' into hermetic-java-runtime ! make/Images.gmk ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/threads.cpp ! src/java.base/unix/classes/java/lang/ProcessImpl.java ! src/java.base/unix/native/libjava/ProcessImpl_md.c ! make/Images.gmk ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/threads.cpp ! src/java.base/unix/classes/java/lang/ProcessImpl.java ! src/java.base/unix/native/libjava/ProcessImpl_md.c Changeset: 0130be44 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-23 11:10:34 +0000 URL: https://git.openjdk.org/leyden/commit/0130be44a54dc087278a68b9e041129aed2b698f Merge branch 'hermetic-java-runtime' of github.com:openjdk/leyden into hermetic-java-runtime From duke at openjdk.org Fri May 23 21:45:04 2025 From: duke at openjdk.org (duke) Date: Fri, 23 May 2025 21:45:04 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 2 new changesets Message-ID: <70341885-c66d-45d3-a11a-1e1a43acf5e0@openjdk.org> Changeset: 0b721ade Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-23 13:30:02 +0000 URL: https://git.openjdk.org/leyden/commit/0b721adebe5fe898dec1bd6c02e951789d1e6c5a Collect static libraries from used .jmod files and include the static libraries in the native linking command. Implement `extra-link-flags` sub-command support. If `--link-hermetic-image extra-link-flags=` is specified, the static libraries from the .jmod files are collected and added to the linking flags provided by `extra-link-flags`. The current implementation only supports ld or lld on Linux. Work is needed to add other supported linkers. Additionally, the current code assumes the linker, other needed flags and used object files are correctly includeded in the linking flags provided by 'extra-link-flags' sub-command. That includes an object file (or a static librart) providing the main entry point. The current implementation extracts the static libraries from the .jmod files and saves them in a temporary directory before native linking. If `-o ` is included in the linker options specified in `extra-link-flags`, the output file path is used for the linked executable. If `-o ` is not specified in `extra-link-flags`, the linking flag is added to the native linking command by the current implementation. The output file path is resolved against the temporary directory. Example of a jlink command using the '--link-hermetic-image extra-link-flags=' sub-command: ``` $ /.../home/jianglizhou/github/hermetic-linking-natives/build/linux-x86_64-server-fastdebug/jdk/bin/jlink --hermetic --link-hermetic-image extra-link-flags="/usr/bin/g++ -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,--no-as-needed -Wl,-z,noexecstack -m64 -pie -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,--no-as-needed -Wl,-z,noexecstack -m64 -Wl,-rpath,\$ORIGIN -Wl,--disable-new-dtags -Wl,-rpath,\$ORIGIN/../lib -Wl,--disable-new-dtags /.../home/jianglizhou/github/hermetic-linking-natives/build/linux-x86_64-server-fastdebug/support/static-native/launcher/main.o -Wl,--export-dynamic -lX11 -lXext -lXi -lXrender -lXtst -lasound -ldl -lfreetype -lm -lpthread -lrt -lz -static-libgcc -static-libstdc++ -static-libstdc++ -static-libgcc" --module-path "/.../home/jianglizhou/github/hermetic-linking-natives/build/linux-x86_64-server-fastdebug/images/static-jdk/jmods" --endian little --hermetic-resources /java.base/conf/security/java.security=/java.base/java/security/java.security,/java.logging/conf/loggin g.properties=/java.logging/java/util/logging/logging.properties,/java.base/conf/net.properties=/java.base/sun/net/net.properties,/java.desktop/lib/psfont.properties.ja=/java.desktop/sun/print/psfont.properties.ja,/java.desktop/lib/psfontj2d.properties=/java.desktop/sun/print/psfontj2d.properties,/java.base/lib/security/blocked.certs=/java.base/sun/security/util/blocked.certs,/java.base/lib/security/cacerts=/java.base/sun/security/util/cacerts,/java.base/lib/security/public_suffix_list.dat=/java.base/sun/security/util/public_suffix_list.dat,/java.base/lib/security/default.policy=/java.base/sun/security/provider/default.policy,/java.base/conf/security/java.policy=/java.base/sun/security/provider/java.policy,/java.base/conf/security/policy/limited/default_US_export.policy=/java.base/javax/crypto/limited_default_US_export.policy,/java.base/conf/security/policy/limited/default_local.policy=/java.base/javax/crypto/limited_default_local.policy,/java.base/conf/security/policy/limited/exempt _local.policy=/java.base/javax/crypto/limited_exempt_local.policy,/java.base/conf/security/policy/unlimited/default_US_export.policy=/java.base/javax/crypto/unlimited_default_US_export.policy,/java.base/conf/security/policy/unlimited/default_local.policy=/java.base/javax/crypto/unlimited_default_local.policy --generate-jli-classes=@/.../home/jianglizhou/github/hermetic-linking-natives/build/linux-x86_64-server-fastdebug/support/link_opt/default_jli_trace.txt --add-modules demo --keep-packaged-modules /.../home/jianglizhou/github/hermetic-linking-natives/build/linux-x86_64-server-fastdebug/images/jdk/jmods1 --output demo-image ``` On Linux-x64, for the `demo.Hello` app the size of the final executable image linked using a `release` static-jdk is about 57MiB. ``` package demo; public class Hello { public static void main(String args[]) { System.out.println("Hi!"); } } ``` ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/ImageFileCreator.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JmodArchive.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/LinkableRuntimeImage.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/LinkHermeticImagePlugin.java Changeset: 34d3a098 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-23 14:22:33 +0000 URL: https://git.openjdk.org/leyden/commit/34d3a0984ac801e9d57070c7150a04873c1728b9 Merge branch 'hermetic-java-runtime' of github.com:openjdk/leyden into hermetic-java-runtime From duke at openjdk.org Tue May 27 15:15:57 2025 From: duke at openjdk.org (duke) Date: Tue, 27 May 2025 15:15:57 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: 43 new changesets Message-ID: Changeset: 2f530f89 Branch: hermetic-java-runtime Author: Justin Lu Date: 2025-05-23 17:44:39 +0000 URL: https://git.openjdk.org/leyden/commit/2f530f89e0ee5ed5253125d0e9319b07103173f0 8357281: sun.util.Locale.LanguageTag should be immutable Reviewed-by: naoto, liach ! src/java.base/share/classes/java/util/Locale.java ! src/java.base/share/classes/sun/util/locale/InternalLocaleBuilder.java ! src/java.base/share/classes/sun/util/locale/LanguageTag.java Changeset: 85ca0813 Branch: hermetic-java-runtime Author: Harshitha Onkar Date: 2025-05-23 17:59:47 +0000 URL: https://git.openjdk.org/leyden/commit/85ca0813f1624141993b20b3d8e404f86da2cef3 8354316: clang/linux build fails with -Wunused-result warning at XToolkit.c:695:9 Reviewed-by: aivanov, ihse, serb, kizune, syan, erikj ! make/modules/java.desktop/lib/AwtLibraries.gmk ! src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c Changeset: 236e1b6d Branch: hermetic-java-runtime Author: Sergey Bylokhov Date: 2025-05-23 18:17:40 +0000 URL: https://git.openjdk.org/leyden/commit/236e1b6d529771f44218b6a4e2693e234e6a4e09 8357401: BigDecimal: Constants ONE_TENTH and ONE_HALF are unused after JDK-8341402 Reviewed-by: bpb, liach, darcy ! src/java.base/share/classes/java/math/BigDecimal.java Changeset: 66747710 Branch: hermetic-java-runtime Author: Dean Long Date: 2025-05-23 19:29:09 +0000 URL: https://git.openjdk.org/leyden/commit/66747710a49ea6a78aee94d3a3ec6a24b7cc36e5 8357468: [asan] heap buffer overflow reported in PcDesc::pc_offset() pcDesc.hpp:57 Reviewed-by: kvn, thartmann ! src/hotspot/share/code/nmethod.cpp Changeset: 070c84cd Branch: hermetic-java-runtime Author: Chen Liang Date: 2025-05-23 22:58:09 +0000 URL: https://git.openjdk.org/leyden/commit/070c84cd22485a93a562a7639439fb056e840861 8357178: Simplify Class::componentType Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Class.java Changeset: e8933057 Branch: hermetic-java-runtime Author: Thomas Stuefe Date: 2025-05-24 09:51:53 +0000 URL: https://git.openjdk.org/leyden/commit/e89330579d5f38e282512211711fffeeea3e899e 8334513: New test gc/TestAlwaysPreTouchBehavior.java is failing on MacOS aarch64 Reviewed-by: mbaesken, aph ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/share/prims/whitebox.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/TestAlwaysPreTouchBehavior.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: 1f24a541 Branch: hermetic-java-runtime Author: Sorna Sarathi N Committer: Alexey Semenyuk Date: 2025-05-24 15:06:25 +0000 URL: https://git.openjdk.org/leyden/commit/1f24a5414d735f9faaabd5b49f786419a40d9da5 8357644: Add missing CPE statements Reviewed-by: asemenyuk ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CollectionUtils.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CompositeProxy.java Changeset: b0373537 Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-24 17:08:03 +0000 URL: https://git.openjdk.org/leyden/commit/b037353734fd67f8898eb797a041bc1152a18178 8357081: Removed unused methods of HexDigits Reviewed-by: rriggs, jpai ! src/java.base/share/classes/jdk/internal/util/HexDigits.java Changeset: b034710b Branch: hermetic-java-runtime Author: Nizar Benalla Date: 2025-05-25 12:56:55 +0000 URL: https://git.openjdk.org/leyden/commit/b034710b2ae5fbfbe619abba86fef3b5a2d685e0 8356629: Incorrect use of {@linkplain} in java.sql Reviewed-by: lancea ! src/java.sql/share/classes/java/sql/DatabaseMetaData.java ! src/java.sql/share/classes/java/sql/DriverManager.java Changeset: 4a4209ff Branch: hermetic-java-runtime Author: Shaojin Wen Date: 2025-05-25 17:39:53 +0000 URL: https://git.openjdk.org/leyden/commit/4a4209ffef8f8d65054cbf46ebf8e169d100c0d8 8357685: Change the type of Integer::digits from char[] to byte[] Reviewed-by: rgiulietti, liach ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java Changeset: aac287eb Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-26 04:41:02 +0000 URL: https://git.openjdk.org/leyden/commit/aac287ebacbd982f3c17f5687ec2aff638a82a63 8353581: Support for `import module` in JShell's code completion Reviewed-by: asotona ! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java ! test/langtools/jdk/jshell/CompletionSuggestionTest.java Changeset: a50d3bee Branch: hermetic-java-runtime Author: Jayathirth D V Date: 2025-05-26 06:03:28 +0000 URL: https://git.openjdk.org/leyden/commit/a50d3bee12cd2f528067bc15b404cf2289977af5 8312198: [macos] metal pipeline - window rendering stops after display sleep Reviewed-by: serb, avu, prr ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.h ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.m Changeset: 99f33b4d Branch: hermetic-java-runtime Author: Christian Hagedorn Date: 2025-05-26 07:24:25 +0000 URL: https://git.openjdk.org/leyden/commit/99f33b4d9b91c71ec032dc47ed0b98e4419ac432 8357568: IGV: Show NULL and numbers up to 4 characters in "Condense graph" filter Reviewed-by: thartmann, mchevalier, mhaessig ! src/hotspot/share/opto/idealGraphPrinter.cpp Changeset: 3dbd2d3d Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-26 07:40:51 +0000 URL: https://git.openjdk.org/leyden/commit/3dbd2d3d2d554ce5a8561f1c0fa67fb176d1273d 8347570: Configure fails on macOS if directory name do not have correct case Reviewed-by: erikj ! make/autoconf/basic.m4 Changeset: a37e8265 Branch: hermetic-java-runtime Author: Manuel H?ssig Committer: Roberto Casta?eda Lozano Date: 2025-05-26 07:51:23 +0000 URL: https://git.openjdk.org/leyden/commit/a37e8265b53b35c0b7f3ce9f4df9b2efcde322be 8357649: IGV: add block index to the supplemental node properties Co-authored-by: Roberto Casta?eda Lozano Reviewed-by: rcastanedalo, chagedorn ! src/hotspot/share/opto/idealGraphPrinter.cpp Changeset: 5cdeef81 Branch: hermetic-java-runtime Author: Suchismith Roy Committer: Varada M Date: 2025-05-26 08:25:46 +0000 URL: https://git.openjdk.org/leyden/commit/5cdeef81ddb4ff1a6160b112f0f8338514d7b0a7 8331859: [PPC64] Remove support for Power7 and older Reviewed-by: mdoerr ! make/autoconf/flags-cflags.m4 ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/c1_LIRGenerator_ppc.cpp ! src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp ! src/hotspot/cpu/ppc/gc/shenandoah/shenandoahBarrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/matcher_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/stubRoutines_ppc_64.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.hpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os_cpu/linux_ppc/atomic_linux_ppc.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp Changeset: 9946c85e Branch: hermetic-java-runtime Author: Thomas Schatzl Date: 2025-05-26 08:27:30 +0000 URL: https://git.openjdk.org/leyden/commit/9946c85e2f905f18340a76cebce04b0003783cb4 8357621: G1: Clean up G1BiasedArray Reviewed-by: sjohanss, ayang ! src/hotspot/share/gc/g1/g1BiasedArray.cpp ! src/hotspot/share/gc/g1/g1BiasedArray.hpp ! test/hotspot/gtest/gc/g1/test_g1BiasedArray.cpp Changeset: ed4cd2ac Branch: hermetic-java-runtime Author: Roland Westrelin Date: 2025-05-26 08:33:37 +0000 URL: https://git.openjdk.org/leyden/commit/ed4cd2acd2d8bb92c296c5a860c76cffaff53add 8356989: Unexpected null in C2 compiled code Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/escape.cpp + test/hotspot/jtreg/compiler/escapeAnalysis/TestArrayCopySameSrcDstInitializesNonEscapingArray.java Changeset: f825a511 Branch: hermetic-java-runtime Author: Kieran Farrell Committer: Jaikiran Pai Date: 2025-05-26 11:12:49 +0000 URL: https://git.openjdk.org/leyden/commit/f825a51198137799f00a0ec2cefa1daa59542f68 7046003: Default value of Authenticator.getRequestingURL() is not specified Reviewed-by: michaelm, jpai ! src/java.base/share/classes/java/net/Authenticator.java Changeset: 7002233e Branch: hermetic-java-runtime Author: Jatin Bhateja Date: 2025-05-26 11:16:59 +0000 URL: https://git.openjdk.org/leyden/commit/7002233ed943a21b49bc69ff728964d004b2d5c1 8351950: C2: AVX512 vector assembler routines causing SIGFPE / no valid evex tuple_table entry Reviewed-by: epeter, sviswanathan ! src/hotspot/cpu/x86/assembler_x86.cpp ! test/jdk/jdk/incubator/vector/Byte128VectorTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Double128VectorTests.java ! test/jdk/jdk/incubator/vector/Double256VectorTests.java ! test/jdk/jdk/incubator/vector/Double512VectorTests.java ! test/jdk/jdk/incubator/vector/Double64VectorTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Float128VectorTests.java ! test/jdk/jdk/incubator/vector/Float256VectorTests.java ! test/jdk/jdk/incubator/vector/Float512VectorTests.java ! test/jdk/jdk/incubator/vector/Float64VectorTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Int128VectorTests.java ! test/jdk/jdk/incubator/vector/Int256VectorTests.java ! test/jdk/jdk/incubator/vector/Int512VectorTests.java ! test/jdk/jdk/incubator/vector/Int64VectorTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Long128VectorTests.java ! test/jdk/jdk/incubator/vector/Long256VectorTests.java ! test/jdk/jdk/incubator/vector/Long512VectorTests.java ! test/jdk/jdk/incubator/vector/Long64VectorTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Short128VectorTests.java ! test/jdk/jdk/incubator/vector/Short256VectorTests.java ! test/jdk/jdk/incubator/vector/Short512VectorTests.java ! test/jdk/jdk/incubator/vector/Short64VectorTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorTests.java ! test/jdk/jdk/incubator/vector/gen-template.sh + test/jdk/jdk/incubator/vector/templates/Kernel-Binary-Masked-mem-op.template + test/jdk/jdk/incubator/vector/templates/Kernel-Binary-mem-op.template + test/jdk/jdk/incubator/vector/templates/Unit-Binary-Masked-mem-op.template + test/jdk/jdk/incubator/vector/templates/Unit-Binary-mem-op.template ! test/jdk/jdk/incubator/vector/templates/Unit-header.template Changeset: daa8eda5 Branch: hermetic-java-runtime Author: Robbin Ehn Date: 2025-05-26 11:52:32 +0000 URL: https://git.openjdk.org/leyden/commit/daa8eda530c4c3929c68ace1f1a2d1ed62331584 8357056: RISC-V: Asm fixes - load/store width Reviewed-by: fjiang, mli, luhenry, fyang ! src/hotspot/cpu/riscv/assembler_riscv.hpp Changeset: bd095896 Branch: hermetic-java-runtime Author: Nizar Benalla Date: 2025-05-26 12:40:49 +0000 URL: https://git.openjdk.org/leyden/commit/bd095896dd6e3fccb932f3d9823008766e9ab18d 8356632: Fix remaining {@link/@linkplain} tags with refer to private/protected types in java.base Reviewed-by: weijun, liach ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/net/Socket.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java ! src/java.base/share/classes/javax/crypto/KEM.java Changeset: a300c356 Branch: hermetic-java-runtime Author: Daniel Skantz Date: 2025-05-26 14:22:12 +0000 URL: https://git.openjdk.org/leyden/commit/a300c356555019a42c19bf0c16184f6dee4ad96e 8357105: C2: compilation fails with "assert(false) failed: empty program detected during loop optimization" Reviewed-by: syan, rcastanedalo ! src/hotspot/share/opto/stringopts.cpp + test/hotspot/jtreg/compiler/stringopts/TestStackedConcatsAppendUncommonTrap.java Changeset: e8eff4d2 Branch: hermetic-java-runtime Author: Emanuel Peter Date: 2025-05-26 18:31:19 +0000 URL: https://git.openjdk.org/leyden/commit/e8eff4d25b984d503a4daa5d291b52a8d1e2f186 8357530: C2 SuperWord: Diagnostic flag AutoVectorizationOverrideProfitability Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/superword.cpp + test/hotspot/jtreg/compiler/loopopts/superword/TestAutoVectorizationOverrideProfitability.java Changeset: bbceab07 Branch: hermetic-java-runtime Author: Markus Gr?nlund Date: 2025-05-26 18:37:55 +0000 URL: https://git.openjdk.org/leyden/commit/bbceab072555d5e2f5d3e99ae07a5ca5e909d7dc 8352251: Implement JEP 518: JFR Cooperative Sampling Co-authored-by: Aleksey Shipilev Co-authored-by: Erik ?sterlund Co-authored-by: Boris Ulasevich Co-authored-by: Patricio Chilano Mateo Co-authored-by: Martin Doerr Co-authored-by: Fei Yang Co-authored-by: Amit Kumar Reviewed-by: eosterlund, egahlin ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/arm/frame_arm.inline.hpp ! src/hotspot/cpu/ppc/c1_CodeStubs_ppc.cpp ! src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/javaFrameAnchor_ppc.hpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp ! src/hotspot/cpu/riscv/frame_riscv.cpp ! src/hotspot/cpu/riscv/frame_riscv.inline.hpp ! src/hotspot/cpu/riscv/interp_masm_riscv.cpp ! src/hotspot/cpu/riscv/interp_masm_riscv.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/x86/frame_x86.cpp ! src/hotspot/cpu/x86/frame_x86.inline.hpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/os_posix.hpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ! src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp ! src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp ! src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jfr/jfr.cpp ! src/hotspot/share/jfr/jfr.hpp + src/hotspot/share/jfr/jfr.inline.hpp ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp ! src/hotspot/share/jfr/metadata/metadata.xml - src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp - src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.hpp + src/hotspot/share/jfr/periodic/sampling/jfrSampleRequest.cpp + src/hotspot/share/jfr/periodic/sampling/jfrSampleRequest.hpp ! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp ! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.hpp + src/hotspot/share/jfr/periodic/sampling/jfrThreadSampling.cpp + src/hotspot/share/jfr/periodic/sampling/jfrThreadSampling.hpp ! src/hotspot/share/jfr/recorder/jfrRecorder.cpp ! src/hotspot/share/jfr/recorder/jfrRecorder.hpp ! src/hotspot/share/jfr/recorder/service/jfrEventThrottler.cpp ! src/hotspot/share/jfr/recorder/service/jfrRecorderThread.cpp ! src/hotspot/share/jfr/recorder/service/jfrRecorderThread.hpp ! src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackFilterRegistry.cpp + src/hotspot/share/jfr/recorder/stacktrace/jfrStackFrame.cpp + src/hotspot/share/jfr/recorder/stacktrace/jfrStackFrame.hpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.hpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp + src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.cpp + src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.hpp + src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.inline.hpp ! src/hotspot/share/jfr/support/jfrThreadExtension.hpp ! src/hotspot/share/jfr/support/jfrThreadLocal.cpp ! src/hotspot/share/jfr/support/jfrThreadLocal.hpp ! src/hotspot/share/jfr/utilities/jfrLogTagSets.hpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/frame.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/safepointMechanism.cpp ! src/hotspot/share/runtime/safepointMechanism.hpp ! src/hotspot/share/runtime/safepointMechanism.inline.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp - src/hotspot/share/runtime/suspendedThreadTask.cpp ! src/hotspot/share/runtime/suspendedThreadTask.hpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/utilities/growableArray.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/LogTag.java ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc + test/jdk/jdk/jfr/event/profiling/TestSafepointLatency.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: 2c034f57 Branch: hermetic-java-runtime Author: Doug Lea
Date: 2025-05-26 22:37:42 +0000 URL: https://git.openjdk.org/leyden/commit/2c034f57d6b4229aaf195fdd6efd016cf694855f 8357146: ForkJoinPool:schedule(*) does not throw RejectedExecutionException when pool is shutdown Reviewed-by: alanb ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java ! test/jdk/java/util/concurrent/tck/ForkJoinPool20Test.java Changeset: 37d04a1e Branch: hermetic-java-runtime Author: Jasmine Karthikeyan Date: 2025-05-27 02:05:46 +0000 URL: https://git.openjdk.org/leyden/commit/37d04a1e365d005afec3651c5e25fdceeceb9313 8355512: Test compiler/vectorization/TestVectorZeroCount.java times out with -XX:TieredStopAtLevel=3 Reviewed-by: chagedorn, epeter ! test/hotspot/jtreg/compiler/vectorization/TestVectorZeroCount.java Changeset: 78d0dc75 Branch: hermetic-java-runtime Author: Feilong Jiang Date: 2025-05-27 03:39:28 +0000 URL: https://git.openjdk.org/leyden/commit/78d0dc75029dba7b4ba388f9a7f5f7b22e4b838e 8357460: RISC-V: Optimize array fill stub for small size Reviewed-by: wenanjian, fyang ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp Changeset: 85af573c Branch: hermetic-java-runtime Author: Joel Sikstr?m Date: 2025-05-27 06:58:57 +0000 URL: https://git.openjdk.org/leyden/commit/85af573cb6b5063c24f1efcbfb80bbace2883c7c 8356848: Separate Metaspace and GC printing Reviewed-by: stefank, stuefe ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/parallel/psScavenge.cpp ! src/hotspot/share/gc/serial/serialHeap.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/shared/collectedHeap.hpp ! src/hotspot/share/gc/z/zStat.cpp ! src/hotspot/share/memory/metaspace/metaspaceDCmd.cpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/services/diagnosticCommand.cpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/jtreg/runtime/ErrorHandling/ShowEventsOnCrashTest.java ! test/hotspot/jtreg/serviceability/dcmd/gc/HeapInfoTest.java ! test/hotspot/jtreg/serviceability/dcmd/vm/EventsTest.java Changeset: 7bc315fa Branch: hermetic-java-runtime Author: Bhavana Kilambi Committer: Xiaohong Gong Date: 2025-05-27 08:17:02 +0000 URL: https://git.openjdk.org/leyden/commit/7bc315fa6ac4e539e52b077f15c061516e208278 8355585: Aarch64: Add aarch64 backend for Float16 vector operations Reviewed-by: epeter, haosun, xgong, aph ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/share/adlc/dfa.cpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h ! test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java Changeset: 5924c2d6 Branch: hermetic-java-runtime Author: Jatin Bhateja Date: 2025-05-27 08:28:55 +0000 URL: https://git.openjdk.org/leyden/commit/5924c2d6c7f636b428bc7f43abe2115af4532358 8357267: ZGC: Handle APX EGPRs spilling in ZRuntimeCallSpill Reviewed-by: rcastanedalo, sviswanathan ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp Changeset: 7cb6e5eb Branch: hermetic-java-runtime Author: Michael McMahon Date: 2025-05-27 08:37:32 +0000 URL: https://git.openjdk.org/leyden/commit/7cb6e5eb3e004ad974a0c49e83014844f9f7cabb 8353124: java/lang/Thread/virtual/stress/Skynet.java#Z times out on macosx-x64-debug Reviewed-by: alanb ! test/jdk/java/lang/Thread/virtual/stress/Skynet.java Changeset: f62b9780 Branch: hermetic-java-runtime Author: Arno Zeller Committer: Aleksey Shipilev Date: 2025-05-27 09:11:00 +0000 URL: https://git.openjdk.org/leyden/commit/f62b9780c38ed3caa64726be5ea47667847157e3 8357448: AOT crashes on linux musl with AddReads.java Reviewed-by: mbaesken, shade, mdoerr ! src/hotspot/share/cds/aotClassLocation.cpp Changeset: aea32ec5 Branch: hermetic-java-runtime Author: Viktor Klang Date: 2025-05-27 09:17:29 +0000 URL: https://git.openjdk.org/leyden/commit/aea32ec5060a2e57947dc3e5d14613241e223ce4 8357647: Stream gatherers forward upstream size information to downstream Reviewed-by: liach, alanb ! src/java.base/share/classes/java/util/stream/GathererOp.java ! test/jdk/java/util/stream/GathererTest.java Changeset: b9db99d7 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-27 09:43:07 +0000 URL: https://git.openjdk.org/leyden/commit/b9db99d7f7e3720c7e34fbcd22ff9529054601f6 8357797: Use StructuredTaskScopeImpl.ST_NEW for state init Reviewed-by: alanb ! src/java.base/share/classes/java/util/concurrent/StructuredTaskScopeImpl.java Changeset: 9c191cc0 Branch: hermetic-java-runtime Author: Jan Lahoda Date: 2025-05-27 09:49:26 +0000 URL: https://git.openjdk.org/leyden/commit/9c191cc0fad4e2cd8ac021082acc494dc7503745 8356245: stdin.encoding and stdout.encoding in jshell don't respect console code pages Reviewed-by: asotona, cstein, liach ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java ! src/jdk.jshell/share/classes/jdk/jshell/execution/JdiDefaultExecutionControl.java ! test/langtools/jdk/jshell/InputUITest.java Changeset: 67d4ed17 Branch: hermetic-java-runtime Author: Ivan Walulya Date: 2025-05-27 10:43:16 +0000 URL: https://git.openjdk.org/leyden/commit/67d4ed173af325a5a28ee17765d491fd0cfe38c2 8357559: G1HeapRegionManager refactor rename functions related to the number of regions in different states Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1HeapRegionManager.cpp ! src/hotspot/share/gc/g1/g1HeapRegionManager.hpp ! src/hotspot/share/gc/g1/g1HeapRegionManager.inline.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1RemSet.cpp ! src/hotspot/share/gc/g1/g1RemSet.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! src/hotspot/share/gc/g1/g1YoungGCAllocationFailureInjector.cpp ! src/hotspot/share/prims/whitebox.cpp Changeset: b4b11d77 Branch: hermetic-java-runtime Author: Serhiy Sachkov Committer: Mark Sheppard Date: 2025-05-27 11:38:08 +0000 URL: https://git.openjdk.org/leyden/commit/b4b11d777137c21c8808bbba5bdf20a2b4ff5be6 8356443: Update open/test/jdk/TEST.groups manual test groups definitions with missing manual test Reviewed-by: msheppar ! test/jdk/TEST.groups Changeset: 72a3022d Branch: hermetic-java-runtime Author: Magnus Ihse Bursie Date: 2025-05-27 12:35:31 +0000 URL: https://git.openjdk.org/leyden/commit/72a3022dc6a1521d8e3f08fe5d592f760fc462d2 8357842: PandocFilter misses copyright header Reviewed-by: syan, erikj ! make/jdk/src/classes/build/tools/pandocfilter/PandocFilter.java Changeset: cdff7b96 Branch: hermetic-java-runtime Author: Albert Mingkun Yang Date: 2025-05-27 14:33:35 +0000 URL: https://git.openjdk.org/leyden/commit/cdff7b963c0600e9a6fe9cd8561d7d04b30f190c 8357801: Parallel: Remove deprecated PSVirtualSpace methods Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/parallel/objectStartArray.cpp ! src/hotspot/share/gc/parallel/objectStartArray.hpp ! src/hotspot/share/gc/parallel/psOldGen.cpp ! src/hotspot/share/gc/parallel/psOldGen.hpp ! src/hotspot/share/gc/parallel/psVirtualspace.cpp ! src/hotspot/share/gc/parallel/psVirtualspace.hpp Changeset: c2953774 Branch: hermetic-java-runtime Author: Aleksey Shipilev Date: 2025-05-27 14:44:40 +0000 URL: https://git.openjdk.org/leyden/commit/c29537740efb04e061732a700582d43b1956cff4 8357800: Initialize JvmtiThreadState bool fields with bool literals Reviewed-by: alanb, stefank ! src/hotspot/share/prims/jvmtiThreadState.cpp Changeset: d3b6f46f Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-27 08:00:30 +0000 URL: https://git.openjdk.org/leyden/commit/d3b6f46f17377d3a92a3b1b9fd5bd7c81236df8e Merge branch 'master' into hermetic-java-runtime Changeset: 125a9ce6 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-27 08:10:42 +0000 URL: https://git.openjdk.org/leyden/commit/125a9ce6ffbee67658a562285fda7afd2174c82c Merge branch 'hermetic-java-runtime' of github.com:openjdk/leyden into hermetic-java-runtime From iklam at openjdk.org Wed May 28 07:34:06 2025 From: iklam at openjdk.org (Ioi Lam) Date: Wed, 28 May 2025 07:34:06 GMT Subject: git: openjdk/leyden: premain: 173 new changesets Message-ID: <57b25981-b465-4081-8c15-e67ab0d2d210@openjdk.org> Changeset: 6536430a Branch: premain Author: Valerie Peng Date: 2025-05-01 23:08:16 +0000 URL: https://git.openjdk.org/leyden/commit/6536430a3bdedcf5e0636e0eb27bde5e0d7b40fd 8348732: SunJCE and SunPKCS11 have different PBE key encodings Reviewed-by: weijun, fferrari ! src/java.base/share/classes/com/sun/crypto/provider/PBEKey.java ! src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java ! src/java.base/share/classes/sun/security/util/PBEUtil.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! test/jdk/sun/security/pkcs11/Cipher/PBECipher.java ! test/jdk/sun/security/pkcs11/Mac/PBAMac.java ! test/jdk/sun/security/pkcs11/Provider/RequiredMechCheck.java ! test/jdk/sun/security/pkcs11/SecretKeyFactory/TestPBKD.java Changeset: 494ef6cb Branch: premain Author: Weijun Wang Date: 2025-05-01 23:34:35 +0000 URL: https://git.openjdk.org/leyden/commit/494ef6cb8cff7f29a7346364e7620eebcec48d3b 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms Reviewed-by: valeriep, mullan ! src/java.base/share/classes/sun/security/provider/SHA3.java ! src/java.base/share/classes/sun/security/provider/SunEntries.java ! src/java.base/share/classes/sun/security/util/KnownOIDs.java + test/jdk/sun/security/provider/MessageDigest/SHAKEhash.java ! test/jdk/sun/security/provider/MessageDigest/SHAKEsqueeze.java Changeset: c514f135 Branch: premain Author: Weijun Wang Date: 2025-05-02 00:25:19 +0000 URL: https://git.openjdk.org/leyden/commit/c514f135ccf08c3be016a32ae8f2c055fb941857 8356051: Update SignatureUtil.java with the new KnownOIDs Reviewed-by: rhalade ! src/java.base/share/classes/sun/security/util/SignatureUtil.java Changeset: bd7c7789 Branch: premain Author: Chen Liang Date: 2025-05-02 01:30:47 +0000 URL: https://git.openjdk.org/leyden/commit/bd7c77898a75dece0586bef24d4e18d540f08288 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe Reviewed-by: jpai, jvernee ! src/java.base/share/classes/java/lang/invoke/MethodHandleProxies.java ! test/jdk/java/lang/invoke/MethodHandleProxies/BasicTest.java Changeset: d29700cc Branch: premain Author: Jan Lahoda Date: 2025-05-02 06:10:48 +0000 URL: https://git.openjdk.org/leyden/commit/d29700cc80003d6baddb419f2974ab226478bacc 8344706: Implement JEP 512: Compact Source Files and Instance Main Methods Co-authored-by: Stuart Marks Reviewed-by: liach, cstein, vromero, naoto ! src/java.base/share/classes/java/io/Console.java - src/java.base/share/classes/java/io/IO.java ! src/java.base/share/classes/java/io/ProxyingConsole.java + src/java.base/share/classes/java/lang/IO.java ! src/java.base/share/classes/jdk/internal/io/JdkConsole.java ! src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/misc/MethodFinder.java ! src/java.base/share/classes/sun/launcher/LauncherHelper.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/jshell/JShellConsole.java ! src/jdk.jshell/share/classes/jdk/jshell/execution/impl/ConsoleImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/tool/resources/PREVIEW_DEFAULT.jsh = test/jdk/java/lang/IO/IO.java = test/jdk/java/lang/IO/Input.java = test/jdk/java/lang/IO/Methods.java = test/jdk/java/lang/IO/Output.java = test/jdk/java/lang/IO/input-no-prompt.exp = test/jdk/java/lang/IO/input.exp = test/jdk/java/lang/IO/output.exp ! test/jdk/jdk/internal/jline/LazyJdkConsoleProvider.java ! test/jdk/tools/launcher/Arrrghs.java ! test/langtools/jdk/jshell/ConsoleTest.java ! test/langtools/jdk/jshell/ConsoleToolTest.java + test/langtools/jdk/jshell/StartOptionTest-module-patch/jdk/jshell/tool/resources/PREVIEW_DEFAULT.jsh ! test/langtools/jdk/jshell/StartOptionTest.java ! test/langtools/jdk/jshell/ToolProviderTest.java ! test/langtools/tools/javac/ImplicitClass/ErrorRecovery.java ! test/langtools/tools/javac/ImplicitClass/ImplicitClassRecovery.java ! test/langtools/tools/javac/ImplicitClass/ImplicitClassRecovery.out ! test/langtools/tools/javac/ImplicitClass/ImplicitImports.java ! test/langtools/tools/javac/ImplicitClass/NestedClasses.java ! test/langtools/tools/javac/ImplicitClass/NestedEnum.java ! test/langtools/tools/javac/ImplicitClass/SourceLevelErrorPosition.java ! test/langtools/tools/javac/ImplicitClass/SourceLevelErrorPosition.out ! test/langtools/tools/javac/ImplicitClass/TestImplicitClass.java ! test/langtools/tools/javac/T8036019.out ! test/langtools/tools/javac/annotations/typeAnnotations/failures/AnnotatedImport.out ! test/langtools/tools/javac/attr/AttrRecoveryTest.java ! test/langtools/tools/javac/diags/examples.not-yet.txt ! test/langtools/tools/javac/diags/examples/Expected3.java ! test/langtools/tools/javac/diags/examples/IllegalStartOfStmt.java ! test/langtools/tools/javac/diags/examples/ImplicitClass.java ! test/langtools/tools/javac/diags/examples/ImplicitClassBad-Filename.java ! test/langtools/tools/javac/diags/examples/ImplicitClassHasPackage.java ! test/langtools/tools/javac/diags/examples/ImplicitClassNoMain.java ! test/langtools/tools/javac/launcher/BasicSourceLauncherTests.java ! test/langtools/tools/javac/launcher/SourceLauncherTest.java ! test/langtools/tools/javac/parser/JavacParserTest.java ! test/langtools/tools/javac/parser/SingleCommaAnnotationValueFail.out ! test/langtools/tools/javac/sealed/SealedCompilationTests.java ! test/langtools/tools/javac/tree/TreePosTest.java Changeset: 811f117c Branch: premain Author: Hamlin Li Date: 2025-05-02 08:28:57 +0000 URL: https://git.openjdk.org/leyden/commit/811f117ce396ac7aafd71f5618f2de96bb96f311 8355980: RISC-V: remove vmclr_m before vmsXX and vmfXX Reviewed-by: dzhang, fyang ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp Changeset: afb9134a Branch: premain Author: Coleen Phillimore Date: 2025-05-02 11:40:19 +0000 URL: https://git.openjdk.org/leyden/commit/afb9134a31c326e90f2bb68ae17e32de9d1d7740 8355627: Don't use ThreadCritical for EventLog list Reviewed-by: shade, lmesnik, zgu ! src/hotspot/share/utilities/events.cpp + test/hotspot/jtreg/runtime/ErrorHandling/ShowEventsOnCrashTest.java Changeset: cdad6d78 Branch: premain Author: Suchismith Roy Committer: Martin Doerr Date: 2025-05-02 12:30:32 +0000 URL: https://git.openjdk.org/leyden/commit/cdad6d788de4785c8dbf2710a86fdacb8d070565 8216437: PPC64: Add intrinsic for GHASH algorithm Reviewed-by: mdoerr, amitkumar ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.cpp Changeset: cf2f9ce8 Branch: premain Author: Ivan Bereziuk Committer: Erik Joelsson Date: 2025-05-02 12:49:03 +0000 URL: https://git.openjdk.org/leyden/commit/cf2f9ce8207f12bd25fc866c179ff13b961bea44 8356032: createAutoconfBundle.sh downloads to local directory Reviewed-by: erikj ! make/devkit/createAutoconfBundle.sh Changeset: 995d5416 Branch: premain Author: Ivan Walulya Date: 2025-05-02 12:54:09 +0000 URL: https://git.openjdk.org/leyden/commit/995d54161fed657f38753813f55d0591e77a42e3 8355681: G1HeapRegionManager::find_contiguous_allow_expand ignores free regions when checking regions available for allocation Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1HeapRegionManager.cpp Changeset: 9f9e73d5 Branch: premain Author: Per Minborg Date: 2025-05-02 14:14:59 +0000 URL: https://git.openjdk.org/leyden/commit/9f9e73d5f9fcb5e926a2674c54cbbc92012b75f6 8349146: [REDO] Implement a better allocator for downcalls Reviewed-by: mcimadamore, jvernee, liach + src/java.base/share/classes/jdk/internal/foreign/BufferStack.java ! src/java.base/share/classes/jdk/internal/foreign/SlicingAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! test/jdk/ProblemList.txt + test/jdk/java/foreign/TestBufferStack.java + test/jdk/java/foreign/TestBufferStackStress.java + test/jdk/java/foreign/TestBufferStackStress2.java + test/jdk/java/foreign/libTestBufferStack.c + test/micro/org/openjdk/bench/java/lang/foreign/BufferStackBench.java + test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadByValue.java + test/micro/org/openjdk/bench/java/lang/foreign/libCallOverheadByValue.c Changeset: 01fd49ff Branch: premain Author: Mikael Vidstedt Date: 2025-05-02 16:56:05 +0000 URL: https://git.openjdk.org/leyden/commit/01fd49ffb3f02840a360f5d4e19c6b0e6d22cd70 8355446: Change to Xcode 15.4 for building on macOS at Oracle Reviewed-by: erikj, ihse ! doc/building.html ! doc/building.md ! make/conf/jib-profiles.js Changeset: 5faa5590 Branch: premain Author: Brian Burkhalter Date: 2025-05-02 16:59:41 +0000 URL: https://git.openjdk.org/leyden/commit/5faa55902211e5ad8edc51282022ed9db3684b25 8355444: [java.io] Use @requires tag instead of exiting based on "os.name" property value Reviewed-by: jpai, lancea ! test/jdk/java/io/File/MacPathTest.java ! test/jdk/java/io/File/MaxPath.java ! test/jdk/java/io/File/WinDeviceName.java ! test/jdk/java/io/File/WinMaxPath.java ! test/jdk/java/io/File/WinSpecialFiles.java ! test/jdk/java/io/FileOutputStream/ManyFiles.java Changeset: 4826a91e Branch: premain Author: Brian Burkhalter Date: 2025-05-02 16:59:56 +0000 URL: https://git.openjdk.org/leyden/commit/4826a91e7a729999343f450ab7ec4621cc418550 8355443: [java.io] Use @requires tag instead of exiting based on File.separatorChar value Reviewed-by: naoto, vyazici ! test/jdk/java/io/FileInputStream/LeadingSlash.java ! test/jdk/java/io/pathNames/GeneralSolaris.java ! test/jdk/java/io/pathNames/GeneralWin32.java ! test/jdk/java/io/pathNames/unix/TrailingSlash.java ! test/jdk/java/io/pathNames/win32/DriveOnly.java ! test/jdk/java/io/pathNames/win32/DriveRelativePath.java ! test/jdk/java/io/pathNames/win32/DriveSlash.java ! test/jdk/java/io/pathNames/win32/RenameDelete.java ! test/jdk/java/io/pathNames/win32/SJIS.java ! test/jdk/java/io/pathNames/win32/bug6344646.java Changeset: 84f570c5 Branch: premain Author: Brian Burkhalter Date: 2025-05-02 17:00:12 +0000 URL: https://git.openjdk.org/leyden/commit/84f570c573f5c355cf55e05d06ddb383deb476ca 8355445: [java.nio] Use @requires tag instead of exiting based on "os.name" property value Reviewed-by: lancea, jpai, iris ! test/jdk/java/nio/channels/Selector/HelperSlowToDie.java ! test/jdk/java/nio/channels/SocketChannel/AsyncCloseChannel.java ! test/jdk/java/nio/channels/SocketChannel/SocketInheritance.java ! test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java ! test/jdk/java/nio/charset/RemovingSunIO/TestCOMP.java ! test/jdk/java/nio/file/DirectoryStream/DriveLetter.java ! test/jdk/java/nio/file/WatchService/FileTreeModifier.java Changeset: c8bbcaf5 Branch: premain Author: Mohamed Issa Committer: Jatin Bhateja Date: 2025-05-02 17:21:50 +0000 URL: https://git.openjdk.org/leyden/commit/c8bbcaf5de6982f673504a8dc766fb80bb6f0d07 8348638: Performance regression in Math.tanh Reviewed-by: jbhateja, epeter, sviswanathan ! src/hotspot/cpu/x86/stubGenerator_x86_64_tanh.cpp + test/micro/org/openjdk/bench/java/lang/TanhPerf.java Changeset: 60ba81d7 Branch: premain Author: Peter B. Kessler Date: 2025-05-02 18:54:11 +0000 URL: https://git.openjdk.org/leyden/commit/60ba81d77f0e299b8131cf23b1253689fa898e85 8354347: Increase the default padding size for aarch64 in JDK code. Reviewed-by: aph, ecaspole ! src/hotspot/cpu/aarch64/globalDefinitions_aarch64.hpp Changeset: 56468c42 Branch: premain Author: Vicente Romero Date: 2025-05-02 20:44:22 +0000 URL: https://git.openjdk.org/leyden/commit/56468c42bef8524e53a929dc2ae603cff05b55e3 8322810: Lambda expression types can't be classes Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/langtools/tools/javac/diags/examples.not-yet.txt ! test/langtools/tools/javac/diags/examples/NotAnInterfaceComponent.java + test/langtools/tools/javac/lambda/ClassInIntersectionTypeTest.java + test/langtools/tools/javac/lambda/ClassInIntersectionTypeTest.out Changeset: 4d2d1298 Branch: premain Author: Chen Liang Committer: Man Cao Date: 2025-05-02 22:34:10 +0000 URL: https://git.openjdk.org/leyden/commit/4d2d12987f8c1be64719a7d01276a789af245ee2 8355962: RISCV64 cross build fails after 8354996 Reviewed-by: erikj, manc ! make/GenerateLinkOptData.gmk ! make/jdk/src/classes/build/tools/classlist/HelloClasslist.java Changeset: 03f0ec4a Branch: premain Author: Mikhail Yankelevich Committer: Weijun Wang Date: 2025-05-02 23:15:26 +0000 URL: https://git.openjdk.org/leyden/commit/03f0ec4a35855b59c8faaf4be2e7569a12b4d5db 8183348: Better cleanup for jdk/test/sun/security/pkcs12/P12SecretKey.java Reviewed-by: rhalade, weijun ! test/jdk/sun/security/pkcs12/P12SecretKey.java Changeset: 5b3ae921 Branch: premain Author: Amit Kumar Date: 2025-05-05 04:02:51 +0000 URL: https://git.openjdk.org/leyden/commit/5b3ae9210564c16b4d350dabd0445248cb205698 8350182: [s390x] Relativize locals in interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/frame_s390.cpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp Changeset: c8ce61c8 Branch: premain Author: Tatsunori Uchino Committer: Jan Lahoda Date: 2025-05-05 05:03:15 +0000 URL: https://git.openjdk.org/leyden/commit/c8ce61c8cadaf0371dc490c76b753f98bbaa118a 8355371: NegativeArraySizeException in print methods in IO or System.console() in JShell 8354910: Output by java.io.IO or System.console() corrupted for some non-ASCII characters Reviewed-by: liach, jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/execution/impl/ConsoleImpl.java ! test/langtools/jdk/jshell/ConsoleTest.java Changeset: a5f4366a Branch: premain Author: Jan Lahoda Date: 2025-05-05 05:04:17 +0000 URL: https://git.openjdk.org/leyden/commit/a5f4366a7f0b702b748fec9bcbcb95c522ff190b 8353565: Javac throws "inconsistent stack types at join point" exception Reviewed-by: vromero, liach, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! test/langtools/tools/javac/switchexpr/ExpressionSwitchEmbedding.java Changeset: c94a7ae1 Branch: premain Author: Daniel Jeli?ski Date: 2025-05-05 05:29:06 +0000 URL: https://git.openjdk.org/leyden/commit/c94a7ae11e588250cd0eb064c3280afd580530ea 8354276: Strict HTTP header validation Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/HeaderDecoder.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/ValidatingHeadersConsumer.java ! test/jdk/java/net/httpclient/http2/BadHeadersTest.java + test/jdk/java/net/httpclient/http2/BadPushPromiseTest.java Changeset: 69d0f7a3 Branch: premain Author: Marc Chevalier Committer: Christian Hagedorn Date: 2025-05-05 06:57:09 +0000 URL: https://git.openjdk.org/leyden/commit/69d0f7a3954048da358bd2ac5ab458fb37fa25a6 8354284: Add more compiler test folders to tier1 runs Reviewed-by: chagedorn, kvn ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/compiler/ccp/TestAndConZeroCCP.java Changeset: 604225fb Branch: premain Author: Johan Sj?len Date: 2025-05-05 06:58:20 +0000 URL: https://git.openjdk.org/leyden/commit/604225fb0c5f6bf2128a305d09649d76c43dedc9 8354954: Typed static memory for late initialization of static class members in Hotspot Reviewed-by: qamai, kbarrett, jvernee ! src/hotspot/share/nmt/memTracker.cpp ! src/hotspot/share/nmt/memTracker.hpp ! src/hotspot/share/nmt/memoryFileTracker.cpp ! src/hotspot/share/nmt/memoryFileTracker.hpp + src/hotspot/share/utilities/deferred.hpp Changeset: f04e556d Branch: premain Author: Johan Sj?len Date: 2025-05-05 07:14:24 +0000 URL: https://git.openjdk.org/leyden/commit/f04e556d471d65a9b1a86d33acf72f6ddec944e1 8355711: Remove incorrect overflow check in RawBytecodeStream::raw_next Reviewed-by: dlong, matsaave ! src/hotspot/share/interpreter/bytecodeStream.hpp Changeset: 8511220f Branch: premain Author: Johan Sj?len Date: 2025-05-05 07:15:46 +0000 URL: https://git.openjdk.org/leyden/commit/8511220f9dd1428f9793ead43c20ed197881ab36 8355490: Make VM_RedefineClasses::merge_constant_pools only take reference arguments Reviewed-by: amenkov, sspitsyn, coleenp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp ! src/hotspot/share/prims/jvmtiRedefineClasses.hpp Changeset: 6dd55538 Branch: premain Author: Anton Artemov Committer: Afshin Zafari Date: 2025-05-05 08:52:52 +0000 URL: https://git.openjdk.org/leyden/commit/6dd555382326d02a1fc419bc443285509886e46f 8354329: Rewrite runtime/ClassFile/JsrRewriting.java and OomWhileParsingRepeatedJsr.java tests Reviewed-by: matsaave, coleenp ! test/hotspot/jtreg/runtime/ClassFile/JsrRewriting.java - test/hotspot/jtreg/runtime/ClassFile/JsrRewritingTestCase.jar + test/hotspot/jtreg/runtime/ClassFile/OOMCrashClass1960_2.java + test/hotspot/jtreg/runtime/ClassFile/OOMCrashClass4000_1.java ! test/hotspot/jtreg/runtime/ClassFile/OomWhileParsingRepeatedJsr.java - test/hotspot/jtreg/runtime/ClassFile/testcase.jar Changeset: f1e06c3c Branch: premain Author: Jan Lahoda Date: 2025-05-05 09:00:59 +0000 URL: https://git.openjdk.org/leyden/commit/f1e06c3c050b3440555d63b6de80fe9f60b35dfa 8299934: LocalExecutionControl replaces default uncaught exception handler Reviewed-by: liach ! src/jdk.jshell/share/classes/jdk/jshell/execution/LocalExecutionControl.java + test/langtools/jdk/jshell/LocalExecutionControlExceptionTest.java Changeset: 02647976 Branch: premain Author: Robbin Ehn Date: 2025-05-05 11:43:45 +0000 URL: https://git.openjdk.org/leyden/commit/026479767c011227b63e7fdb8a38f61977782249 8352730: RISC-V: Disable tests in qemu-user Reviewed-by: fyang, mli ! test/hotspot/jtreg/runtime/os/TestTracePageSizes.java ! test/hotspot/jtreg/serviceability/dcmd/vm/SystemDumpMapTest.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbAttach.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbAttachDifferentJVMs.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbClasses.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbDumpclass.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbDumpheap.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbField.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbHistory.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbInspect.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJdis.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJhisto.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJstack.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJstackWithConcurrentLock.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbJstackXcompStress.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbLongConstant.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAll.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAs.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPrintStatics.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbPstack.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbScanOops.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbSource.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbSymbol.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbTestAllocationMerge.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbThread.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbThreadContext.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java ! test/hotspot/jtreg/serviceability/sa/DeadlockDetectionTest.java ! test/hotspot/jtreg/serviceability/sa/JhsdbThreadInfoTest.java ! test/hotspot/jtreg/serviceability/sa/TestClassDump.java ! test/hotspot/jtreg/serviceability/sa/TestClhsdbJstackLock.java ! test/hotspot/jtreg/serviceability/sa/TestCpoolForInvokeDynamic.java ! test/hotspot/jtreg/serviceability/sa/TestDebugInfoDecode.java ! test/hotspot/jtreg/serviceability/sa/TestDefaultMethods.java ! test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java ! test/hotspot/jtreg/serviceability/sa/TestHeapDumpForInvokeDynamic.java ! test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSize.java ! test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSizeForInterface.java ! test/hotspot/jtreg/serviceability/sa/TestIntConstant.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLock.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackMixed.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackPrintVMLocks.java ! test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackUpcall.java ! test/hotspot/jtreg/serviceability/sa/TestObjectAlignment.java ! test/hotspot/jtreg/serviceability/sa/TestObjectMonitorIterate.java ! test/hotspot/jtreg/serviceability/sa/TestPrintMdo.java ! test/hotspot/jtreg/serviceability/sa/TestSysProps.java ! test/hotspot/jtreg/serviceability/sa/TestType.java ! test/hotspot/jtreg/serviceability/sa/TestUniverse.java ! test/hotspot/jtreg/serviceability/sa/UniqueVtableTest.java ! test/hotspot/jtreg/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/ClhsdbAttachToDebugServer.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/ClhsdbTestConnectArgument.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/DebugdConnectTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/DisableRegistryTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/PmapOnDebugdTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/RunCommandOnServerTest.java ! test/hotspot/jtreg/serviceability/sa/sadebugd/SADebugDTest.java ! test/jdk/java/lang/ProcessHandle/InfoTest.java ! test/jdk/java/lang/System/i18nEnvArg.java Changeset: a8cd01f6 Branch: premain Author: Coleen Phillimore Date: 2025-05-05 11:57:01 +0000 URL: https://git.openjdk.org/leyden/commit/a8cd01f6e2075bef89fcd82893cf417c9e1fa877 8355353: File Leak in os::read_image_release_file of os.cpp:1552 Reviewed-by: zgu, jsjolen ! src/hotspot/share/runtime/os.cpp Changeset: 1501a5e4 Branch: premain Author: Aleksey Shipilev Date: 2025-05-05 12:51:02 +0000 URL: https://git.openjdk.org/leyden/commit/1501a5e41e59162a374cf5b8cfc37faced48a6ed 8356122: Client build fails after JDK-8350209 Reviewed-by: chagedorn ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 6719b921 Branch: premain Author: Joe Darcy Date: 2025-05-05 15:42:19 +0000 URL: https://git.openjdk.org/leyden/commit/6719b9214fb9c99da52e5d6c11f5d40b2aa73bd9 8356108: Update SourceVersion.RELEASE_25 description for JEPs 511 and 512 Reviewed-by: vromero, liach, iris, jlahoda ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! test/langtools/tools/javac/versions/Versions.java Changeset: f6876449 Branch: premain Author: Aleksey Shipilev Date: 2025-05-05 16:30:25 +0000 URL: https://git.openjdk.org/leyden/commit/f68764490c9d355770475d26202fe10005375388 8356153: Shenandoah stubs are missing in AOT Code Cache addresses table Reviewed-by: kvn ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 32f67a3e Branch: premain Author: Justin Lu Date: 2025-05-05 16:42:44 +0000 URL: https://git.openjdk.org/leyden/commit/32f67a3e38be807164435ea0841c01d2b7c73652 8356040: java/util/PluggableLocale/LocaleNameProviderTest.java timed out Reviewed-by: naoto ! test/jdk/java/util/PluggableLocale/LocaleNameProviderTest.java Changeset: cc34135f Branch: premain Author: Tom Rodriguez Date: 2025-05-05 17:26:01 +0000 URL: https://git.openjdk.org/leyden/commit/cc34135fff7650ad44c910dca0fd47e9cbd56b68 8343158: [JVMCI] ZGC should deoptimize on old gen allocation Reviewed-by: aboldtch, eosterlund ! src/hotspot/share/gc/z/zBarrierSet.cpp Changeset: 65f188f2 Branch: premain Author: Roger Riggs Date: 2025-05-05 18:35:46 +0000 URL: https://git.openjdk.org/leyden/commit/65f188f29f1e9fe0f73d730a4c6029a7742c6d15 8354334: Remove @ValueBased from ProcessHandle Reviewed-by: liach ! src/java.base/share/classes/java/lang/ProcessHandle.java Changeset: 6bcbc3b0 Branch: premain Author: Oleksii Sylichenko Committer: Roger Riggs Date: 2025-05-05 18:56:48 +0000 URL: https://git.openjdk.org/leyden/commit/6bcbc3b0a21687504b07a0a405d824a448aea872 8353489: Increase timeout and improve Windows compatibility in test/jdk/java/lang/ProcessBuilder/Basic.java Reviewed-by: rriggs ! test/jdk/java/lang/ProcessBuilder/Basic.java Changeset: 620f8167 Branch: premain Author: Calvin Cheung Date: 2025-05-05 19:36:26 +0000 URL: https://git.openjdk.org/leyden/commit/620f81671ae721c5e40291f396bbc7707d9d6bcc 8327495: Print more warning with -Xshare:auto when CDS fails to use archive Reviewed-by: iklam, matsaave ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/modules.cpp ! test/hotspot/jtreg/runtime/cds/appcds/SharedArchiveConsistency.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/WrongTopClasspath.java ! test/hotspot/jtreg/runtime/cds/appcds/jvmti/CFLH/ClassFileLoadHookTest.java Changeset: ca7e4c4e Branch: premain Author: Archie Cobbs Date: 2025-05-05 20:40:45 +0000 URL: https://git.openjdk.org/leyden/commit/ca7e4c4e055cf164b1b3707b7cf1ea72b1de77b9 8352612: No way to add back lint categories after "none" Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java ! src/jdk.compiler/share/man/javac.md ! test/langtools/tools/javac/lint/NoWarn.java ! test/langtools/tools/javac/lint/NoWarn1.out ! test/langtools/tools/javac/lint/NoWarn2.out + test/langtools/tools/javac/lint/NoWarn3.out + test/langtools/tools/javac/lint/NoWarn4.out ! test/langtools/tools/javac/varargs/Warn1.java ! test/langtools/tools/javac/varargs/Warn2.java Changeset: 2a4f37cc Branch: premain Author: Steffen Nie?ing Committer: Chen Liang Date: 2025-05-05 20:52:13 +0000 URL: https://git.openjdk.org/leyden/commit/2a4f37cc169e0e876b0b463261f84594af4e7569 8356119: Typo in bytecode behavior for Lookup.findGetter Reviewed-by: liach ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java Changeset: 606f2012 Branch: premain Author: Nizar Benalla Date: 2025-05-05 21:52:25 +0000 URL: https://git.openjdk.org/leyden/commit/606f2012b07855b90c4669356857060dcb65cae4 8174840: Elements.overrides does not check the return type of the methods Co-authored-by: Pavel Rappo Reviewed-by: liach, darcy ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java + test/langtools/tools/javac/processing/model/util/elements/overrides/S.java + test/langtools/tools/javac/processing/model/util/elements/overrides/TestOverrides.java Changeset: aea28371 Branch: premain Author: Boris Ulasevich Date: 2025-05-06 01:26:15 +0000 URL: https://git.openjdk.org/leyden/commit/aea2837143289800cfbb7044de4f105e87e233ff 8355896: Lossy narrowing cast of JVMCINMethodData::size Reviewed-by: kvn, dnsimon ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp Changeset: 7f6ea27d Branch: premain Author: Calvin Cheung Date: 2025-05-06 01:34:50 +0000 URL: https://git.openjdk.org/leyden/commit/7f6ea27d3ef7a8f18f031467d302ed6b03d7d37a 8356020: Failed assert in virtualMemoryTracker.cpp Reviewed-by: iklam, gziemski ! src/hotspot/share/cds/archiveBuilder.cpp Changeset: 64b58f6a Branch: premain Author: Leonid Mesnik Date: 2025-05-06 01:59:33 +0000 URL: https://git.openjdk.org/leyden/commit/64b58f6a54c1197002527bdb6ba7b48283dc634e 8356089: java/lang/IO/IO.java fails with -XX:+AOTClassLinking Reviewed-by: epavlova, iklam ! test/hotspot/jtreg/ProblemList-AotJdk.txt ! test/jdk/ProblemList-AotJdk.txt Changeset: e09d2e27 Branch: premain Author: Manukumar V S Committer: Sergey Bylokhov Date: 2025-05-06 02:51:23 +0000 URL: https://git.openjdk.org/leyden/commit/e09d2e275bc646201a8da39bd4b977d3fda97954 8288471: java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently in CI Reviewed-by: abhiscxk, serb ! test/jdk/java/awt/ScrollPane/bug8077409Test.java Changeset: 9f8fbf29 Branch: premain Author: Emanuel Peter Date: 2025-05-06 06:26:09 +0000 URL: https://git.openjdk.org/leyden/commit/9f8fbf292278d995c9fa112d8f97b2375f619537 8352869: Verify.checkEQ: extension for NaN, VectorAPI and arbitrary Objects Reviewed-by: chagedorn, thartmann ! test/hotspot/jtreg/compiler/lib/verify/Verify.java + test/hotspot/jtreg/testlibrary_tests/verify/examples/TestWithVectorAPI.java ! test/hotspot/jtreg/testlibrary_tests/verify/tests/TestVerify.java Changeset: def907ab Branch: premain Author: Roberto Casta?eda Lozano Date: 2025-05-06 08:16:09 +0000 URL: https://git.openjdk.org/leyden/commit/def907ab89f3e5593aef17dcc61807e2836d41ae 8354520: IGV: dump contextual information Reviewed-by: epeter, dfenacci ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/idealGraphPrinter.hpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/node.hpp ! src/utils/IdealGraphVisualizer/README.md Changeset: 8c4f2ff2 Branch: premain Author: Harald Eilertsen Committer: Christian Hagedorn Date: 2025-05-06 08:28:31 +0000 URL: https://git.openjdk.org/leyden/commit/8c4f2ff21e21b158c333b3d36fcf323f68f4d187 8356182: Build fails on aarch64 without ZGC This work was sponsored by The FreeBSD Foundation Reviewed-by: stefank, chagedorn ! src/hotspot/cpu/aarch64/jvmciCodeInstaller_aarch64.cpp Changeset: 1eee15ee Branch: premain Author: Manuel H?ssig Committer: SendaoYan Date: 2025-05-06 09:05:37 +0000 URL: https://git.openjdk.org/leyden/commit/1eee15eea692f57e35dd785bdd491411746ae3f1 8258229: Crash in nmethod::reloc_string_for Reviewed-by: galder, thartmann ! src/hotspot/share/code/nmethod.cpp + test/hotspot/jtreg/compiler/print/TestPrintAssemblyDeoptRace.java Changeset: ecfaf354 Branch: premain Author: Joel Sikstr?m Date: 2025-05-06 09:50:44 +0000 URL: https://git.openjdk.org/leyden/commit/ecfaf354d761bc7034ea8783f4428157ea450207 8356083: ZGC: Duplicate ZTestEntry symbols in gtests Reviewed-by: aboldtch, tschatzl ! test/hotspot/gtest/gc/z/test_zIntrusiveRBTree.cpp Changeset: 614ba9fc Branch: premain Author: Roman Kennke Date: 2025-05-06 11:08:51 +0000 URL: https://git.openjdk.org/leyden/commit/614ba9fc41a0274a31f0e8eff8a598a7c5afe164 8356075: Support Shenandoah GC in JVMCI Reviewed-by: shade, dnsimon, cslucas ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/jvmci_globals.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: ddd07b10 Branch: premain Author: Coleen Phillimore Date: 2025-05-06 11:48:02 +0000 URL: https://git.openjdk.org/leyden/commit/ddd07b107e814ec846579a66d4f2005b7db9bb2f 8356172: IdealGraphPrinter doesn't need ThreadCritical Reviewed-by: rcastanedalo, chagedorn ! src/hotspot/share/opto/idealGraphPrinter.cpp Changeset: bfdafb76 Branch: premain Author: Roman Kennke Date: 2025-05-06 13:25:07 +0000 URL: https://git.openjdk.org/leyden/commit/bfdafb762661fad5746607aaf5b21d6d11c72ffc 8356266: Fix non-Shenandoah build after JDK-8356075 Reviewed-by: dnsimon, shade ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp Changeset: 088825ed Branch: premain Author: Matthias Baesken Date: 2025-05-06 14:15:37 +0000 URL: https://git.openjdk.org/leyden/commit/088825ed889551e6067d46bf77fe4d30a3972da1 8355979: ATTRIBUTE_NO_UBSAN needs to be extended to handle float divisions by zero on AIX Reviewed-by: jkern, lucy ! src/hotspot/share/sanitizers/ub.hpp ! src/java.base/share/native/libjava/ub.h Changeset: 9477c422 Branch: premain Author: Hannes Walln?fer Date: 2025-05-06 16:01:44 +0000 URL: https://git.openjdk.org/leyden/commit/9477c42215a219ef8d8f44f19506692f6efc82c0 8356276: JavaScript error in script.js after JDK-8348282 Reviewed-by: liach ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script.js.template Changeset: a6995a3d Branch: premain Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2025-05-06 16:26:21 +0000 URL: https://git.openjdk.org/leyden/commit/a6995a3d42955f1f207c14be1634daf225b5ab3f 8354473: Incorrect results for compress/expand tests with -XX:+EnableX86ECoreOpts Reviewed-by: jbhateja, sviswanathan, epeter ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp Changeset: b21b3a38 Branch: premain Author: Harshitha Onkar Date: 2025-05-06 16:50:14 +0000 URL: https://git.openjdk.org/leyden/commit/b21b3a38a5dbc7eb23c4bd1fd5c0900a3a1b470b 8355528: Update HarfBuzz to 11.2.0 Reviewed-by: dnguyen, prr ! src/java.desktop/share/legal/harfbuzz.md ! src/java.desktop/share/native/libharfbuzz/OT/Color/CBDT/CBDT.hh ! src/java.desktop/share/native/libharfbuzz/OT/Color/COLR/COLR.hh ! src/java.desktop/share/native/libharfbuzz/OT/Color/sbix/sbix.hh ! src/java.desktop/share/native/libharfbuzz/OT/Color/svg/svg.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/Common/CoverageFormat1.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/Common/CoverageFormat2.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/GDEF/GDEF.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/GPOS/GPOS.hh ! src/java.desktop/share/native/libharfbuzz/OT/Layout/GPOS/PairPosFormat1.hh ! src/java.desktop/share/native/libharfbuzz/OT/Var/VARC/VARC.hh ! src/java.desktop/share/native/libharfbuzz/OT/glyf/glyf.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-common.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-kerx-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-morx-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout-trak-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout.cc ! src/java.desktop/share/native/libharfbuzz/hb-aat-layout.hh ! src/java.desktop/share/native/libharfbuzz/hb-aat-map.cc ! src/java.desktop/share/native/libharfbuzz/hb-atomic.hh ! src/java.desktop/share/native/libharfbuzz/hb-bit-set.hh + src/java.desktop/share/native/libharfbuzz/hb-bit-vector.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-deserialize-json.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-deserialize-text-glyphs.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-deserialize-text-unicode.hh ! src/java.desktop/share/native/libharfbuzz/hb-buffer-serialize.cc ! src/java.desktop/share/native/libharfbuzz/hb-buffer-verify.cc ! src/java.desktop/share/native/libharfbuzz/hb-buffer.cc ! src/java.desktop/share/native/libharfbuzz/hb-buffer.h ! src/java.desktop/share/native/libharfbuzz/hb-buffer.hh ! src/java.desktop/share/native/libharfbuzz/hb-cache.hh ! src/java.desktop/share/native/libharfbuzz/hb-cff2-interp-cs.hh ! src/java.desktop/share/native/libharfbuzz/hb-common.cc ! src/java.desktop/share/native/libharfbuzz/hb-common.h ! src/java.desktop/share/native/libharfbuzz/hb-config.hh ! src/java.desktop/share/native/libharfbuzz/hb-debug.hh ! src/java.desktop/share/native/libharfbuzz/hb-deprecated.h ! src/java.desktop/share/native/libharfbuzz/hb-draw.cc ! src/java.desktop/share/native/libharfbuzz/hb-draw.h ! src/java.desktop/share/native/libharfbuzz/hb-draw.hh ! src/java.desktop/share/native/libharfbuzz/hb-face.cc ! src/java.desktop/share/native/libharfbuzz/hb-face.h ! src/java.desktop/share/native/libharfbuzz/hb-face.hh ! src/java.desktop/share/native/libharfbuzz/hb-font.cc ! src/java.desktop/share/native/libharfbuzz/hb-font.h ! src/java.desktop/share/native/libharfbuzz/hb-font.hh ! src/java.desktop/share/native/libharfbuzz/hb-ft.cc ! src/java.desktop/share/native/libharfbuzz/hb-ft.h ! src/java.desktop/share/native/libharfbuzz/hb-geometry.hh ! src/java.desktop/share/native/libharfbuzz/hb-machinery.hh ! src/java.desktop/share/native/libharfbuzz/hb-mutex.hh ! src/java.desktop/share/native/libharfbuzz/hb-object.hh ! src/java.desktop/share/native/libharfbuzz/hb-open-type.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-cff1-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-cff2-table.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-cff2-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-cmap-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-color.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-face-table-list.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-face.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-font.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-hmtx-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-kern-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout-base-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout-common.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout-gsubgpos.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-layout.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-math-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-math.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-post-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-shape-fallback.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shape.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shape.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-arabic.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-hangul.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-indic.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-shaper-thai.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-tag.cc ! src/java.desktop/share/native/libharfbuzz/hb-ot-var-gvar-table.hh ! src/java.desktop/share/native/libharfbuzz/hb-ot-var.cc ! src/java.desktop/share/native/libharfbuzz/hb-outline.cc ! src/java.desktop/share/native/libharfbuzz/hb-outline.hh + src/java.desktop/share/native/libharfbuzz/hb-paint-bounded.cc + src/java.desktop/share/native/libharfbuzz/hb-paint-bounded.hh ! src/java.desktop/share/native/libharfbuzz/hb-paint-extents.cc ! src/java.desktop/share/native/libharfbuzz/hb-paint-extents.hh ! src/java.desktop/share/native/libharfbuzz/hb-paint.cc ! src/java.desktop/share/native/libharfbuzz/hb-paint.h ! src/java.desktop/share/native/libharfbuzz/hb-paint.hh + src/java.desktop/share/native/libharfbuzz/hb-script-list.h ! src/java.desktop/share/native/libharfbuzz/hb-set-digest.hh ! src/java.desktop/share/native/libharfbuzz/hb-set.hh ! src/java.desktop/share/native/libharfbuzz/hb-shape.cc ! src/java.desktop/share/native/libharfbuzz/hb-static.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset-cff-common.hh ! src/java.desktop/share/native/libharfbuzz/hb-subset-input.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset-plan.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset-plan.hh ! src/java.desktop/share/native/libharfbuzz/hb-subset.cc ! src/java.desktop/share/native/libharfbuzz/hb-subset.h ! src/java.desktop/share/native/libharfbuzz/hb-vector.hh ! src/java.desktop/share/native/libharfbuzz/hb-version.h ! src/java.desktop/share/native/libharfbuzz/hb.hh Changeset: 052e2522 Branch: premain Author: Raffaello Giulietti Date: 2025-05-06 17:32:36 +0000 URL: https://git.openjdk.org/leyden/commit/052e2522b661e51b5fd2e0561c4866e97b9d170d 8356152: String.concat can throw StringIndexOutOfBoundsException Reviewed-by: liach, aturbanov, redestad, rriggs ! src/java.base/share/classes/java/lang/StringConcatHelper.java + test/jdk/java/lang/String/concat/HugeConcatTest.java Changeset: 064b036e Branch: premain Author: Jiangli Zhou Date: 2025-05-06 17:56:03 +0000 URL: https://git.openjdk.org/leyden/commit/064b036ebd73407ce036d283dbacce44530dbb38 8356050: Problemlist jdk, langtools & lib-test tier1 tests requiring runtime usages of /bin/tools for static-jdk Reviewed-by: ihse + test/jdk/ProblemList-StaticJdk.txt + test/langtools/ProblemList-StaticJdk.txt + test/lib-test/ProblemList-StaticJdk.txt Changeset: 9c43871f Branch: premain Author: Alexey Semenyuk Date: 2025-05-06 17:57:23 +0000 URL: https://git.openjdk.org/leyden/commit/9c43871fd15c6fa89f7ad8803c68db7d7a6c09ca 8356219: jpackage places libapplauncher.so in incorrect location in the app image Reviewed-by: almatvee ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayout.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/PathGroup.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/ApplicationLayout.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/PathGroupTest.java ! test/jdk/tools/jpackage/linux/UsrTreeTest.java Changeset: 08dd4a75 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-06 18:00:57 +0000 URL: https://git.openjdk.org/leyden/commit/08dd4a75c5b751a66d2e088b0ec9c6d6c443c14a 8354273: Replace even more Unicode characters with ASCII Reviewed-by: naoto ! src/java.xml/share/legal/xhtml11.md ! src/java.xml/share/legal/xmlxsd.md ! test/jdk/java/awt/geom/Path2D/GetBounds2DPrecisionTest.java ! test/jdk/java/awt/im/PinyinIMCapsTest.java ! test/jdk/java/awt/im/PinyinIMCommaTest.java ! test/jdk/java/awt/im/PinyinIMFullstopTest.java ! test/jdk/java/util/Currency/ValidateISO4217.java ! test/jdk/java/util/stream/GathererTest.java Changeset: 5d17a28c Branch: premain Author: Koushik Thirupattur Committer: Sean Mullan Date: 2025-05-06 18:10:46 +0000 URL: https://git.openjdk.org/leyden/commit/5d17a28c4edc097162cb078ebb72ad84d925fff4 8353001: Remove leftover Security Manager parsing code in sun.security.util.Debug Reviewed-by: mullan ! src/java.base/share/classes/sun/security/util/Debug.java - test/jdk/sun/security/util/Debug/MultiOptions.java Changeset: 0cb355ee Branch: premain Author: Justin Lu Date: 2025-05-06 18:27:20 +0000 URL: https://git.openjdk.org/leyden/commit/0cb355ee921183423c8ffc44491f428c49c62c28 8356096: ISO 4217 Amendment 179 Update Reviewed-by: naoto, iris ! src/java.base/share/classes/sun/util/resources/CurrencyNames.properties ! src/java.base/share/data/currency/CurrencyData.properties ! test/jdk/java/util/Currency/ISO4217-list-one.txt ! test/jdk/java/util/Currency/ValidateISO4217.java Changeset: fe29cad5 Branch: premain Author: Brent Christian Date: 2025-05-06 18:40:33 +0000 URL: https://git.openjdk.org/leyden/commit/fe29cad5e0b10cd088fc39967599f5a8dcaa445c 8298783: java/lang/ref/FinalizerHistogramTest.java failed with "RuntimeException: MyObject is not found in test output" Reviewed-by: kbarrett, jpai ! test/jdk/java/lang/ref/FinalizerHistogramTest.java Changeset: 4977588d Branch: premain Author: Coleen Phillimore Date: 2025-05-06 19:00:06 +0000 URL: https://git.openjdk.org/leyden/commit/4977588d5e3424282f40209590737a487747095d 8330022: Failure test/hotspot/jtreg/vmTestbase/nsk/sysdict/share/BTreeTest.java: Could not initialize class java.util.concurrent.ThreadLocalRandom Co-authored-by: David Leopoldseder Reviewed-by: tschatzl, matsaave ! test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java Changeset: e2df9cde Branch: premain Author: Alexandre Iline Date: 2025-05-06 19:19:10 +0000 URL: https://git.openjdk.org/leyden/commit/e2df9cdeb081735bddd24ac2622f59e20cda47ad 8356226: JCov Grabber server didn't respond Reviewed-by: erikj ! make/RunTests.gmk Changeset: bed5114e Branch: premain Author: Jiangli Zhou Date: 2025-05-06 19:38:39 +0000 URL: https://git.openjdk.org/leyden/commit/bed5114e3a061d13bbc2031334d73f4527309f90 8356209: Problemlist failed gtests on static-jdk Reviewed-by: alanb ! test/hotspot/jtreg/ProblemList-StaticJdk.txt Changeset: 9a23f721 Branch: premain Author: Patricio Chilano Mateo Committer: Serguei Spitsyn Date: 2025-05-06 22:08:51 +0000 URL: https://git.openjdk.org/leyden/commit/9a23f721c7bcbfdb2fcf5b2bd145d6967e000dc4 8316682: serviceability/jvmti/vthread/SelfSuspendDisablerTest timed out Reviewed-by: lmesnik, pchilanomate ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/jvmtiImpl.cpp ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/jvmtiThreadState.hpp ! src/hotspot/share/runtime/handshake.cpp ! src/hotspot/share/runtime/handshake.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! test/hotspot/jtreg/ProblemList.txt Changeset: cbbab07d Branch: premain Author: Alexey Semenyuk Date: 2025-05-06 23:40:48 +0000 URL: https://git.openjdk.org/leyden/commit/cbbab07d232ff7d46f91b2df4e1b0ef4f37bba95 8356309: Fix issues uncovered after running jpackage tests locally with installing test packages Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/PListReaderTest.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/PathGroupTest.java ! test/jdk/tools/jpackage/share/EmptyFolderTest.java ! test/jdk/tools/jpackage/share/RuntimeImageTest.java ! test/jdk/tools/jpackage/share/RuntimePackageTest.java Changeset: acad0b49 Branch: premain Author: Dingli Zhang Committer: Fei Yang Date: 2025-05-07 00:58:19 +0000 URL: https://git.openjdk.org/leyden/commit/acad0b4968f931a00664f18fd22ee97fdb001099 8356188: RISC-V: Cleanup effect of vmaskcmp_fp Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 762423d6 Branch: premain Author: Sergey Bylokhov Date: 2025-05-07 02:54:41 +0000 URL: https://git.openjdk.org/leyden/commit/762423d64d10dcdb37800767d2b2f1b7757c804a 8355561: [macos] Build failure with Xcode 16.3 Reviewed-by: kizune, prr ! src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp Changeset: 0eb680ca Branch: premain Author: Amit Kumar Date: 2025-05-07 04:12:56 +0000 URL: https://git.openjdk.org/leyden/commit/0eb680ca463e8df20f058d2c0a09ed7006faa353 8350308: [s390x] Relativize last_sp (and top_frame_sp) in interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp Changeset: 4e3ec3c0 Branch: premain Author: Phil Race Date: 2025-05-07 05:36:00 +0000 URL: https://git.openjdk.org/leyden/commit/4e3ec3c04c1c60404b9ec7d5524eaceab6472b67 8356208: Remove obsolete code in PSPrinterJob for plugin printing Reviewed-by: serb ! src/java.desktop/share/classes/sun/print/PSPrinterJob.java Changeset: 772c9703 Branch: premain Author: Galder Zamarre?o Committer: Magnus Ihse Bursie Date: 2025-05-07 06:17:50 +0000 URL: https://git.openjdk.org/leyden/commit/772c97039e9841410f0ca2a25e984719221174e1 8354257: xctracenorm profiler not working with JDK JMH benchmarks Reviewed-by: ihse ! make/test/BuildMicrobenchmark.gmk Changeset: 4458719a Branch: premain Author: Daishi Tabata Committer: Magnus Ihse Bursie Date: 2025-05-07 06:19:56 +0000 URL: https://git.openjdk.org/leyden/commit/4458719a108f45d3744d47a6ea081fe9ec3e675e 8355249: Remove the use of WMIC from the entire source code Reviewed-by: erikj, ihse, asemenyuk ! make/RunTestsPrebuilt.gmk ! make/autoconf/build-performance.m4 ! test/failure_handler/src/share/conf/windows.properties ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java Changeset: 910d77d3 Branch: premain Author: Christian Stein Date: 2025-05-07 06:55:29 +0000 URL: https://git.openjdk.org/leyden/commit/910d77d39e6fb9ca339272c75fa4ff7ff99bffcf 8354260: Launcher help text is wrong for -Xms Reviewed-by: jsikstro, jlahoda ! src/java.base/share/classes/sun/launcher/resources/launcher.properties Changeset: 21f01e0c Branch: premain Author: Matthias Baesken Date: 2025-05-07 07:19:42 +0000 URL: https://git.openjdk.org/leyden/commit/21f01e0c89e40ae2701d8cb24c737be78f4dcd19 8356269: Fix broken web-links after JDK-8295470 Reviewed-by: chagedorn, epeter ! test/hotspot/jtreg/applications/jcstress/README ! test/hotspot/jtreg/applications/jcstress/TestGenerator.java ! test/hotspot/jtreg/compiler/membars/DekkerTest.java Changeset: 50895835 Branch: premain Author: Aleksey Shipilev Date: 2025-05-07 07:44:05 +0000 URL: https://git.openjdk.org/leyden/commit/50895835e0c78f54a0b33db7f42f3769e2a1e652 8356259: Lift basic -Xlog:jit* logging to "info" level Reviewed-by: kvn ! src/hotspot/share/compiler/compileTask.cpp Changeset: 328715d8 Branch: premain Author: Ivan Bereziuk Committer: Severin Gehwolf Date: 2025-05-07 08:06:29 +0000 URL: https://git.openjdk.org/leyden/commit/328715d84c0eafb4fe58d28b301138374ddac168 8356187: TestJcmd.java may incorrectly parse podman version Reviewed-by: sgehwolf ! test/hotspot/jtreg/containers/docker/TestJcmd.java Changeset: b5fd289f Branch: premain Author: Manuel H?ssig Committer: Tobias Hartmann Date: 2025-05-07 08:16:35 +0000 URL: https://git.openjdk.org/leyden/commit/b5fd289f53e8380dfc38c3615acd10396ac647d5 8356310: compiler/print/TestPrintAssemblyDeoptRace.java fails with Improperly specified VM option 'DeoptimizeALot' Reviewed-by: epeter, mchevalier, thartmann, chagedorn, rcastanedalo ! test/hotspot/jtreg/compiler/print/TestPrintAssemblyDeoptRace.java Changeset: da004cb6 Branch: premain Author: Hamlin Li Date: 2025-05-07 08:33:35 +0000 URL: https://git.openjdk.org/leyden/commit/da004cb6579c96c444faa55496db0056e9ac34e0 8356030: RISC-V: enable (part of) BasicDoubleOpTest.java Reviewed-by: fyang, luhenry ! test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java Changeset: 1a4bbb00 Branch: premain Author: Hamlin Li Date: 2025-05-07 08:33:49 +0000 URL: https://git.openjdk.org/leyden/commit/1a4bbb0027ae9e6df3b668454fa155861d531f72 8355699: RISC-V: support SUADD/SADD/SUSUB/SSUB Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/riscv_v.ad ! test/hotspot/jtreg/compiler/vectorapi/VectorCommutativeOperSharingTest.java ! test/hotspot/jtreg/compiler/vectorapi/VectorSaturatedOperationsTest.java Changeset: 50554fa1 Branch: premain Author: Hamlin Li Date: 2025-05-07 08:34:03 +0000 URL: https://git.openjdk.org/leyden/commit/50554fa1982f042fb1d7b6c8a16334b97b31bb63 8355704: RISC-V: enable TestIRFma.java Reviewed-by: rehn, luhenry ! test/hotspot/jtreg/compiler/c2/irTests/TestIRFma.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java Changeset: 1bdff3cc Branch: premain Author: Per Minborg Date: 2025-05-07 09:12:44 +0000 URL: https://git.openjdk.org/leyden/commit/1bdff3ccd069142e21c8b0a9ecf759b82302a2d2 8356114: java/foreign/TestBufferStackStress2.java failed with junit action timed out Reviewed-by: djelinski, alanb ! test/jdk/java/foreign/TestBufferStackStress2.java Changeset: 0844745e Branch: premain Author: Sergey Bylokhov Date: 2025-05-07 09:21:58 +0000 URL: https://git.openjdk.org/leyden/commit/0844745e7bd954a96441365f8010741ec1c29dbf 8339561: The test/jdk/java/awt/Paint/ListRepaint.java may fail after JDK-8327401 Reviewed-by: azvegint ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java ! test/jdk/java/awt/List/KeyEventsTest/KeyEventsTest.java ! test/jdk/java/awt/Paint/ButtonRepaint.java ! test/jdk/java/awt/Paint/CheckboxRepaint.java ! test/jdk/java/awt/Paint/LabelRepaint.java ! test/jdk/java/awt/Paint/ListRepaint.java Changeset: 60a4594b Branch: premain Author: Volkan Yazici Committer: Daniel Fuchs Date: 2025-05-07 12:07:47 +0000 URL: https://git.openjdk.org/leyden/commit/60a4594b9f9acd82ef3ff22fc6a2df238dd981b9 8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value Reviewed-by: dfuchs ! test/jdk/java/net/Inet4Address/PingThis.java ! test/jdk/java/net/MulticastSocket/NoLoopbackPackets.java ! test/jdk/java/net/MulticastSocket/PromiscuousIPv6.java ! test/jdk/java/net/MulticastSocket/SetOutgoingIf.java ! test/jdk/java/net/ServerSocket/AnotherSelectFdsLimit.java ! test/jdk/java/net/ServerSocket/SelectFdsLimit.java Changeset: fa765e7d Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-07 13:23:16 +0000 URL: https://git.openjdk.org/leyden/commit/fa765e7d346d26a1c5065830bd01d850720da8ae 8356335: Remove linux-x86 from jib profiles Reviewed-by: erikj ! make/conf/jib-profiles.js Changeset: a72f7506 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-07 13:23:28 +0000 URL: https://git.openjdk.org/leyden/commit/a72f7506bf07be722c90ed64f5177699d2cebdb2 8356379: Need a proper way to test existence of binary from configure Reviewed-by: erikj ! make/autoconf/boot-jdk.m4 ! make/autoconf/util_paths.m4 Changeset: ca5e0b18 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-07 13:28:46 +0000 URL: https://git.openjdk.org/leyden/commit/ca5e0b1848054848fb5e39eebac06f2011cceb2e 8282493: Add --with-jcov-modules convenience option Reviewed-by: erikj ! doc/testing.html ! doc/testing.md ! make/Coverage.gmk ! make/RunTests.gmk ! make/autoconf/jdk-options.m4 ! make/autoconf/spec.gmk.template Changeset: d7e648bb Branch: premain Author: Chen Liang Date: 2025-05-07 14:08:21 +0000 URL: https://git.openjdk.org/leyden/commit/d7e648bb2737362d3cba3350cae63b1013967a66 8355775: Improve symbolic sharing in dynamic constant pool entries Reviewed-by: asotona ! src/java.base/share/classes/java/lang/classfile/CodeBuilder.java ! src/java.base/share/classes/java/lang/classfile/constantpool/ConstantPoolBuilder.java ! src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java ! src/java.base/share/classes/jdk/internal/classfile/impl/BytecodeHelpers.java ! src/java.base/share/classes/jdk/internal/classfile/impl/SplitConstantPool.java ! src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java Changeset: 90f0f1b8 Branch: premain Author: Gerg? Barany Committer: Yudi Zheng Date: 2025-05-07 14:49:37 +0000 URL: https://git.openjdk.org/leyden/commit/90f0f1b88badbf1f72d7b9434621457aa47cde30 8354443: [Graal] crash after deopt in TestG1BarrierGeneration.java Reviewed-by: dnsimon, yzheng ! src/hotspot/share/code/nmethod.inline.hpp Changeset: c8a30c2a Branch: premain Author: Leonid Mesnik Date: 2025-05-07 15:42:00 +0000 URL: https://git.openjdk.org/leyden/commit/c8a30c2aaba04c11b70a4f74ee74452250be6e59 8347004: vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java fails with CDS disabled Reviewed-by: coleenp ! test/hotspot/jtreg/vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java Changeset: da5dc528 Branch: premain Author: Thomas Stuefe Date: 2025-05-07 16:52:45 +0000 URL: https://git.openjdk.org/leyden/commit/da5dc5287b3a81909a5c316f164f7f42d07d3664 8356025: Provide a PrintVMInfoAtExit diagnostic switch Reviewed-by: mbaesken, jsikstro ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp + test/hotspot/jtreg/runtime/ErrorHandling/PrintVMInfoAtExitTest.java Changeset: 40f696db Branch: premain Author: Ioi Lam Date: 2025-05-07 17:36:37 +0000 URL: https://git.openjdk.org/leyden/commit/40f696dbe49f348327bf0f3dc6493a7110918813 8356318: Unexpected VerifyError in AOT training run Reviewed-by: shade, kvn ! src/hotspot/share/classfile/verifier.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCache/VerifierFailOver.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/VerifierFailOver_Helper.jcod ! test/lib/jdk/test/lib/cds/SimpleCDSAppTester.java Changeset: 28e6b7cb Branch: premain Author: Ioi Lam Date: 2025-05-07 17:40:44 +0000 URL: https://git.openjdk.org/leyden/commit/28e6b7cb7462b0e231698c86ff57828e9e288087 8351313: VM crashes when AOTMode/AOTCache/AOTConfiguration are empty Reviewed-by: ccheung, shade, kvn ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java Changeset: cb021580 Branch: premain Author: Alex Menkov Date: 2025-05-07 18:05:48 +0000 URL: https://git.openjdk.org/leyden/commit/cb02158090fa97bf4d11d09c23ce3058a5f83fc8 8354461: Update tests to disable streaming output for attach tools Reviewed-by: sspitsyn, cjplummer ! test/hotspot/jtreg/runtime/CommandLine/PrintClasses.java ! test/hotspot/jtreg/runtime/ElfDecoder/TestElfDirectRead.java ! test/hotspot/jtreg/runtime/Metaspace/PrintMetaspaceDcmd.java ! test/hotspot/jtreg/runtime/NMT/CommitOverlappingRegions.java ! test/hotspot/jtreg/runtime/NMT/JcmdDetailDiff.java ! test/hotspot/jtreg/runtime/NMT/MallocSiteTypeChange.java ! test/hotspot/jtreg/runtime/NMT/NMTTestUtils.java ! test/hotspot/jtreg/runtime/NMT/VirtualAllocAttemptReserveMemoryAt.java ! test/hotspot/jtreg/runtime/Thread/TestThreadDumpClassInitMonitor.java ! test/hotspot/jtreg/runtime/Thread/TestThreadDumpSMRInfo.java ! test/hotspot/jtreg/runtime/Thread/ThreadPriorities.java ! test/hotspot/jtreg/runtime/cds/DumpSharedDictionary.java ! test/hotspot/jtreg/runtime/cds/DumpSymbolAndStringTable.java ! test/hotspot/jtreg/serviceability/tmtools/jstack/JstackThreadTest.java ! test/jdk/sun/tools/jcmd/JcmdOutputEncodingTest.java ! test/jdk/sun/tools/jmap/BasicJMapTest.java ! test/jdk/sun/tools/jstack/BasicJStackTest.java ! test/lib/jdk/test/lib/dcmd/JcmdExecutor.java ! test/lib/jdk/test/lib/dcmd/PidJcmdExecutor.java Changeset: 3f6b1777 Branch: premain Author: Chen Liang Date: 2025-05-07 18:09:23 +0000 URL: https://git.openjdk.org/leyden/commit/3f6b17777ffe59d8981e252891ef2e5beeaf2fdd 8332934: Do loop with continue with subsequent switch leads to incorrect stack maps Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! test/langtools/tools/javac/flow/LVTHarness.java = test/langtools/tools/javac/stackmap/BranchToFewerDefines.java + test/langtools/tools/javac/stackmap/DoLoopLocalEscapeThroughContinueTest.java = test/langtools/tools/javac/stackmap/SwitchExitStateTest.java Changeset: 8c1b915c Branch: premain Author: Chen Liang Date: 2025-05-07 18:11:03 +0000 URL: https://git.openjdk.org/leyden/commit/8c1b915c7ef2b3a6e65705b91f4eb464caaec4e7 8356126: Duplication handling and optimization of CaptureCallState Reviewed-by: jvernee ! src/hotspot/share/prims/downcallLinker.cpp ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequence.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CapturableState.java ! src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/fallback/FallbackLinker.java ! test/jdk/java/foreign/capturecallstate/TestCaptureCallState.java Changeset: 493ac936 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-07 21:33:39 +0000 URL: https://git.openjdk.org/leyden/commit/493ac93606e4637638ec1ae34e24526aaba7b7f3 8244533: Configure should abort on missing short names in Windows Co-authored-by: Jorn Vernee Co-authored-by: Magnus Ihse Bursie Reviewed-by: erikj ! doc/building.html ! doc/building.md ! doc/hotspot-unit-tests.html ! make/autoconf/basic_windows.m4 ! make/autoconf/util_paths.m4 ! make/scripts/fixpath.sh Changeset: 7642556a Branch: premain Author: Markus KARG Committer: Jaikiran Pai Date: 2025-05-08 00:58:10 +0000 URL: https://git.openjdk.org/leyden/commit/7642556a5a131e9104033ad7d7abfdb4be5012cf 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer Reviewed-by: liach, jpai, rriggs ! src/java.base/share/classes/java/io/Reader.java ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java ! src/java.base/share/classes/java/lang/CharSequence.java ! src/java.base/share/classes/java/lang/String.java ! src/java.base/share/classes/java/lang/StringBuffer.java ! src/java.base/share/classes/java/nio/X-Buffer.java.template + test/jdk/java/lang/CharSequence/GetChars.java + test/jdk/java/nio/Buffer/GetChars.java Changeset: 3e258cbd Branch: premain Author: Ioi Lam Date: 2025-05-08 01:08:52 +0000 URL: https://git.openjdk.org/leyden/commit/3e258cbddf335a6b4f4307e5a1304fe2664c80a0 8356407: Part of class verification is skipped in AOT training run Co-authored-by: Vladimir Ivanov Reviewed-by: matsaave, coleenp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/classfile/verificationType.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTCacheSupportForCustomLoaders.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/ReturnIntegerAsString.jasm Changeset: 52a5583d Branch: premain Author: Jaikiran Pai Date: 2025-05-08 03:56:45 +0000 URL: https://git.openjdk.org/leyden/commit/52a5583d691388f833c3aeb56ce92cbfb5d61274 8356154: Respecify java.net.Socket constructors that allow creating UDP sockets to throw IllegalArgumentException Reviewed-by: dfuchs, alanb ! src/java.base/share/classes/java/net/Socket.java ! src/java.base/share/classes/java/net/SocketImpl.java ! src/java.base/share/classes/sun/nio/ch/AsynchronousServerSocketChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/Net.java ! src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java ! src/java.base/share/classes/sun/nio/ch/ServerSocketChannelImpl.java ! test/jdk/java/net/Socket/UdpSocket.java ! test/jdk/java/net/SocketImpl/BadUsages.java Changeset: 223eec55 Branch: premain Author: Anass Baya Committer: SendaoYan Date: 2025-05-08 07:30:40 +0000 URL: https://git.openjdk.org/leyden/commit/223eec55018f1640cb292b11130e3e1d6451990d 8354219: Automate javax/swing/JComboBox/ComboPopupBug.java Reviewed-by: aivanov, achung ! test/jdk/javax/swing/JComboBox/ComboPopupBug.java Changeset: daf6fa1e Branch: premain Author: Andrew Dinn Date: 2025-05-08 07:44:42 +0000 URL: https://git.openjdk.org/leyden/commit/daf6fa1e6153d3fdf48ef0840790794e57349c38 8356085: AArch64: compiler stub buffer size wrongly depends on ZGC Reviewed-by: shade, kvn ! src/hotspot/cpu/aarch64/stubDeclarations_aarch64.hpp Changeset: 2c1eb339 Branch: premain Author: nibjen Committer: Daniel Jeli?ski Date: 2025-05-08 09:06:19 +0000 URL: https://git.openjdk.org/leyden/commit/2c1eb339d6c9b6cc6fa4a8780b0e0b8d4d9a5f01 8350830: Values converted incorrectly when reading TLS session tickets Reviewed-by: djelinski, ascarpino ! src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java + test/jdk/sun/security/ssl/SSLSessionImpl/ResumeClientTLS12withSNI.java Changeset: 5df7089c Branch: premain Author: Amit Kumar Date: 2025-05-08 10:56:01 +0000 URL: https://git.openjdk.org/leyden/commit/5df7089c3eb2e6d7cf6634840a2a21bcaa7e3f4e 8350398: [s390x] Relativize initial_sp/monitors in interpreter frames Reviewed-by: lucy, aph ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp ! src/hotspot/cpu/s390/templateTable_s390.cpp Changeset: b47b2062 Branch: premain Author: Christian Hagedorn Date: 2025-05-08 11:33:31 +0000 URL: https://git.openjdk.org/leyden/commit/b47b2062a2232694eb01473054a468ad9a6a2507 8355674: C2: Partial Peeling should not introduce Phi nodes above OpaqueInitializedAssertionPredicate nodes Reviewed-by: epeter, thartmann ! src/hotspot/share/opto/loopopts.cpp + test/hotspot/jtreg/compiler/predicates/assertion/TestPhiAboveOpaqueInitializedAssertionPredicate.java Changeset: ad07426f Branch: premain Author: Christian Hagedorn Date: 2025-05-08 11:34:46 +0000 URL: https://git.openjdk.org/leyden/commit/ad07426fab3396caefd7c08d924e085c1f6f61ba 8356084: C2: Data is wrongly rewired to Initialized Assertion Predicates instead of Template Assertion Predicates Reviewed-by: epeter, kvn ! src/hotspot/share/opto/predicates.cpp ! src/hotspot/share/opto/predicates.hpp ! test/hotspot/jtreg/compiler/predicates/assertion/TestAssertionPredicates.java Changeset: 900b3ff7 Branch: premain Author: Kevin Walls Date: 2025-05-08 13:18:02 +0000 URL: https://git.openjdk.org/leyden/commit/900b3ff7ee933520efe2438fb7c841a4e6a93d17 8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows) Reviewed-by: amenkov, sspitsyn ! src/jdk.management/windows/native/libmanagement_ext/OperatingSystemImpl.c Changeset: 57297e60 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-08 13:33:57 +0000 URL: https://git.openjdk.org/leyden/commit/57297e60de92b9878fb3926109da3e0058a506ae 8354278: Revert use of non-POSIX echo -n introduced in JDK-8301197 Reviewed-by: iris ! make/Docs.gmk ! make/MainSupport.gmk ! make/autoconf/help.m4 ! make/common/FindTests.gmk ! make/common/Modules.gmk Changeset: 2ea629f3 Branch: premain Author: Eirik Bj?rsn?s Date: 2025-05-08 14:52:53 +0000 URL: https://git.openjdk.org/leyden/commit/2ea629f3f2ae07de9cb92baac13497a789d16ec3 8353440: Disable FTP fallback for non-local file URLs by default Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/doc-files/net-properties.html ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/unix/classes/sun/net/www/protocol/file/Handler.java ! src/java.base/windows/classes/sun/net/www/protocol/file/Handler.java ! test/jdk/java/net/URL/OpenStream.java ! test/jdk/sun/net/www/protocol/file/NonLocalFtpFallback.java + test/jdk/sun/net/www/protocol/file/NonLocalFtpFallbackDisabled.java Changeset: c6ffacb5 Branch: premain Author: Maurizio Cimadamore Date: 2025-05-08 15:14:35 +0000 URL: https://git.openjdk.org/leyden/commit/c6ffacb5754642083f614a5ee6dc76b7d145c605 8344703: Compiler Implementation for Flexible Constructor Bodies Reviewed-by: vromero, liach, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! test/langtools/tools/javac/DefiniteAssignment/DA_DUConstructors.java ! test/langtools/tools/javac/DefiniteAssignment/DA_DUConstructors.out ! test/langtools/tools/javac/LocalClassCtorPrologue.java ! test/langtools/tools/javac/LocalClassCtorPrologue.out ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview1.java ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview1.out ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview2.java ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview2.out ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview3.java ! test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview3.out ! test/langtools/tools/javac/SuperInit/EarlyAssignments.java ! test/langtools/tools/javac/SuperInit/EarlyAssignments.out ! test/langtools/tools/javac/SuperInit/EarlyInnerAccessErrorMessageTest.java ! test/langtools/tools/javac/SuperInit/EarlyInnerAccessErrorMessageTest.out ! test/langtools/tools/javac/SuperInit/EarlyLambdaReturn.java ! test/langtools/tools/javac/SuperInit/EarlyLocalClass.java ! test/langtools/tools/javac/SuperInit/EarlyLocalClass.out ! test/langtools/tools/javac/SuperInit/EarlyLocalCtorRef.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest1.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest2.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest3.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest4.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest5.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest6.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest7.java ! test/langtools/tools/javac/SuperInit/EarlyLocalTest8.java ! test/langtools/tools/javac/SuperInit/LambdaLocalEarlyCrash.java ! test/langtools/tools/javac/SuperInit/LambdaOuterCapture.java ! test/langtools/tools/javac/SuperInit/MultiLevelOuterInstance.java ! test/langtools/tools/javac/SuperInit/SuperInitFails.java ! test/langtools/tools/javac/SuperInit/SuperInitFails.out ! test/langtools/tools/javac/SuperInit/SuperInitGood.java ! test/langtools/tools/javac/diags/examples/CantAssignInitializedBeforeCtorCalled.java ! test/langtools/tools/javac/diags/examples/FeatureFlexibleConstructors.java ! test/langtools/tools/javac/diags/examples/PreviewFeatureUse.java = test/langtools/tools/javac/diags/examples/PreviewFeatureUsePlural.java ! test/langtools/tools/javac/diags/examples/ReturnBeforeSuperclassInit.java Changeset: 6b1e88a9 Branch: premain Author: Roman Kennke Date: 2025-05-08 16:07:25 +0000 URL: https://git.openjdk.org/leyden/commit/6b1e88a946c5aa5ab8c1b320ebdfdf595c469855 8356329: Report compact object headers in hs_err Reviewed-by: stuefe, lmesnik, zgu ! src/hotspot/share/utilities/vmError.cpp + test/hotspot/jtreg/runtime/ErrorHandling/TestVMConfigInHsErrFile.java Changeset: 7f3191a6 Branch: premain Author: Casper Norrbin Committer: Severin Gehwolf Date: 2025-05-08 16:20:53 +0000 URL: https://git.openjdk.org/leyden/commit/7f3191a630edba32ddb7bb64a835ec663d91ed92 8354878: File Leak in CgroupSubsystemFactory::determine_type of cgroupSubsystem_linux.cpp:300 Reviewed-by: sgehwolf, jsjolen, dholmes ! src/hotspot/os/linux/cgroupSubsystem_linux.cpp Changeset: 1e8927dd Branch: premain Author: Casper Norrbin Committer: Johan Sj?len Date: 2025-05-08 16:21:14 +0000 URL: https://git.openjdk.org/leyden/commit/1e8927dded2d6d7049dc277564c77dff81ff1047 8354433: Assert in AbstractRBTree::visit_range_in_order(const K& from, const K& to, F f) is wrong Reviewed-by: jsjolen, aboldtch ! src/hotspot/share/utilities/rbTree.hpp ! src/hotspot/share/utilities/rbTree.inline.hpp ! test/hotspot/gtest/utilities/test_rbtree.cpp Changeset: 24d84cf6 Branch: premain Author: Joe Darcy Date: 2025-05-08 16:30:01 +0000 URL: https://git.openjdk.org/leyden/commit/24d84cf66a47e10002a836275794f3f17e147c99 8354091: Update RELEASE_25 description for Flexible Constructor Bodies Reviewed-by: iris, liach, vromero ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Changeset: 92730945 Branch: premain Author: Chris Plummer Date: 2025-05-08 17:48:26 +0000 URL: https://git.openjdk.org/leyden/commit/927309453822183bbfa9af278043fe0dca17031c 8356023: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 2 Reviewed-by: amenkov, sspitsyn, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/getValue/getvalue002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referenceType/referencetype001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/referenceType/referencetype001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/location/location001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/location/location001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue001/setvalue001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue001/setvalue001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue002/setvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue002/setvalue002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue003/setvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue003/setvalue003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue004/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue004/setvalue004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thisObject/thisobject002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thread/thread001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/thread/thread001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariableByName/visiblevarbyname002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/visibleVariables/visiblevariables002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/forceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/forceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frame/frame001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frame/frame001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames/frames001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames/frames001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frames_ii/frames_ii002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isAtBreakpoint/isatbreakpoint001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isAtBreakpoint/isatbreakpoint001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/name/name001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/name/name001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/resume/resume001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/resume/resume001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspend/suspend001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspend/suspend001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspendCount/suspendcount001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/suspendCount/suspendcount001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetCurrentContendedMonitor/cangccm001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetCurrentContendedMonitor/cangccm001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetMonitorInfo/cangetmonitorinfo001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetOwnedMonitorInfo/cangetinfo001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/canGetOwnedMonitorInfo/cangetinfo001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/suspend/suspend001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/suspend/suspend001a.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java Changeset: e4ecda2b Branch: premain Author: Naoto Sato Date: 2025-05-08 17:52:05 +0000 URL: https://git.openjdk.org/leyden/commit/e4ecda2b2563fbdff96d82fbbed6c022e28a49da 8356221: Clarify Console.charset() method description Reviewed-by: bpb ! src/java.base/share/classes/java/io/Console.java Changeset: b7b437d5 Branch: premain Author: Vladimir Ivanov Date: 2025-05-08 17:53:27 +0000 URL: https://git.openjdk.org/leyden/commit/b7b437d5bd579a7a90a90470979768cdd085728c 8356453: C2: assert(!vbox->is_Phi()) during vector box expansion Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/vector.cpp ! test/hotspot/jtreg/compiler/vectorapi/VectorBoxExpandTest.java Changeset: 4379e2d2 Branch: premain Author: Ioi Lam Date: 2025-05-08 17:54:47 +0000 URL: https://git.openjdk.org/leyden/commit/4379e2d26bd445d3f303a5937d1e335885be9216 8356125: Interned strings are omitted from AOT cache Reviewed-by: shade, ccheung ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.hpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/stringTable.hpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/constantPool.hpp + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/GeneratedInternedString.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/NonFinalStaticWithInitVal.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/NonFinalStaticWithInitVal_Helper.jasm Changeset: c2a4fa1d Branch: premain Author: Julian Waters Date: 2025-05-08 22:11:37 +0000 URL: https://git.openjdk.org/leyden/commit/c2a4fa1d83bd690e4e453eb1dbe59c6503b5281d 8355573: Remove kludge_c++11.h from jpackage code Reviewed-by: asemenyuk, almatvee ! src/jdk.jpackage/linux/native/libapplauncher/LinuxLauncherLib.cpp ! src/jdk.jpackage/share/native/applauncher/CfgFile.cpp ! src/jdk.jpackage/share/native/applauncher/PackageFile.cpp ! src/jdk.jpackage/share/native/applauncher/StringProcessing.cpp ! src/jdk.jpackage/share/native/common/Dll.h ! src/jdk.jpackage/share/native/common/app.cpp - src/jdk.jpackage/share/native/common/kludge_c++11.h ! src/jdk.jpackage/windows/native/common/MsiUtils.h Changeset: 8a8893ec Branch: premain Author: Alexey Semenyuk Date: 2025-05-08 22:18:56 +0000 URL: https://git.openjdk.org/leyden/commit/8a8893ec030b19583efd65bd0751e66254689ead 8356562: SigningAppImageTwoStepsTest test fails Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java Changeset: cc3a366e Branch: premain Author: Alexey Semenyuk Date: 2025-05-09 00:06:26 +0000 URL: https://git.openjdk.org/leyden/commit/cc3a366e2a616226b776f683dbfb7cddaf2270d3 8333568: Test that jpackage doesn't modify R/O files/directories Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java Changeset: 9a0e6f33 Branch: premain Author: Sergey Bylokhov Date: 2025-05-09 02:08:29 +0000 URL: https://git.openjdk.org/leyden/commit/9a0e6f338f34fb5da16d5f9eb710cdddd4302945 8356571: Re-enable -Wtype-limits for GCC in LCMS Reviewed-by: jwaters, prr ! make/modules/java.desktop/lib/ClientLibraries.gmk Changeset: 53ad4b2a Branch: premain Author: Jatin Bhateja Date: 2025-05-09 05:28:56 +0000 URL: https://git.openjdk.org/leyden/commit/53ad4b2ad2664e5056c113543dfaa26647d6ce26 8355364: [REDO] Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding Co-authored-by: Axel Boldt-Christmas Reviewed-by: aboldtch, sviswanathan ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp Changeset: 591e71eb Branch: premain Author: Ioi Lam Date: 2025-05-09 06:00:23 +0000 URL: https://git.openjdk.org/leyden/commit/591e71ebe501e6e88249f46efda4134277f29b08 8354890: AOT-initialize j.l.i.MethodHandleImpl and inner classes Reviewed-by: liach, vlivanov ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/classfile/vmClassMacros.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/java.base/share/classes/java/lang/ref/Reference.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/MethodHandleTest.java Changeset: c88f94c9 Branch: premain Author: Matthias Baesken Date: 2025-05-09 07:12:51 +0000 URL: https://git.openjdk.org/leyden/commit/c88f94c9d7a12225a3571e0ba5399d4c42eeb707 8356394: Remove USE_LIBRARY_BASED_TLS_ONLY macro Reviewed-by: dholmes, kbarrett, lucy ! src/hotspot/share/classfile/symbolTable.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp Changeset: 74e981e8 Branch: premain Author: Yudi Zheng Date: 2025-05-09 08:39:16 +0000 URL: https://git.openjdk.org/leyden/commit/74e981e85509ca072b2a45d529dab3a9883613a2 8353735: [JVMCI] Allow specifying storage kind of the callee save register Reviewed-by: dnsimon, cslucas ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterConfig.java Changeset: 3aa2ea7e Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-09 09:05:10 +0000 URL: https://git.openjdk.org/leyden/commit/3aa2ea7e67c879dafa0f967073c2d8b98d62c996 8301971: Make JDK source code UTF-8 8338973: Document need to have UTF-8 locale available to build the JDK Reviewed-by: erikj, naoto, mbaesken ! .editorconfig ! .gitattributes ! doc/building.html ! doc/building.md ! make/Docs.gmk ! make/autoconf/basic.m4 ! make/autoconf/configure ! make/autoconf/flags-cflags.m4 ! make/common/JavaCompilation.gmk ! make/common/JdkNativeCompilation.gmk - make/common/support/unicode2x.sed ! src/java.base/unix/native/libjava/locale_str.h ! src/java.base/windows/native/libjava/HostLocaleProviderAdapter_md.c Changeset: a091e2f2 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-09 09:10:06 +0000 URL: https://git.openjdk.org/leyden/commit/a091e2f2810da17ff61a63fd0f1f6538f1bdbb70 8351029: IncludeCustomExtension does not work on cygwin with source code below /home Reviewed-by: erikj ! make/PreInit.gmk ! make/PreInitSupport.gmk ! make/common/MakeFileStart.gmk ! make/common/MakeIncludeStart.gmk Changeset: 568dcc15 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-09 10:05:23 +0000 URL: https://git.openjdk.org/leyden/commit/568dcc15cb1a2c02d6ac4421902d841d256ca1c2 8334391: JDK build should exclude *-files directories for Java source Reviewed-by: erikj ! make/CompileInterimLangtools.gmk ! make/CompileJavaModules.gmk ! make/common/JavaCompilation.gmk ! make/common/native/Paths.gmk ! make/modules/java.base/Java.gmk ! make/modules/java.compiler/Java.gmk ! make/modules/java.desktop/Java.gmk ! make/modules/jdk.jdi/Java.gmk Changeset: 411a63ea Branch: premain Author: Serguei Spitsyn Date: 2025-05-09 12:24:28 +0000 URL: https://git.openjdk.org/leyden/commit/411a63ea1b0c6e8bfea219427bf1c317c5dadabf 8356251: Need minor cleanup for interp_only_mode Reviewed-by: lmesnik, cjplummer ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/jvmtiThreadState.hpp ! src/hotspot/share/prims/jvmtiThreadState.inline.hpp ! src/hotspot/share/runtime/javaThread.hpp Changeset: 9ebb5d42 Branch: premain Author: Patricio Chilano Mateo Date: 2025-05-09 15:05:09 +0000 URL: https://git.openjdk.org/leyden/commit/9ebb5d42d43a743cf3a5197c7dabe46ac8120474 8346255: java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java finds no deadlock Reviewed-by: kevinw, dholmes, alanb ! test/jdk/java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java Changeset: 0e0bd642 Branch: premain Author: Liam Miller-Cushon Date: 2025-05-09 15:45:25 +0000 URL: https://git.openjdk.org/leyden/commit/0e0bd642aba3ac859043fc9505343d06d780f13a 8356441: IllegalStateException in RichDiagnosticFormatter after JDK-8355065 Reviewed-by: liach, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java + test/langtools/tools/javac/annotations/typeAnnotations/RichFormatterWithTypeAnnotationsReentrantTest.java Changeset: 5f00c877 Branch: premain Author: Naoto Sato Date: 2025-05-09 16:16:56 +0000 URL: https://git.openjdk.org/leyden/commit/5f00c877e26f1716da231771b611234db5607fa7 8356450: NPE in CLDRTimeZoneNameProviderImpl for tzdata downgrades after JDK-8342550 Reviewed-by: bpb, jlu, joehw ! src/java.base/share/classes/sun/util/cldr/CLDRTimeZoneNameProviderImpl.java Changeset: dd25799c Branch: premain Author: Calvin Cheung Date: 2025-05-09 16:17:14 +0000 URL: https://git.openjdk.org/leyden/commit/dd25799c21529bf8dac49a63ddbcab530af0215b 8356212: runtime/cds/appcds/LotsOfSyntheticClasses.java timed out with -XX:+AOTClassLinking Reviewed-by: iklam, shade, syan ! test/hotspot/jtreg/runtime/cds/appcds/LotsOfSyntheticClasses.java Changeset: bed29a03 Branch: premain Author: Joe Darcy Date: 2025-05-09 16:35:51 +0000 URL: https://git.openjdk.org/leyden/commit/bed29a03d198a9717f7d258ee21330462775136e 8356555: Incorrect use of {@link} in BigDecimal Reviewed-by: bpb, nbenalla, liach, iris ! src/java.base/share/classes/java/math/BigDecimal.java Changeset: 2661f62c Branch: premain Author: Shaojin Wen Date: 2025-05-09 16:42:49 +0000 URL: https://git.openjdk.org/leyden/commit/2661f62ca23f5589538d4ad50078d1f715ade342 8356036: (fs) FileKey.hashCode and UnixFileStore.hashCode implementations can use Long.hashCode Reviewed-by: liach, bpb ! src/java.base/unix/classes/sun/nio/ch/FileKey.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileKey.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileStore.java Changeset: 601f05e0 Branch: premain Author: Alexander Matveev Date: 2025-05-09 16:47:06 +0000 URL: https://git.openjdk.org/leyden/commit/601f05e06d3c364ab5b151785d4ac49183cf61b5 8352480: Don't follow symlinks in additional content for app images Reviewed-by: asemenyuk ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractAppImageBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacHelper.java ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: 1c5eb370 Branch: premain Author: Fabio Romano Committer: Raffaello Giulietti Date: 2025-05-09 17:06:33 +0000 URL: https://git.openjdk.org/leyden/commit/1c5eb370b7dbe7558b535bf27c9df292c2007b9b 8355719: Reduce memory consumption of BigInteger.pow() Reviewed-by: rgiulietti ! src/java.base/share/classes/java/math/BigInteger.java + test/micro/org/openjdk/bench/java/math/BigIntegerPow.java Changeset: 66f04427 Branch: premain Author: Joe Wang Date: 2025-05-09 17:12:53 +0000 URL: https://git.openjdk.org/leyden/commit/66f044271324643ee17df13ad3ef254bc4dbd798 8353232: Standardizing and Unifying XML Component Configurations Reviewed-by: lancea ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/TransformerFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/DOMConfigurationImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/PropertyManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/XMLSchemaLoader.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/SAXParserFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/StreamValidatorHelper.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaFactory.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/AbstractSAXParser.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/DOMParser.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/DTDConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/NonValidatingConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/SAXParser.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/SecurityConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/XMLParser.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathExpressionImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/XPathImpl.java ! src/java.xml/share/classes/javax/xml/validation/SchemaFactory.java ! src/java.xml/share/classes/jdk/xml/internal/FeaturePropertyBase.java - src/java.xml/share/classes/jdk/xml/internal/JdkCatalog.java + src/java.xml/share/classes/jdk/xml/internal/JdkXmlConfig.java ! src/java.xml/share/classes/jdk/xml/internal/JdkXmlFeatures.java ! src/java.xml/share/classes/jdk/xml/internal/SecuritySupport.java ! src/java.xml/share/classes/jdk/xml/internal/XMLSecurityManager.java ! src/java.xml/share/classes/jdk/xml/internal/XMLSecurityPropertyManager.java Changeset: 375f3dc9 Branch: premain Author: Sergey Bylokhov Date: 2025-05-09 17:50:51 +0000 URL: https://git.openjdk.org/leyden/commit/375f3dc9ed0f1704e726d0d704420c38a0a5513c 8356053: Test java/awt/Toolkit/Headless/HeadlessToolkit.java fails by timeout Reviewed-by: prr, kizune ! test/jdk/java/awt/Toolkit/Headless/HeadlessToolkit.java Changeset: 30cb94d6 Branch: premain Author: Phil Race Date: 2025-05-09 18:10:18 +0000 URL: https://git.openjdk.org/leyden/commit/30cb94d6b04a2be764a11b38f8bacabc7aaf9388 8346683: Problem list automated tests that fail on macOS15 Reviewed-by: dmarkov ! test/jdk/ProblemList.txt Changeset: 3b20bed6 Branch: premain Author: Calvin Cheung Date: 2025-05-09 18:22:45 +0000 URL: https://git.openjdk.org/leyden/commit/3b20bed6e2599fbddb16b75c06ee55637dd6836f 8356229: cmp-baseline build fail due to lib/modules difference Reviewed-by: iklam, erikj, liach ! make/GenerateLinkOptData.gmk Changeset: 68a11850 Branch: premain Author: Koushik Thirupattur Committer: Sean Mullan Date: 2025-05-09 19:20:17 +0000 URL: https://git.openjdk.org/leyden/commit/68a118509a562334eb8c099129d79520041b10cf 8310003: Improve logging when default truststore is inaccessible Reviewed-by: mullan ! src/java.base/share/classes/sun/security/ssl/TrustStoreManager.java Changeset: 8fadf295 Branch: premain Author: Roger Riggs Date: 2025-05-09 21:48:16 +0000 URL: https://git.openjdk.org/leyden/commit/8fadf295b0ba720a5bc728c6b4d159e60447de97 8351443: Improve robustness of StringBuilder Reviewed-by: liach, rgiulietti, bchristi, jpai ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java ! src/java.base/share/classes/java/lang/StringLatin1.java ! src/java.base/share/classes/java/lang/StringUTF16.java ! test/hotspot/jtreg/compiler/patches/java.base/java/lang/Helper.java ! test/jdk/java/lang/StringBuilder/CompactStringBuilder.java ! test/jdk/java/lang/StringBuilder/HugeCapacity.java + test/jdk/java/lang/StringBuilder/StressSBTest.java ! test/jdk/java/lang/StringBuilder/StringBuilderRepeat.java Changeset: 0f2a6c26 Branch: premain Author: Chen Liang Date: 2025-05-09 21:58:24 +0000 URL: https://git.openjdk.org/leyden/commit/0f2a6c266b2e3aab59a5cd183e10dfc4820ca92d 8356577: Migrate ClassFileVersionTest to be feature-agnostic Reviewed-by: dholmes, alanb ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java Changeset: 3b336a9d Branch: premain Author: Jatin Bhateja Date: 2025-05-09 23:33:32 +0000 URL: https://git.openjdk.org/leyden/commit/3b336a9da091c4df4373d2b845b60d2a7a4e3b1d 8352675: Support Intel AVX10 converged vector ISA feature detection Reviewed-by: sviswanathan, vlivanov, yzheng ! src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp ! src/hotspot/cpu/x86/vmStructs_x86.hpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/cpu/x86/vm_version_x86.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/runtime/abstract_vm_version.cpp ! src/hotspot/share/runtime/abstract_vm_version.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/amd64/AMD64.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotVMConfig.java ! test/hotspot/jtreg/serviceability/sa/ClhsdbLongConstant.java ! test/lib-test/jdk/test/whitebox/CPUInfoTest.java Changeset: fa7c5a65 Branch: premain Author: Alexander Matveev Date: 2025-05-10 02:59:05 +0000 URL: https://git.openjdk.org/leyden/commit/fa7c5a65ba62da9b6598d484db923119ace0cf90 8356664: [macos] AppContentTest fails after JDK-8352480 Reviewed-by: asemenyuk ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: 43696030 Branch: premain Author: Ioi Lam Date: 2025-05-10 15:16:19 +0000 URL: https://git.openjdk.org/leyden/commit/436960308cebe020549fcdbb4bcb12c90ce7aeb8 8356597: AOT cache and CDS archive should not be created in read-only mode Reviewed-by: shade, kvn ! src/hotspot/share/cds/filemap.cpp Changeset: 97d2a379 Branch: premain Author: Sergey Bylokhov Date: 2025-05-11 07:39:15 +0000 URL: https://git.openjdk.org/leyden/commit/97d2a37927fca993537644e748c8abca58752d44 8355790: Enhance code consistency: java.desktop/unix:sun.awt Reviewed-by: achung, prr ! src/java.desktop/unix/classes/sun/awt/FcFontManager.java ! src/java.desktop/unix/classes/sun/awt/PlatformGraphicsInfo.java ! src/java.desktop/unix/classes/sun/awt/UNIXToolkit.java ! src/java.desktop/unix/classes/sun/awt/X11/GtkFileDialogPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/InfoWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifColorUtilities.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifDnDConstants.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifDnDDragSourceProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/MotifDnDDropTargetProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/Native.java ! src/java.desktop/unix/classes/sun/awt/X11/UnsafeXDisposerRecord.java ! src/java.desktop/unix/classes/sun/awt/X11/WindowDimensions.java ! src/java.desktop/unix/classes/sun/awt/X11/WindowPropertyGetter.java ! src/java.desktop/unix/classes/sun/awt/X11/XAWTLookAndFeel.java ! src/java.desktop/unix/classes/sun/awt/X11/XAWTXSettings.java ! src/java.desktop/unix/classes/sun/awt/X11/XAtom.java ! src/java.desktop/unix/classes/sun/awt/X11/XAtomList.java ! src/java.desktop/unix/classes/sun/awt/X11/XAwtState.java ! src/java.desktop/unix/classes/sun/awt/X11/XBaseMenuWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XBaseWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XButtonPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XCanvasPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XCheckboxPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XChoicePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XClipboard.java ! src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XContentWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XCreateWindowParams.java ! src/java.desktop/unix/classes/sun/awt/X11/XCustomCursor.java ! src/java.desktop/unix/classes/sun/awt/X11/XDataTransferer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDecoratedPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDesktopPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDialogPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDnDConstants.java ! src/java.desktop/unix/classes/sun/awt/X11/XDnDDragSourceProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XDnDDropTargetProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XDragSourceContextPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XDragSourceProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XDropTargetContextPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedCanvasPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedChildProxy.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedChildProxyPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedClientHelper.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbedServerTester.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbeddedFrame.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbeddedFramePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XEmbeddingContainer.java ! src/java.desktop/unix/classes/sun/awt/X11/XErrorHandler.java ! src/java.desktop/unix/classes/sun/awt/X11/XException.java ! src/java.desktop/unix/classes/sun/awt/X11/XFileDialogPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XFocusProxyWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XFontPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XFramePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XGlobalCursorManager.java ! src/java.desktop/unix/classes/sun/awt/X11/XHorizontalScrollbar.java ! src/java.desktop/unix/classes/sun/awt/X11/XIconWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XInputMethod.java ! src/java.desktop/unix/classes/sun/awt/X11/XInputMethodDescriptor.java ! src/java.desktop/unix/classes/sun/awt/X11/XKeyboardFocusManagerPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XKeysym.java ! src/java.desktop/unix/classes/sun/awt/X11/XLabelPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XLightweightFramePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XListPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMSelection.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuBarPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuItemPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMenuWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XMouseDragGestureRecognizer.java ! src/java.desktop/unix/classes/sun/awt/X11/XMouseInfoPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XNETProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XPanelPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XPopupMenuPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XPropertyCache.java ! src/java.desktop/unix/classes/sun/awt/X11/XQueryTree.java ! src/java.desktop/unix/classes/sun/awt/X11/XRepaintArea.java ! src/java.desktop/unix/classes/sun/awt/X11/XRootWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XScrollPanePeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XScrollbar.java ! src/java.desktop/unix/classes/sun/awt/X11/XScrollbarPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XSelection.java ! src/java.desktop/unix/classes/sun/awt/X11/XSystemTrayPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XTextAreaPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XToolkitThreadBlockedHandler.java ! src/java.desktop/unix/classes/sun/awt/X11/XTranslateCoordinates.java ! src/java.desktop/unix/classes/sun/awt/X11/XTrayIconPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XVerticalScrollbar.java ! src/java.desktop/unix/classes/sun/awt/X11/XWINProtocol.java ! src/java.desktop/unix/classes/sun/awt/X11/XWM.java ! src/java.desktop/unix/classes/sun/awt/X11/XWindow.java ! src/java.desktop/unix/classes/sun/awt/X11/XWindowAttributesData.java ! src/java.desktop/unix/classes/sun/awt/X11/XWindowPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XWrapperBase.java ! src/java.desktop/unix/classes/sun/awt/X11/XlibUtil.java ! src/java.desktop/unix/classes/sun/awt/X11CustomCursor.java ! src/java.desktop/unix/classes/sun/awt/X11FontManager.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsConfig.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsDevice.java ! src/java.desktop/unix/classes/sun/awt/X11GraphicsEnvironment.java ! src/java.desktop/unix/classes/sun/awt/X11InputMethod.java ! src/java.desktop/unix/classes/sun/awt/X11InputMethodBase.java ! src/java.desktop/unix/classes/sun/awt/X11InputMethodDescriptor.java ! src/java.desktop/unix/classes/sun/awt/XSettings.java ! src/java.desktop/unix/classes/sun/awt/screencast/ScreencastHelper.java ! src/java.desktop/unix/classes/sun/awt/screencast/TokenStorage.java Changeset: 74f047b8 Branch: premain Author: Erik Gahlin Date: 2025-05-11 22:40:29 +0000 URL: https://git.openjdk.org/leyden/commit/74f047b84d949891fb72e2f1c9eca7b0b4bd22c4 8356224: JFR: Default value of @Registered is ignored Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/ClassInspector.java + test/jdk/jdk/jfr/api/metadata/annotations/TestOverrideWithDefaultValue.java Changeset: d7cb933b Branch: premain Author: Anjian-Wen Committer: Fei Yang Date: 2025-05-12 03:01:46 +0000 URL: https://git.openjdk.org/leyden/commit/d7cb933b89839b692f5562aeeb92076cd25a99f6 8356593: RISC-V: Small improvement to array fill stub Reviewed-by: fyang ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp Changeset: de801fea Branch: premain Author: Hannes Greule Committer: Emanuel Peter Date: 2025-05-12 06:43:52 +0000 URL: https://git.openjdk.org/leyden/commit/de801fea76b1328f3bda503088618162388eb119 8353551: C2: Constant folding for ReverseBytes nodes Reviewed-by: epeter, vlivanov ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/subnode.hpp + test/hotspot/jtreg/compiler/c2/gvn/ReverseBytesConstantsTests.java Changeset: 45cf32bd Branch: premain Author: Per Minborg Date: 2025-05-12 06:59:41 +0000 URL: https://git.openjdk.org/leyden/commit/45cf32bd2c9e44e2fcbb4b8d0714b87e078cdb7c 8347408: Create an internal method handle adapter for system calls with errno Reviewed-by: mcimadamore + src/java.base/share/classes/jdk/internal/foreign/CaptureStateUtil.java ! test/jdk/java/foreign/TestBufferStack.java + test/jdk/java/foreign/TestCaptureStateUtil.java + test/micro/org/openjdk/bench/java/lang/foreign/CaptureStateUtilBench.java Changeset: 43008b42 Branch: premain Author: Per Minborg Date: 2025-05-12 07:12:19 +0000 URL: https://git.openjdk.org/leyden/commit/43008b42cf98466b4c4528d357bfcc2ae309770a 8356486: ReverseOrderListView should override reversed() to return `base` Reviewed-by: liach, smarks ! src/java.base/share/classes/java/util/ReverseOrderListView.java Changeset: a3afc9f7 Branch: premain Author: Ivan Walulya Date: 2025-05-12 08:15:53 +0000 URL: https://git.openjdk.org/leyden/commit/a3afc9f7ceba24ab607141426bb0a2693e6d37ca 8308854: G1 archive region allocation may expand/shrink the heap above/below -Xms Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp Changeset: 39a28ffe Branch: premain Author: Fredrik Bredberg Date: 2025-05-12 08:16:15 +0000 URL: https://git.openjdk.org/leyden/commit/39a28ffe4e23274dba34317d8960bfb7e6d203ed 8355646: Optimize ObjectMonitor::exit Reviewed-by: pchilanomate, coleenp ! src/hotspot/share/runtime/objectMonitor.cpp Changeset: 0258d999 Branch: premain Author: Saranya Natarajan Committer: Roberto Casta?eda Lozano Date: 2025-05-12 08:50:01 +0000 URL: https://git.openjdk.org/leyden/commit/0258d9998ebc523a6463818be00353c6ac8b7c9c 8347515: C2: assert(!success || (C->macro_count() == (old_macro_count - 1))) failed: elimination must have deleted one node from macro list Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp + test/hotspot/jtreg/compiler/macronodes/TestLoopStripMiningInMacroElimination.java Changeset: 2b325416 Branch: premain Author: Daniel Lund?n Date: 2025-05-12 09:02:25 +0000 URL: https://git.openjdk.org/leyden/commit/2b3254160933e8b11527f801507a9c01b90d22b0 8354767: Test crashed: assert(increase < max_live_nodes_increase_per_iteration) failed: excessive live node increase in single iteration of IGVN: 4470 (should be at most 4000) Reviewed-by: chagedorn, dfenacci, rcastanedalo, epeter ! src/hotspot/share/opto/phaseX.cpp Changeset: ab8c808e Branch: premain Author: Abhishek Kumar Date: 2025-05-12 09:15:13 +0000 URL: https://git.openjdk.org/leyden/commit/ab8c808ed8ebec4f70141ee31fbaf312fccf7fa4 8356752: Log mouse enter and exit events for debugging Reviewed-by: jdv, tr ! test/jdk/java/awt/List/ListEnterExitTest.java Changeset: 8545e135 Branch: premain Author: Hamlin Li Date: 2025-05-12 12:25:13 +0000 URL: https://git.openjdk.org/leyden/commit/8545e1357142db2e008970095a3f74f8121dbcf2 8356642: RISC-V: enable hotspot/jtreg/compiler/vectorapi/VectorFusedMultiplyAddSubTest.java Reviewed-by: fyang, fjiang, mhaessig ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java ! test/hotspot/jtreg/compiler/vectorapi/VectorFusedMultiplyAddSubTest.java Changeset: 7ae52ce5 Branch: premain Author: Johan Sj?len Date: 2025-05-12 12:34:28 +0000 URL: https://git.openjdk.org/leyden/commit/7ae52ce572794f9d17446c66381f703ea1bb8b7c 8356390: Rename ResolvedIndyEntry::set_flags to set_has_appendix Co-authored-by: John R Rose Reviewed-by: coleenp, dholmes ! src/hotspot/share/oops/resolvedIndyEntry.hpp Changeset: f5525ecf Branch: premain Author: Archie Cobbs Date: 2025-05-12 14:42:27 +0000 URL: https://git.openjdk.org/leyden/commit/f5525ecf585b3876ae332d30b0e641ff0c844e58 8348410: Preview flag not checked during compilation resulting in runtime crash Co-authored-by: Aggelos Biboudis Reviewed-by: jlahoda, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/patterns/PrimitivePatternsSwitchRequirePreview.java Changeset: 8128f638 Branch: premain Author: Joel Sikstr?m Date: 2025-05-12 15:49:38 +0000 URL: https://git.openjdk.org/leyden/commit/8128f638fac39f6874c13364cbf742493745d845 8355692: Refactor stream indentation Reviewed-by: stefank, cnorrbin ! src/hotspot/os/bsd/memMapPrinter_macosx.cpp ! src/hotspot/os/linux/memMapPrinter_linux.cpp ! src/hotspot/os/windows/memMapPrinter_windows.cpp ! src/hotspot/share/classfile/defaultMethods.cpp ! src/hotspot/share/classfile/stackMapFrame.cpp ! src/hotspot/share/classfile/stackMapTable.cpp ! src/hotspot/share/classfile/verifier.cpp ! src/hotspot/share/compiler/compilationMemoryStatistic.cpp ! src/hotspot/share/gc/epsilon/epsilonHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/parallel/mutableNUMASpace.cpp ! src/hotspot/share/gc/parallel/parMarkBitMap.hpp ! src/hotspot/share/gc/parallel/psOldGen.cpp ! src/hotspot/share/gc/parallel/psYoungGen.cpp ! src/hotspot/share/gc/serial/defNewGeneration.cpp ! src/hotspot/share/gc/serial/tenuredGeneration.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/z/zHeap.cpp ! src/hotspot/share/gc/z/zMappedCache.cpp ! src/hotspot/share/gc/z/zPageAllocator.cpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/metaspace/metaspaceStatistics.cpp ! src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp ! src/hotspot/share/memory/metaspace/printMetaspaceInfoKlassClosure.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/virtualspace.cpp ! src/hotspot/share/nmt/memMapPrinter.cpp ! src/hotspot/share/nmt/memReporter.cpp ! src/hotspot/share/nmt/memReporter.hpp ! src/hotspot/share/nmt/memoryFileTracker.cpp ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/ostream.hpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/gtest/utilities/test_ostream.cpp Changeset: e4638954 Branch: premain Author: Mikael Vidstedt Date: 2025-05-12 16:31:12 +0000 URL: https://git.openjdk.org/leyden/commit/e4638954284a5e0592c27421ca53df0002bd0845 8356657: Use stable source-date for cmp-baseline jib profiles Reviewed-by: liach, iris, alanb, jpai, erikj ! make/conf/jib-profiles.js Changeset: 50dced88 Branch: premain Author: Mikael Vidstedt Date: 2025-05-12 16:31:24 +0000 URL: https://git.openjdk.org/leyden/commit/50dced88ff1aed23bb4c8fe9e4a08e6cc200b897 8356656: Drop unused DEVKIT_HOME from jib-profiles.js Reviewed-by: erikj ! make/conf/jib-profiles.js Changeset: 8d7866ef Branch: premain Author: Brian Burkhalter Date: 2025-05-12 16:48:13 +0000 URL: https://git.openjdk.org/leyden/commit/8d7866ef5fbf98eae6f30c4a6199a0e709f445a5 8356606: (fs) PosixFileAttributes.permissions() implementations should return an EnumSet Reviewed-by: liach, alanb ! src/java.base/unix/classes/sun/nio/fs/UnixFileAttributes.java Changeset: 45dfc2c6 Branch: premain Author: Daniel Fuchs Date: 2025-05-12 16:49:42 +0000 URL: https://git.openjdk.org/leyden/commit/45dfc2c6d6d6b2b0749347b0150bb22d49f12767 8353642: Deprecate URL::getPermission method and networking permission classes for removal Reviewed-by: djelinski, iris, mullan, michaelm ! src/java.base/share/classes/java/net/HttpURLConnection.java ! src/java.base/share/classes/java/net/NetPermission.java ! src/java.base/share/classes/java/net/URLConnection.java ! src/java.base/share/classes/java/net/URLPermission.java ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/ftp/FtpURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/https/HttpsURLConnectionImpl.java ! src/java.base/share/classes/sun/net/www/protocol/jar/JarURLConnection.java ! src/java.base/share/classes/sun/nio/ch/UnixDomainSockets.java ! src/java.base/windows/classes/sun/net/www/protocol/file/UNCFileURLConnection.java ! src/jdk.net/share/classes/jdk/net/NetworkPermission.java Changeset: 0f5c6081 Branch: premain Author: Roger Riggs Date: 2025-05-12 20:01:43 +0000 URL: https://git.openjdk.org/leyden/commit/0f5c608143413bc0d40fca31e097c7b40c7a6618 8356695: java/lang/StringBuilder/HugeCapacity.java failing with OOME Reviewed-by: liach, lancea, rgiulietti ! test/jdk/java/lang/StringBuilder/HugeCapacity.java Changeset: ab4d18e2 Branch: premain Author: Ioi Lam Date: 2025-05-27 22:52:14 +0000 URL: https://git.openjdk.org/leyden/commit/ab4d18e2d15ff5b22e27c70ea08e6a47bea4482b Merge branch 'master' into premain ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/ostream.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/memory/metaspace.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/ostream.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java From jianglizhou at google.com Wed May 28 17:27:18 2025 From: jianglizhou at google.com (Jiangli Zhou) Date: Wed, 28 May 2025 10:27:18 -0700 Subject: Questions about the Hermetic Java project In-Reply-To: References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> Message-ID: On Mon, Apr 15, 2024 at 6:01?PM Jiangli Zhou wrote: > > Magnus, thanks for the response. Please see comments inlined below. > > On Fri, Apr 12, 2024 at 4:52?AM Magnus Ihse Bursie > wrote: > > > > On 2024-04-02 21:16, Jiangli Zhou wrote: > > > > Hi Magnus, > > > > In today's zoom meeting with Alan, Ron, Liam and Chuck, we (briefly) discussed how to move forward contributing the static Java related changes (additional runtime fixes/enhancements on top of the existing static support in JDK) from https://github.com/openjdk/leyden/tree/hermetic-java-runtime to JDK mainline. > > > > Just a bit more details/context below, which may be useful for others reading this thread. > > > > The https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch currently contains following for supporting hermetic Java (without the launcher work for runtime support): > > > > 1. Build change for linking the Java launcher (as bin/javastatic) with JDK/hotspot static libraries (.a), mainly in https://github.com/openjdk/leyden/blob/hermetic-java-runtime/make/StaticLink.gmk. The part for creating the complete sets of static libraries (including libjvm.a) has already been included in the mainline since last year. https://github.com/openjdk/leyden/blob/hermetic-java-runtime/make/StaticLink.gmk is in a very raw state and is intended to demonstrate the capability of building a static Java launcher. > > > > Indeed. It is nowhere near being able to be integrated. > > > > The main purpose of StaticLink.gmk is to support the static-java-image > make target, which can be used to perform the actual static linking > step using libjvm.a and JDK static libraries. That currently doesn't > exist in the JDK mainline. Creating a "fully" statically linked Java > launcher is the first step (out of many) towards supporting > static/hermetic Java. > > As part of cleaning/refactoring/integrating for the static linking > step, we want to agree and decide/accept on the following: > > - Support the "fully" statically linked java launcher for testing and > demoing the capability of static JDK support, e.g. > - Support running jtreg testing using the "fully" statically linked > Java launcher > - Set up tests in github workflow to help detect any breaking > changes for static support, e.g. new symbol issues introduced by any > changes. There were some earlier discussions on this with Ron and Alan > during the zoom meetings. > - Which JDK native libraries to be statically linked with the new > launcher target? E.g. StaticLink.gmk currently excludes libjsound.a, > libawt_xawt.a, etc from statically linked with the launcher. > - Do we want more than one statically linked launcher target, based on > the set of linked native libraries? > > Based on the decisions of the above, the launcher static linking part > would mostly be in a different shape when it's integrated into the > mainline. That's why I referred to StaticLink.gmk as in a "very raw" > state. > > Here is a high-level view of the state of things for static support: > > (I) What we already have in the JDK mainline: > - Able to build a complete set of JDK/VM static libraries using > `static-libs-image` make target (necessary for supporting static JDK) > - Compilation for .o files are done separately for the static > libraries and dynamic library (ok for now) > > (II) What missing: > - Static linking step as mentioned above > > (III) What needs to be improved (require cleanups and refactoring, and > you mentioned some of those in your response as well): > - Support building both the static libraries and dynamic libraries > using the same set of .o files, instead of separately compiled .o > files. That helps improve build speed and reduce memory overhead for > building JDK. Your current refactoring work aims to help that. > - Clean up the usages of STATIC_BUILD macro. Most of the usages are in > test code. > - Other runtime fixes/enhancements in the leyden > https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch > > I think most work mentioned in III has dependencies on II. We need a > workable base to be able to build the "fully" statically linked > launcher for building and testing the work mentioned in III, when > integrating any of those to the JDK mainline. The makefile refactoring > work can be done in parallel but does not need to be completed before > we add the static linking step in JDK mainline. > > > > > 2. Additional runtime fixes/enhancements on top of the existing static support in JDK, e.g. support further lookup dynamic native library if the built-in native library cannot be found. > > > > 3. Some initial (prototype) work on supporting hermetic JDK resource files in the jimage (JDK modules image). > > > > To move forward, one of the earliest items needed is to add the capability of building the fully statically linked Java launcher in JDK mainline. The other static Java runtime changes can be followed up after the launcher linking part, so they can be built and tested as individual PRs created for the JDK mainline. Magnus, you have expressed interest in helping get the launcher linking part (refactor from https://github.com/openjdk/leyden/blob/hermetic-java-runtime/make/StaticLink.gmk) into JDK mainline. What's your thought on prioritizing the launcher static linking part before other makefile clean ups for static libraries? > > > > Trust me, my absolute top priority now is working on getting the proper build support needed for Hermetic Java. I can't prioritize it any higher. > > Thanks! > > > > > I am not sure what you are asking for. We can't just merge StaticLink.gmk from your prototype. And even if we did, what good will it do you? > > Please see my comments above. > > > > > The problem you are running into is that the build system has not been designed to properly support static linking. There are already 3-4 hacks in place to get something sort-of useful out, but they are prone to breaking. I assume that we agree that for Hermetic Java to become a success, we need to have a stable foundation for static builds. > > > > The core problem of all static linking hacks is that they are not integrated in the right place. They need to be a core part of what NativeCompilation delivers, not something done in a separate file. To put it in other words, StaticLink.gmk from your branch do not need cleanup -- it needs to go away, and the functionality moved to the proper place. > > > > My approach is that NativeCompilation should support doing either only dynamic linking (as today), or static linking (as today with STATIC_LIBS or STATIC_BUILD), or both. The assumption is that the latter will be default, or at least should be tested by default in GHA. For this to work, we need to compile the source code to .o files only once, and then link these .o files either into a dynamic or a static library (or both). > > As of today, the leyden > https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch > can build a "fully" statically linked Java launcher. The issue of > compiling the dynamic and static libraries .o files separately is not > a blocker. It's good to have it resolved at some point of time. > > > > > This, in turn, require several changes: > > > > 1) The linking code needs to be cleaned up, and all technical debt needs to be resolved. This is what I have been doing since I started working on static builds for Hermetic Java. JDK-8329704 (which was integrated yesterday) was the first major milestone of this cleanup. Now, the path were to find a library created by the JDK (static or dynamic) is encapsulated in ResolveLibPath. This is currently a monster, but at least all knowledge is collected in a single location, instead of spread over the code base. Getting this simplified is the next step. > > > > 2) We need to stop passing the STATIC_BUILD define when compiling. This is partially addressed in your PR, where you have replaced #ifdef STATIC_BUILD with a dynamic lookup. But there is also the problem of JNI/JVMTI entry points. I have been pondering how we can compile the code in a way so we support both dynamic and static name resolution, and I think I have a solution. > > > > This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. > > Thumbs up! That seems to be a good direction. Currently in the leyden > branch, it first looks up the unique > JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in > libraries, then search for the dynamic libraries using the > conventional naming when necessary. e.g.: > > https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a > https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 > > When spec supports JNI_OnLoad_ and etc. for dynamic > libraries, we may still need to support the conventional naming > without the <_lib_name> part for existing libraries out there. Resuming the conversation on using JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L for dynamically linked JNI & agent libraries. It is related to JDK-8350450 [1]: Compile object files once for both static and dynamic builds. We have recently enabled building & tier1 testing for static-jdk with release binary in GHA on linux-x64. The debug build however cannot be enabled in GHA due to space/resource limit (please see more details in JDK-8350450). So it's a good time to pick up JDK-8350450 related work. Based on discussions with Magnus in JDK-8350450 bug comments and separate emails from last year, I'll extract the runtime changes from the leyden/hermetic-java-runtime branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically linked JNI/agent libraries. The work has been broadly tested in our internal prototype on JDK 11 and newer versions (linux-x64). Regarding the spec part, Ron, Alan, Magnus and myself had several discussions last year during hermetic Java meetings. The general understanding was that using JNI_OnLoad_L (and etc) for dynamically linked JDK native libraries requires no JNI/JVMTI spec change. I wonder if the following languages should be relaxed a bit to address potential questions. Any thoughts? >From JNI spec [3]: - JNI_OnLoad/JNI_OnUnload Optional function defined by dynamically linked libraries. LINKAGE: Exported from dynamically linked native libraries that contain native method implementations. - JNI_OnLoad_L Mandatory function that must be defined by statically linked libraries . LINKAGE: Exported from statically linked native libraries that contain native method implementations. - JNI_OnUnload_L Optional function defined by statically linked libraries. >From JVMTI spec [4]: An agent L whose image has been combined with the VM is defined as statically linked if and only if the agent exports a function called Agent_OnLoad_L. [1]: https://bugs.openjdk.org/browse/JDK-8350450 [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html Best, Jiangli > > > > > And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. > > > > A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. > > Thank you for taking this on! Potentially we could consider taking the > objcopy to localizing hotspot symbols on unix-like platforms, based on > https://github.com/openjdk/jdk/pull/17456 discussions. Additional > testing is still needed to verify the solution. > > > > > My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. > > Most of the JDK resources are now supported as hermetic jimage > (lib/modules) bundled in the > https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. > The remaining sound.properties, ct.sym and .jfc files can be handled > later. Overally, that part of the work has confirmed the hermetic > jimage bundled solution is robust and helps resolve some of the > difficult start-up sequence issues observed when the hermetic resource > was implemented using JAR file based solution. > > It might be a good idea to follow up on the static linking discussion > in tomorrow's zoom meeting (hope you'll be able to join tomorrow). > > Thanks! > > Jiangli > > > > /Magnus > > > > > > > > Thanks! > > Jiangli > > > > On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: > >> > >> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: > >> > > >> > Hi Magnus, > >> > > >> > Thanks for looking into this from the build perspective. > >> > > >> > On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie > >> > wrote: > >> > > > >> > > First some background for build-dev: I have spent some time looking at > >> > > the build implications of the Hermetic Java effort, which is part of > >> > > Project Leyden. A high-level overview is available here: > >> > > https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source > >> > > code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. > >> > > >> > Some additional hermetic Java related references that are also useful: > >> > > >> > - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that > >> > links to the issues for resolving static linking issues so far > >> > - https://github.com/openjdk/jdk21/pull/26 is the enhancement for > >> > building the complete set of static libraries in JDK/VM, particularly > >> > including libjvm.a > >> > > >> > > > >> > > Hermetic Java faces several challenges, but the part that is relevant > >> > > for the build system is the ability to create static libraries. We've > >> > > had this functionality (in three different ways...) for some time, but > >> > > it is rather badly implemented. > >> > > > >> > > As a result of my investigations, I have a bunch of questions. :-) I > >> > > have gotten some answers in private discussion, but for the sake of > >> > > transparency I will repeat them here, to foster an open dialogue. > >> > > > >> > > 1. Am I correct in understanding that the ultimate goal of this exercise > >> > > is to be able to have jmods which include static libraries (*.a) of the > >> > > native code which the module uses, and that the user can then run a > >> > > special jlink command to have this linked into a single executable > >> > > binary (which also bundles the *.class files and any additional > >> > > resources needed)? > >> > > > >> > > 2. If so, is the idea to create special kinds of static jmods, like > >> > > java.base-static.jmod, that contains *.a files instead of lib*.so files? > >> > > Or is the idea that the normal jmod should contain both? > >> > > > >> > > 3. Linking .o and .a files into an executable is a formidable task. Is > >> > > the intention to have jlink call a system-provided ld, or to bundle ld > >> > > with jlink, or to reimplement this functionality in Java? > >> > > >> > I have a similar view as Alan responded in your other email thread. > >> > Things are still in the early stage for the general solution. > >> > > >> > In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime > >> > branch, when configuring JDK with --with-static-java=yes, the JDK > >> > binary contains the following extra artifacts: > >> > > >> > - static-libs/*.a: The complete set of JDK/VM static libraries > >> > - jdk/bin/javastatic: A demo Java launcher fully statically linked > >> > with the selected JDK .a libraries (e.g. it currently statically link > >> > with the headless) and libjvm.a. It's the standard Java launcher > >> > without additional work for hermetic Java. > >> > > >> > In our prototype for hermetic Java, we build the hermetic executable > >> > image (a single image) from the following input (see description on > >> > singlejar packaging tool in > >> > https://cr.openjdk.org/~jiangli/hermetic_java.pdf): > >> > > >> > - A customized launcher (with additional work for hermetic) executable > >> > fully statically linked with JDK/VM static libraries (.a files), > >> > application natives and dependencies (e.g. in .a static libraries) > >> > - JDK lib/modules, JDK resource files > >> > - Application classes and resource files > >> > > >> > Including a JDK library .a into the corresponding .jmod would require > >> > extracting the .a for linking with the executable. In some systems > >> > that may cause memory overhead due to the extracted copy of the .a > >> > files. I think we should consider the memory overhead issue. > >> > > >> > One possibility (as Alan described in his response) is for jlink to > >> > invoke the ld on the build system. jlink could pass the needed JDK > >> > static libraries and libjvm.a (provided as part of the JDK binary) to > >> > ld based on the modules required for the application. > >> > > >> > >> I gave a bit more thoughts on this one. For jlink to trigger ld, it > >> would need to know the complete linker options and inputs. Those > >> include options and inputs related to the application part as well. In > >> some usages, it might be easier to handle native linking separately > >> and pass the linker output, the executable to jlink directly. Maybe we > >> could consider supporting different modes for various usages > >> requirements, from static libraries and native linking point of view: > >> > >> Mode #1 > >> Support .jmod packaged natives static libraries, for both JDK/VM .a > >> and application natives and dependencies. If the inputs to jlink > >> include .jmods, jlink can extract the .a libraries and pass the > >> information to ld to link the executable. > >> > >> Mode #2 > >> Support separate .a as jlink input. Jlink could pass the path > >> information to the .a libraries and other linker options to ld to > >> create the executable. > >> > >> For both mode #1 and #2, jlink would then use the linker output > >> executable to create the final hermetic image. > >> > >> Mode #3 > >> Support a fully linked executable as a jlink input. When a linked > >> executable is given to jlink, it can process it directly with other > >> JDK data/files to create the final image, without native linking step. > >> > >> Any other thoughts and considerations? > >> > >> Best, > >> Jiangli > >> > >> > > > >> > > 4. Is the intention is to allow users to create their own jmods with > >> > > static libraries, and have these linked in as well? This seems to be the > >> > > case. > >> > > >> > An alternative with less memory overhead could be using application > >> > modular JAR and separate .a as the input for jlink. > >> > > >> > > If that is so, then there will always be the risk for name > >> > > collisions, and we can only minimize the risk by making sure any global > >> > > names are as unique as possible. > >> > > >> > Part of the current effort includes resolving the discovered symbol > >> > collision issues with static linking. Will respond to your other email > >> > on the symbol issue separately later. > >> > > >> > > > >> > > 5. The original implementation of static builds in the JDK, created for > >> > > the Mobile project, used a configure flag, --enable-static-builds, to > >> > > change the entire behavior of the build system to only produce *.a files > >> > > instead of lib*.so. In contrast, the current system is using a special > >> > > target instead. > >> > > >> > I think we would need both configure flag and special target for the > >> > static builds. > >> > > >> > > In my eyes, this is a much worse solution. Apart from > >> > > the conceptual principle (if the build should generate static or dynamic > >> > > libraries is definitely a property of what a "configuration" means), > >> > > this makes it much harder to implement efficiently, since we cannot make > >> > > changes in NativeCompilation.gmk, where they are needed. > >> > > >> > For the potential objcopy work to resolve symbol issues, we can add > >> > that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We > >> > have an internal prototype (not included in > >> > https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done > >> > by one of colleagues for localizing symbols in libfreetype using > >> > objcopy. > >> > > >> > > > >> > > That was not as much a question as a statement. ? But here is the > >> > > question: Do you think it would be reasonable to restore the old > >> > > behavior but with the new methods, so that we don't use special targets, > >> > > but instead tells configure to generate static libraries? I'm thinking > >> > > we should have a flag like "--with-library-type=" that can have values > >> > > "dynamic" (which is default), "static" or "both". > >> > > >> > If we want to also build a fully statically linked launcher, maybe > >> > --with-static-java? Being able to configure either dynamic, static or > >> > both as you suggested also seems to be a good idea. > >> > > >> > > I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files > >> > > into a single jmod file (see question 2 above), then it definitely is. > >> > > In general, the cost of producing two kinds of libraries are quite > >> > > small, compared to the cost of compiling the source code to object files. > >> > > >> > Completely agree. It would be good to avoid recompiling the .o file > >> > for static and dynamic builds. As proposed in > >> > https://bugs.openjdk.org/browse/JDK-8303796: > >> > > >> > It's beneficial to be able to build both .so and .a from the same set > >> > of .o files. That would involve some changes to handle the dynamic JDK > >> > and static JDK difference at runtime, instead of relying on the > >> > STATIC_BUILD macro. > >> > > >> > > > >> > > Finally, I have looked at how to manipulate symbol visibility. There > >> > > seems many ways forward, so I feel confident that we can find a good > >> > > solution. > >> > > > >> > > One way forward is to use objcopy to manipulate symbol status > >> > > (global/local). There is an option --localize-symbol in objcopy, that > >> > > has been available in objcopy since at least 2.15, which was released > >> > > 2004, so it should be safe to use. But ideally we should avoid using > >> > > objcopy and do this as part of the linking process. This should be > >> > > possible to do, given that we make changes in NativeCompilation.gmk -- > >> > > see question 5 above. > >> > > > >> > > As a fallback, it is also possible to rename symbols, either piecewise > >> > > or wholesale, using objcopy. There are many ways to do this, using > >> > > --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this > >> > > takes a file with a list of symbols). Thus we can always introduce a > >> > > "post factum namespace" by renaming symbols. > >> > > >> > Renaming or redefining the symbol at build time could cause confusions > >> > with debugging. That's a concern raised in > >> > https://github.com/openjdk/jdk/pull/17456 discussions. > >> > > >> > Additionally, redefining symbols using tools like objcopy may not > >> > handle member names referenced in string literals. For example, in > >> > https://github.com/openjdk/jdk/pull/17456 additional changes are > >> > needed in assembling and SA to reflect the symbol change. > >> > > >> > > > >> > > So in the end, I think it will be fully possible to produce .a files > >> > > that only has global symbols for the functions that are part of the API > >> > > exposed by that library, and have all other symbols local, and make this > >> > > is in a way that is consistent with the rest of the build system. > >> > > > >> > > Finally, a note on Hotspot. Due to debugging reasons, we export > >> > > basically all symbols in hotspot as global. This is not reasonable to do > >> > > for a static build. The effect of not exporting those symbols will be > >> > > that SA will not function to 100%. On the other hand, I have no idea if > >> > > SA works at all with a static build. Have you tested this? Is this part > >> > > of the plan to support, or will it be officially dropped for Hermetic Java? > >> > > >> > We have done some testing with jtreg SA related tests for the fully > >> > statically linked `javastatic`. > >> > > >> > If we use objcopy to localize symbols in hotspot, it's not yet clear > >> > what's the impact on SA. We could do some tests. The other question > >> > that I raised is the supported gcc versions (for partial linking) > >> > related to the solution. > >> > > >> > Best, > >> > Jiangli > >> > > >> > > > >> > > /Magnus > >> > > From duke at openjdk.org Wed May 28 23:44:44 2025 From: duke at openjdk.org (duke) Date: Wed, 28 May 2025 23:44:44 GMT Subject: git: openjdk/leyden: premain: 3 new changesets Message-ID: Changeset: 2595fcc7 Branch: premain Author: Vladimir Kozlov Date: 2025-05-12 20:29:42 +0000 URL: https://git.openjdk.org/leyden/commit/2595fcc7cc49912d8ac54803a5f74e6f0a45f06f 8356192: Enable AOT code caching only on supported platforms Reviewed-by: shade, mdoerr, fyang ! src/hotspot/share/code/aotCodeCache.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 31bf3be9 Branch: premain Author: Vladimir Kozlov Date: 2025-05-28 08:12:57 +0000 URL: https://git.openjdk.org/leyden/commit/31bf3be94f26f983ade75369d4c257b06dbb2010 Merge 8356192 ! src/hotspot/share/code/aotCodeCache.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! src/hotspot/share/code/aotCodeCache.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: be24c264 Branch: premain Author: Vladimir Kozlov Date: 2025-05-28 16:43:31 +0000 URL: https://git.openjdk.org/leyden/commit/be24c2646c8c9e6009f52b891cf058d915f22072 Port JDK-8354887 from mainline ! src/hotspot/cpu/aarch64/runtime_aarch64.cpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/x86/runtime_x86_64.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/c1/c1_Runtime1.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp + test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java From duke at openjdk.org Thu May 29 00:52:58 2025 From: duke at openjdk.org (duke) Date: Thu, 29 May 2025 00:52:58 GMT Subject: git: openjdk/leyden: hermetic-java-runtime: Remove non-essential branch-only comment and asserts from src/java.base/share/native/libjli/java.c. Message-ID: <86646559-b419-4629-91b2-ef4bcd8d6b01@openjdk.org> Changeset: f5375ea4 Branch: hermetic-java-runtime Author: Jiangli Zhou Date: 2025-05-28 17:47:55 +0000 URL: https://git.openjdk.org/leyden/commit/f5375ea4dcff001042e073f659b93ca85ed54e03 Remove non-essential branch-only comment and asserts from src/java.base/share/native/libjli/java.c. ! src/java.base/share/native/libjli/java.c From david.holmes at oracle.com Thu May 29 05:36:03 2025 From: david.holmes at oracle.com (David Holmes) Date: Thu, 29 May 2025 15:36:03 +1000 Subject: Questions about the Hermetic Java project In-Reply-To: References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> Message-ID: <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> Hi Jiangli, On 29/05/2025 3:27 am, Jiangli Zhou wrote: >>> This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. >> >> Thumbs up! That seems to be a good direction. Currently in the leyden >> branch, it first looks up the unique >> JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in >> libraries, then search for the dynamic libraries using the >> conventional naming when necessary. e.g.: >> >> https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a >> https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 >> >> When spec supports JNI_OnLoad_ and etc. for dynamic >> libraries, we may still need to support the conventional naming >> without the <_lib_name> part for existing libraries out there. > > Resuming the conversation on using > JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L > for dynamically linked JNI & agent libraries. It is related to > JDK-8350450 [1]: Compile object files once for both static and dynamic > builds. We have recently enabled building & tier1 testing for > static-jdk with release binary in GHA on linux-x64. The debug build > however cannot be enabled in GHA due to space/resource limit (please > see more details in JDK-8350450). So it's a good time to pick up > JDK-8350450 related work. Based on discussions with Magnus in > JDK-8350450 bug comments and separate emails from last year, I'll > extract the runtime changes from the leyden/hermetic-java-runtime > branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically > linked JNI/agent libraries. The work has been broadly tested in our > internal prototype on JDK 11 and newer versions (linux-x64). > > Regarding the spec part, Ron, Alan, Magnus and myself had several > discussions last year during hermetic Java meetings. The general > understanding was that using JNI_OnLoad_L (and etc) for dynamically > linked JDK native libraries requires no JNI/JVMTI spec change. I > wonder if the following languages should be relaxed a bit to address > potential questions. Any thoughts? I don't know exactly what was discussed, but I don't see how you can not update the JNI (and other) specifications to do what you want to do, if that involves invoking JNI_OnLoad_L in the dynamic case instead of JNI_OnLoad. ?? David ----- > From JNI spec [3]: > > - JNI_OnLoad/JNI_OnUnload > Optional function defined by dynamically linked libraries. > > LINKAGE: > Exported from dynamically linked native libraries that contain > native method implementations. > > - JNI_OnLoad_L > Mandatory function that must be defined by statically linked libraries . > > LINKAGE: > Exported from statically linked native libraries that contain native > method implementations. > > - JNI_OnUnload_L > Optional function defined by statically linked libraries. > > From JVMTI spec [4]: > > An agent L whose image has been combined with the VM is defined as > statically linked if and only if the agent exports a function called > Agent_OnLoad_L. > > [1]: https://bugs.openjdk.org/browse/JDK-8350450 > [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime > [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ > [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html > > Best, > Jiangli > >> >>> >>> And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. >>> >>> A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. >> >> Thank you for taking this on! Potentially we could consider taking the >> objcopy to localizing hotspot symbols on unix-like platforms, based on >> https://github.com/openjdk/jdk/pull/17456 discussions. Additional >> testing is still needed to verify the solution. >> >>> >>> My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. >> >> Most of the JDK resources are now supported as hermetic jimage >> (lib/modules) bundled in the >> https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. >> The remaining sound.properties, ct.sym and .jfc files can be handled >> later. Overally, that part of the work has confirmed the hermetic >> jimage bundled solution is robust and helps resolve some of the >> difficult start-up sequence issues observed when the hermetic resource >> was implemented using JAR file based solution. >> >> It might be a good idea to follow up on the static linking discussion >> in tomorrow's zoom meeting (hope you'll be able to join tomorrow). >> >> Thanks! >> >> Jiangli >>> >>> /Magnus >>> >>> >>> >>> Thanks! >>> Jiangli >>> >>> On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: >>>> >>>> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: >>>>> >>>>> Hi Magnus, >>>>> >>>>> Thanks for looking into this from the build perspective. >>>>> >>>>> On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie >>>>> wrote: >>>>>> >>>>>> First some background for build-dev: I have spent some time looking at >>>>>> the build implications of the Hermetic Java effort, which is part of >>>>>> Project Leyden. A high-level overview is available here: >>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source >>>>>> code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. >>>>> >>>>> Some additional hermetic Java related references that are also useful: >>>>> >>>>> - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that >>>>> links to the issues for resolving static linking issues so far >>>>> - https://github.com/openjdk/jdk21/pull/26 is the enhancement for >>>>> building the complete set of static libraries in JDK/VM, particularly >>>>> including libjvm.a >>>>> >>>>>> >>>>>> Hermetic Java faces several challenges, but the part that is relevant >>>>>> for the build system is the ability to create static libraries. We've >>>>>> had this functionality (in three different ways...) for some time, but >>>>>> it is rather badly implemented. >>>>>> >>>>>> As a result of my investigations, I have a bunch of questions. :-) I >>>>>> have gotten some answers in private discussion, but for the sake of >>>>>> transparency I will repeat them here, to foster an open dialogue. >>>>>> >>>>>> 1. Am I correct in understanding that the ultimate goal of this exercise >>>>>> is to be able to have jmods which include static libraries (*.a) of the >>>>>> native code which the module uses, and that the user can then run a >>>>>> special jlink command to have this linked into a single executable >>>>>> binary (which also bundles the *.class files and any additional >>>>>> resources needed)? >>>>>> >>>>>> 2. If so, is the idea to create special kinds of static jmods, like >>>>>> java.base-static.jmod, that contains *.a files instead of lib*.so files? >>>>>> Or is the idea that the normal jmod should contain both? >>>>>> >>>>>> 3. Linking .o and .a files into an executable is a formidable task. Is >>>>>> the intention to have jlink call a system-provided ld, or to bundle ld >>>>>> with jlink, or to reimplement this functionality in Java? >>>>> >>>>> I have a similar view as Alan responded in your other email thread. >>>>> Things are still in the early stage for the general solution. >>>>> >>>>> In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime >>>>> branch, when configuring JDK with --with-static-java=yes, the JDK >>>>> binary contains the following extra artifacts: >>>>> >>>>> - static-libs/*.a: The complete set of JDK/VM static libraries >>>>> - jdk/bin/javastatic: A demo Java launcher fully statically linked >>>>> with the selected JDK .a libraries (e.g. it currently statically link >>>>> with the headless) and libjvm.a. It's the standard Java launcher >>>>> without additional work for hermetic Java. >>>>> >>>>> In our prototype for hermetic Java, we build the hermetic executable >>>>> image (a single image) from the following input (see description on >>>>> singlejar packaging tool in >>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf): >>>>> >>>>> - A customized launcher (with additional work for hermetic) executable >>>>> fully statically linked with JDK/VM static libraries (.a files), >>>>> application natives and dependencies (e.g. in .a static libraries) >>>>> - JDK lib/modules, JDK resource files >>>>> - Application classes and resource files >>>>> >>>>> Including a JDK library .a into the corresponding .jmod would require >>>>> extracting the .a for linking with the executable. In some systems >>>>> that may cause memory overhead due to the extracted copy of the .a >>>>> files. I think we should consider the memory overhead issue. >>>>> >>>>> One possibility (as Alan described in his response) is for jlink to >>>>> invoke the ld on the build system. jlink could pass the needed JDK >>>>> static libraries and libjvm.a (provided as part of the JDK binary) to >>>>> ld based on the modules required for the application. >>>>> >>>> >>>> I gave a bit more thoughts on this one. For jlink to trigger ld, it >>>> would need to know the complete linker options and inputs. Those >>>> include options and inputs related to the application part as well. In >>>> some usages, it might be easier to handle native linking separately >>>> and pass the linker output, the executable to jlink directly. Maybe we >>>> could consider supporting different modes for various usages >>>> requirements, from static libraries and native linking point of view: >>>> >>>> Mode #1 >>>> Support .jmod packaged natives static libraries, for both JDK/VM .a >>>> and application natives and dependencies. If the inputs to jlink >>>> include .jmods, jlink can extract the .a libraries and pass the >>>> information to ld to link the executable. >>>> >>>> Mode #2 >>>> Support separate .a as jlink input. Jlink could pass the path >>>> information to the .a libraries and other linker options to ld to >>>> create the executable. >>>> >>>> For both mode #1 and #2, jlink would then use the linker output >>>> executable to create the final hermetic image. >>>> >>>> Mode #3 >>>> Support a fully linked executable as a jlink input. When a linked >>>> executable is given to jlink, it can process it directly with other >>>> JDK data/files to create the final image, without native linking step. >>>> >>>> Any other thoughts and considerations? >>>> >>>> Best, >>>> Jiangli >>>> >>>>>> >>>>>> 4. Is the intention is to allow users to create their own jmods with >>>>>> static libraries, and have these linked in as well? This seems to be the >>>>>> case. >>>>> >>>>> An alternative with less memory overhead could be using application >>>>> modular JAR and separate .a as the input for jlink. >>>>> >>>>>> If that is so, then there will always be the risk for name >>>>>> collisions, and we can only minimize the risk by making sure any global >>>>>> names are as unique as possible. >>>>> >>>>> Part of the current effort includes resolving the discovered symbol >>>>> collision issues with static linking. Will respond to your other email >>>>> on the symbol issue separately later. >>>>> >>>>>> >>>>>> 5. The original implementation of static builds in the JDK, created for >>>>>> the Mobile project, used a configure flag, --enable-static-builds, to >>>>>> change the entire behavior of the build system to only produce *.a files >>>>>> instead of lib*.so. In contrast, the current system is using a special >>>>>> target instead. >>>>> >>>>> I think we would need both configure flag and special target for the >>>>> static builds. >>>>> >>>>>> In my eyes, this is a much worse solution. Apart from >>>>>> the conceptual principle (if the build should generate static or dynamic >>>>>> libraries is definitely a property of what a "configuration" means), >>>>>> this makes it much harder to implement efficiently, since we cannot make >>>>>> changes in NativeCompilation.gmk, where they are needed. >>>>> >>>>> For the potential objcopy work to resolve symbol issues, we can add >>>>> that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We >>>>> have an internal prototype (not included in >>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done >>>>> by one of colleagues for localizing symbols in libfreetype using >>>>> objcopy. >>>>> >>>>>> >>>>>> That was not as much a question as a statement. ? But here is the >>>>>> question: Do you think it would be reasonable to restore the old >>>>>> behavior but with the new methods, so that we don't use special targets, >>>>>> but instead tells configure to generate static libraries? I'm thinking >>>>>> we should have a flag like "--with-library-type=" that can have values >>>>>> "dynamic" (which is default), "static" or "both". >>>>> >>>>> If we want to also build a fully statically linked launcher, maybe >>>>> --with-static-java? Being able to configure either dynamic, static or >>>>> both as you suggested also seems to be a good idea. >>>>> >>>>>> I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files >>>>>> into a single jmod file (see question 2 above), then it definitely is. >>>>>> In general, the cost of producing two kinds of libraries are quite >>>>>> small, compared to the cost of compiling the source code to object files. >>>>> >>>>> Completely agree. It would be good to avoid recompiling the .o file >>>>> for static and dynamic builds. As proposed in >>>>> https://bugs.openjdk.org/browse/JDK-8303796: >>>>> >>>>> It's beneficial to be able to build both .so and .a from the same set >>>>> of .o files. That would involve some changes to handle the dynamic JDK >>>>> and static JDK difference at runtime, instead of relying on the >>>>> STATIC_BUILD macro. >>>>> >>>>>> >>>>>> Finally, I have looked at how to manipulate symbol visibility. There >>>>>> seems many ways forward, so I feel confident that we can find a good >>>>>> solution. >>>>>> >>>>>> One way forward is to use objcopy to manipulate symbol status >>>>>> (global/local). There is an option --localize-symbol in objcopy, that >>>>>> has been available in objcopy since at least 2.15, which was released >>>>>> 2004, so it should be safe to use. But ideally we should avoid using >>>>>> objcopy and do this as part of the linking process. This should be >>>>>> possible to do, given that we make changes in NativeCompilation.gmk -- >>>>>> see question 5 above. >>>>>> >>>>>> As a fallback, it is also possible to rename symbols, either piecewise >>>>>> or wholesale, using objcopy. There are many ways to do this, using >>>>>> --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this >>>>>> takes a file with a list of symbols). Thus we can always introduce a >>>>>> "post factum namespace" by renaming symbols. >>>>> >>>>> Renaming or redefining the symbol at build time could cause confusions >>>>> with debugging. That's a concern raised in >>>>> https://github.com/openjdk/jdk/pull/17456 discussions. >>>>> >>>>> Additionally, redefining symbols using tools like objcopy may not >>>>> handle member names referenced in string literals. For example, in >>>>> https://github.com/openjdk/jdk/pull/17456 additional changes are >>>>> needed in assembling and SA to reflect the symbol change. >>>>> >>>>>> >>>>>> So in the end, I think it will be fully possible to produce .a files >>>>>> that only has global symbols for the functions that are part of the API >>>>>> exposed by that library, and have all other symbols local, and make this >>>>>> is in a way that is consistent with the rest of the build system. >>>>>> >>>>>> Finally, a note on Hotspot. Due to debugging reasons, we export >>>>>> basically all symbols in hotspot as global. This is not reasonable to do >>>>>> for a static build. The effect of not exporting those symbols will be >>>>>> that SA will not function to 100%. On the other hand, I have no idea if >>>>>> SA works at all with a static build. Have you tested this? Is this part >>>>>> of the plan to support, or will it be officially dropped for Hermetic Java? >>>>> >>>>> We have done some testing with jtreg SA related tests for the fully >>>>> statically linked `javastatic`. >>>>> >>>>> If we use objcopy to localize symbols in hotspot, it's not yet clear >>>>> what's the impact on SA. We could do some tests. The other question >>>>> that I raised is the supported gcc versions (for partial linking) >>>>> related to the solution. >>>>> >>>>> Best, >>>>> Jiangli >>>>> >>>>>> >>>>>> /Magnus >>>>>> From duke at openjdk.org Thu May 29 06:39:28 2025 From: duke at openjdk.org (duke) Date: Thu, 29 May 2025 06:39:28 GMT Subject: git: openjdk/leyden: premain: 124 new changesets Message-ID: <70f3e848-7482-4bfc-911f-db5a4020030f@openjdk.org> Changeset: b6b5ac1e Branch: premain Author: Justin Lu Date: 2025-05-12 20:35:13 +0000 URL: https://git.openjdk.org/leyden/commit/b6b5ac1ef9042ed62a8358aa6943b8dc87dcf0ab 8348351: Improve lazy initialization of the available currencies set Reviewed-by: liach, naoto ! src/java.base/share/classes/java/util/Currency.java Changeset: c23469df Branch: premain Author: Kelvin Nilsen Date: 2025-05-12 23:14:27 +0000 URL: https://git.openjdk.org/leyden/commit/c23469df162498e30119f43bc3d1effa15574a42 8355340: GenShen: Remove unneeded log messages related to remembered set write table Reviewed-by: wkemper, ysr ! src/hotspot/share/gc/shenandoah/shenandoahScanRemembered.cpp Changeset: 303f4101 Branch: premain Author: Bhavana Kilambi Committer: Hao Sun Date: 2025-05-12 23:21:17 +0000 URL: https://git.openjdk.org/leyden/commit/303f4101d44835b9c62f46d89137ad218228c132 8355708: Two Float16 IR tests fail after JDK-8345125 Reviewed-by: jbhateja, haosun, mhaessig ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/compiler/c2/irTests/MulHFNodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/TestFloat16ScalarOperations.java Changeset: adebfa7f Branch: premain Author: Anjian-Wen Committer: Fei Yang Date: 2025-05-13 03:06:36 +0000 URL: https://git.openjdk.org/leyden/commit/adebfa7ffda6383f5793278ced14a193066c5f6a 8356700: RISC-V: Declare incompressible scope in fill_words / zero_memory assembler routines Reviewed-by: fyang, fjiang ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp Changeset: 4fc10a1e Branch: premain Author: Valerie Peng Date: 2025-05-13 03:46:30 +0000 URL: https://git.openjdk.org/leyden/commit/4fc10a1e7e9483ecddbaaa9fb52c4db52de86cc8 8356087: Problematic KeyInfo check using key algorithm in P11SecretKeyFactory class Reviewed-by: weijun ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java + test/jdk/sun/security/pkcs11/Mac/InitMacWithAnyKey.java Changeset: 24d77ade Branch: premain Author: Jan Lahoda Date: 2025-05-13 04:44:07 +0000 URL: https://git.openjdk.org/leyden/commit/24d77adee9643c341d27366532c95923e1d97248 8356057: PrintingProcessor (-Xprint) does not print type variable bounds and type annotations for Object supertypes Reviewed-by: darcy, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + test/langtools/tools/javac/processing/options/XprintTypeAnnotationsAndTypeVarBounds.java + test/langtools/tools/javac/processing/options/XprintTypeAnnotationsAndTypeVarBounds.out ! test/langtools/tools/javac/processing/rounds/OverwriteBetweenCompilations_1.out ! test/langtools/tools/javac/processing/rounds/OverwriteBetweenCompilations_2.out ! test/langtools/tools/javac/processing/rounds/OverwriteBetweenCompilations_3.out Changeset: 6e084691 Branch: premain Author: Per Minborg Date: 2025-05-13 05:47:17 +0000 URL: https://git.openjdk.org/leyden/commit/6e0846918ce1286ea1571a6ec0de8e6b44e24218 8356658: java/foreign/TestBufferStackStress2.java failed again with junit action timed out Reviewed-by: jpai, alanb ! test/jdk/java/foreign/TestBufferStackStress2.java Changeset: 03dca032 Branch: premain Author: Jan Lahoda Date: 2025-05-13 06:16:34 +0000 URL: https://git.openjdk.org/leyden/commit/03dca0323d79ef5fb1c8ee1152667e2188fa5e01 8354908: javac mishandles supplementary character in character literal Reviewed-by: naoto, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavaTokenizer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties + test/langtools/tools/javac/diags/examples/IllegalCharLiteralMultipleSurrogates.java ! test/langtools/tools/javac/lexer/JavaLexerTest.java Changeset: 526f543a Branch: premain Author: Stefan Johansson Date: 2025-05-13 07:44:30 +0000 URL: https://git.openjdk.org/leyden/commit/526f543adfeb90341b3b5b18916c1bb7ef725599 8353184: ZGC: Simplify and correct tlab_used() tracking Reviewed-by: stefank, aboldtch ! src/hotspot/share/gc/z/zAllocator.cpp ! src/hotspot/share/gc/z/zAllocator.hpp ! src/hotspot/share/gc/z/zArguments.cpp ! src/hotspot/share/gc/z/zCollectedHeap.cpp ! src/hotspot/share/gc/z/zGeneration.cpp ! src/hotspot/share/gc/z/zHeap.cpp ! src/hotspot/share/gc/z/zHeap.hpp ! src/hotspot/share/gc/z/zObjectAllocator.cpp ! src/hotspot/share/gc/z/zObjectAllocator.hpp + src/hotspot/share/gc/z/zTLABUsage.cpp + src/hotspot/share/gc/z/zTLABUsage.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: ad161a4e Branch: premain Author: Volkan Yazici Committer: Michael McMahon Date: 2025-05-13 07:58:36 +0000 URL: https://git.openjdk.org/leyden/commit/ad161a4ef85e03d4b7be3df2d584356bf4f7cc80 8355360: -d option of jwebserver command should accept relative paths Reviewed-by: dfuchs, michaelm ! src/jdk.httpserver/share/classes/sun/net/httpserver/simpleserver/SimpleFileServerImpl.java ! test/jdk/com/sun/net/httpserver/simpleserver/CommandLineNegativeTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/CommandLinePositiveTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/SimpleFileServerTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/jwebserver/CommandLineNegativeTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/jwebserver/CommandLinePositiveTest.java Changeset: 522c7b44 Branch: premain Author: Andrey Turbanov Date: 2025-05-13 08:10:11 +0000 URL: https://git.openjdk.org/leyden/commit/522c7b446fef17a8400bc589c55b161e939770cc 8356175: Remove unnecessary Map.get from XWM.getInsets Reviewed-by: tr, aivanov, serb ! src/java.desktop/unix/classes/sun/awt/X11/XWM.java Changeset: 132a890a Branch: premain Author: Alan Bateman Date: 2025-05-13 08:43:26 +0000 URL: https://git.openjdk.org/leyden/commit/132a890a9b3b70f2358237ebd9242b6747ba03dd 8342486: Implement JEP 505: Structured Concurrency (Fifth Preview) Co-authored-by: Alan Bateman Co-authored-by: Viktor Klang Reviewed-by: vklang ! src/java.base/share/classes/java/lang/ScopedValue.java + src/java.base/share/classes/java/util/concurrent/Joiners.java ! src/java.base/share/classes/java/util/concurrent/StructuredTaskScope.java + src/java.base/share/classes/java/util/concurrent/StructuredTaskScopeImpl.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/misc/ThreadFlock.java ! test/jdk/java/lang/ScopedValue/StressStackOverflow.java + test/jdk/java/util/concurrent/StructuredTaskScope/StressCancellation.java - test/jdk/java/util/concurrent/StructuredTaskScope/StressShutdown.java ! test/jdk/java/util/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java ! test/jdk/java/util/concurrent/StructuredTaskScope/StructuredThreadDumpTest.java ! test/jdk/java/util/concurrent/StructuredTaskScope/WithScopedValue.java ! test/jdk/javax/security/auth/Subject/CallAsWithScopedValue.java ! test/jdk/jdk/internal/misc/ThreadFlock/ThreadFlockTest.java Changeset: 8ffc121b Branch: premain Author: Andrew Dinn Date: 2025-05-13 09:42:44 +0000 URL: https://git.openjdk.org/leyden/commit/8ffc121b2fc6353d5419c2437d92911baac16b6b 8356774: AArch64: StubGen final stubs buffer too small for ZGC on Cavium CPU Reviewed-by: shade ! src/hotspot/cpu/aarch64/stubDeclarations_aarch64.hpp Changeset: 38bb8adf Branch: premain Author: Severin Gehwolf Date: 2025-05-13 09:59:49 +0000 URL: https://git.openjdk.org/leyden/commit/38bb8adf4f632b08af15f2d8530b35f05f86a020 8354941: Build failure with glibc 2.42 due to uabs() name collision Reviewed-by: kbarrett, thartmann ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp ! src/hotspot/share/opto/mulnode.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp Changeset: 85db4631 Branch: premain Author: Daniel Gredler Committer: Alexey Ivanov Date: 2025-05-13 10:37:57 +0000 URL: https://git.openjdk.org/leyden/commit/85db4631ae5208fba74fa8b8638c32d4e42d3268 8350203: [macos] Newlines and tabs are not ignored when drawing text to a Graphics2D object 8353187: Test TextLayout/TestControls fails on macOS: width of 0x9, 0xa, 0xd isn't zero Reviewed-by: honkar, aivanov, prr ! src/java.desktop/macosx/classes/sun/font/CCharToGlyphMapper.java + test/jdk/java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java Changeset: 7dcc386a Branch: premain Author: Volkan Yazici Committer: Michael McMahon Date: 2025-05-13 11:08:16 +0000 URL: https://git.openjdk.org/leyden/commit/7dcc386af9831bea21def6763512c9fba13b5064 8354024: [JMH] Create ephemeral UnixDomainSocketAddress provider with thread-safe close semantics Reviewed-by: michaelm ! test/micro/org/openjdk/bench/java/net/SocketChannelConnectionSetup.java ! test/micro/org/openjdk/bench/java/net/UnixSocketChannelReadWrite.java Changeset: d930dc5d Branch: premain Author: Marc Chevalier Date: 2025-05-13 11:26:36 +0000 URL: https://git.openjdk.org/leyden/commit/d930dc5df376268d3d96ac5dcddc47496459f5c0 8356275: TestCodeEntryAlignment fails with "Alignment must be <= CodeEntryAlignment" Reviewed-by: thartmann ! src/hotspot/cpu/x86/macroAssembler_x86_sha.cpp Changeset: 14d372b1 Branch: premain Author: Erik Gahlin Date: 2025-05-13 12:40:14 +0000 URL: https://git.openjdk.org/leyden/commit/14d372b15bb49a98b0fc802e142fc76598123821 8356816: JFR: Move printing of metadata into separate class Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Metadata.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tool/MetadataWriter.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/PrettyWriter.java Changeset: de106447 Branch: premain Author: Aleksey Shipilev Date: 2025-05-13 12:46:52 +0000 URL: https://git.openjdk.org/leyden/commit/de1064472180d06693d742a754a8fdc927d367f5 8356631: OopHandle replacement methods should not be called on empty handles Reviewed-by: coleenp, eosterlund ! src/hotspot/share/oops/oopHandle.inline.hpp ! src/hotspot/share/oops/weakHandle.inline.hpp Changeset: 48d2acb3 Branch: premain Author: Aleksey Shipilev Date: 2025-05-13 13:17:12 +0000 URL: https://git.openjdk.org/leyden/commit/48d2acb3860f742eb1c06b89f8a7208d0d7a01e7 8356783: CompilerTask hot_method is redundant Reviewed-by: kvn, cslucas ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/prims/whitebox.cpp Changeset: fa419489 Branch: premain Author: Alan Bateman Date: 2025-05-13 13:35:40 +0000 URL: https://git.openjdk.org/leyden/commit/fa419489d3769a989ee5bd948eeda0ed9be071e2 8350765: Need to pin when accessing thread container from virtual thread Reviewed-by: vklang, jpai ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/lang/VirtualThread.java ! src/java.base/share/classes/java/lang/ref/ReferenceQueue.java ! src/java.base/share/classes/jdk/internal/vm/ContinuationSupport.java ! src/java.base/share/classes/jdk/internal/vm/ThreadContainer.java ! src/java.base/windows/classes/sun/nio/fs/WindowsSecurity.java Changeset: 066477de Branch: premain Author: Per Minborg Date: 2025-05-13 13:40:48 +0000 URL: https://git.openjdk.org/leyden/commit/066477de80fc8719651b7b7bf2d02b1f58135f77 8356080: Address post-integration comments for Stable Values Reviewed-by: liach ! src/java.base/share/classes/java/lang/StableValue.java ! src/java.base/share/classes/java/util/ImmutableCollections.java ! src/java.base/share/classes/java/util/ReverseOrderListView.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableEnumFunction.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableFunction.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableIntFunction.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableSupplier.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableUtil.java ! src/java.base/share/classes/jdk/internal/lang/stable/StableValueImpl.java ! test/jdk/java/lang/StableValue/StableFunctionTest.java ! test/jdk/java/lang/StableValue/StableListTest.java ! test/jdk/java/lang/StableValue/StableMapTest.java ! test/jdk/java/lang/StableValue/StableValueTest.java ! test/micro/org/openjdk/bench/java/lang/stable/StableMethodHandleBenchmark.java Changeset: 64a858c7 Branch: premain Author: Raffaello Giulietti Date: 2025-05-13 14:04:53 +0000 URL: https://git.openjdk.org/leyden/commit/64a858c7b832447c3dcf4a39a2b0929bc4d70c39 8355992: Add unsignedMultiplyExact and *powExact methods to Math and StrictMath Reviewed-by: darcy ! src/java.base/share/classes/java/lang/Math.java ! src/java.base/share/classes/java/lang/StrictMath.java + test/jdk/java/lang/Math/IntegralPowTest.java Changeset: b8c69dfb Branch: premain Author: Archie Cobbs Date: 2025-05-13 14:31:17 +0000 URL: https://git.openjdk.org/leyden/commit/b8c69dfb2adb0eb8cce6b5e81a7388a6430eb8fb 8356551: Javac rejects receiver parameter in constructor of local class in early construction context Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java ! test/langtools/tools/javac/SuperInit/SuperInitGood.java Changeset: 0318e495 Branch: premain Author: Brian Burkhalter Date: 2025-05-13 15:21:30 +0000 URL: https://git.openjdk.org/leyden/commit/0318e49500edb129159030589472089ec21f2f58 8351415: (fs) Path::toAbsolutePath should specify if an absolute path has a root component Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/Path.java Changeset: 08b2df80 Branch: premain Author: Doug Simon Date: 2025-05-13 15:58:59 +0000 URL: https://git.openjdk.org/leyden/commit/08b2df80c68e182fbf6b1fc94e991c02b23040ec 8356447: Change default for EagerJVMCI to true Reviewed-by: yzheng, kvn, never ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/jvmci_globals.cpp ! src/hotspot/share/jvmci/jvmci_globals.hpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java ! test/hotspot/jtreg/compiler/jvmci/TestJVMCIPrintProperties.java Changeset: d1543429 Branch: premain Author: Brent Christian Date: 2025-05-13 17:05:15 +0000 URL: https://git.openjdk.org/leyden/commit/d1543429ff29ca0d761b8473b3fb8621abcd226d 8356107: [java.lang] Use @requires tag instead of exiting based on os.name or separatorChar property Reviewed-by: naoto, bpb ! test/jdk/java/lang/ProcessBuilder/SiblingIOEHandle.java ! test/jdk/java/lang/RuntimeTests/exec/Space.java ! test/jdk/java/lang/RuntimeTests/exec/Status.java - test/jdk/java/lang/System/NonAnsiFileEncodingTest.java Changeset: 1569925a Branch: premain Author: Alexander Matveev Date: 2025-05-13 18:06:32 +0000 URL: https://git.openjdk.org/leyden/commit/1569925af49552268c4847bd201fb95e0e3819b7 8356819: [macos] MacSign should use "openssl" and "faketime" from Homebrew by default Reviewed-by: asemenyuk ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacSign.java Changeset: e7ce661a Branch: premain Author: Kelvin Nilsen Date: 2025-05-13 18:08:10 +0000 URL: https://git.openjdk.org/leyden/commit/e7ce661adb01fba4bb690d51cc2858c822008654 8356667: GenShen: Eliminate races with ShenandoahFreeSet::available() Reviewed-by: wkemper ! src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.hpp ! src/hotspot/share/gc/shenandoah/shenandoahGenerationalFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahGenerationalFullGC.hpp ! src/hotspot/share/gc/shenandoah/shenandoahGlobalGeneration.cpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahMetrics.cpp ! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Changeset: e149bd3a Branch: premain Author: Justin Lu Date: 2025-05-13 20:23:10 +0000 URL: https://git.openjdk.org/leyden/commit/e149bd3a0c387698fe7b2ff6c373944ded773b8b 8352755: Misconceptions about j.text.DecimalFormat digits during parsing Reviewed-by: naoto ! src/java.base/share/classes/java/text/CompactNumberFormat.java ! src/java.base/share/classes/java/text/DecimalFormat.java ! src/java.base/share/classes/java/text/NumberFormat.java Changeset: 89242eec Branch: premain Author: Igor Veresov Date: 2025-05-13 21:49:46 +0000 URL: https://git.openjdk.org/leyden/commit/89242eecd2f381608f78bd8c431eca389956e79a 8356885: Don't emit C1 profiling for casts if TypeProfileCasts is off Reviewed-by: vlivanov, kvn ! src/hotspot/share/c1/c1_LIR.cpp + test/hotspot/jtreg/compiler/tiered/TypeProfileCasts.java Changeset: 1bded718 Branch: premain Author: Shaojin Wen Date: 2025-05-13 22:16:42 +0000 URL: https://git.openjdk.org/leyden/commit/1bded7188f866a61d03936a9537503b31d603dc2 8356605: JRSUIControl.hashCode and JRSUIState.hashCode can use Long.hashCode Reviewed-by: prr, serb ! src/java.desktop/macosx/classes/apple/laf/JRSUIControl.java ! src/java.desktop/macosx/classes/apple/laf/JRSUIState.java Changeset: 10dcdf1b Branch: premain Author: Ben Perez Date: 2025-05-13 22:31:55 +0000 URL: https://git.openjdk.org/leyden/commit/10dcdf1b4738efc6b4deaf96f4d123aff4dab832 8347606: Optimize Java implementation of ML-DSA Reviewed-by: weijun ! src/java.base/share/classes/sun/security/provider/ML_DSA.java Changeset: 4c0a0ab6 Branch: premain Author: Valerie Peng Date: 2025-05-13 22:43:31 +0000 URL: https://git.openjdk.org/leyden/commit/4c0a0ab6bc765c46d2c4b8320418d30abee24a91 8353578: Refactor existing usage of internal HKDF impl to use the KDF API Co-authored-by: Kevin Driver Reviewed-by: djelinski, wetmore, mullan, kdriver, weijun ! src/java.base/share/classes/com/sun/crypto/provider/DHKEM.java ! src/java.base/share/classes/sun/security/ssl/ChangeCipherSpec.java ! src/java.base/share/classes/sun/security/ssl/CipherSuite.java ! src/java.base/share/classes/sun/security/ssl/DHClientKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHClientKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/Finished.java - src/java.base/share/classes/sun/security/ssl/HKDF.java ! src/java.base/share/classes/sun/security/ssl/KAKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/KeyUpdate.java ! src/java.base/share/classes/sun/security/ssl/NewSessionTicket.java ! src/java.base/share/classes/sun/security/ssl/PreSharedKeyExtension.java ! src/java.base/share/classes/sun/security/ssl/RSAClientKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/RSAKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/SSLBasicKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLMasterKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLSecretDerivation.java ! src/java.base/share/classes/sun/security/ssl/SSLSessionContextImpl.java ! src/java.base/share/classes/sun/security/ssl/SSLTrafficKeyDerivation.java ! src/java.base/share/classes/sun/security/ssl/ServerHello.java ! src/java.base/share/classes/sun/security/util/KeyUtil.java - test/jdk/sun/security/ssl/internal/TEST.properties - test/jdk/sun/security/ssl/internal/TestRun.java - test/jdk/sun/security/ssl/internal/java.base/sun/security/ssl/TestHkdf.java Changeset: a96424b2 Branch: premain Author: Chen Liang Date: 2025-05-14 00:03:20 +0000 URL: https://git.openjdk.org/leyden/commit/a96424b24cc7734f04716a4459e5d5e0a5c73c0d 8356694: Removed unused subclass audits in ObjectInput/OutputStream Reviewed-by: alanb, rriggs ! src/java.base/share/classes/java/io/ObjectInputStream.java ! src/java.base/share/classes/java/io/ObjectOutputStream.java Changeset: 0c4bc489 Branch: premain Author: Chihiro Ito Date: 2025-05-14 00:25:59 +0000 URL: https://git.openjdk.org/leyden/commit/0c4bc48928cea7ddd48ba84ed09e9e42ffc68da6 8356820: fixpath should allow + in paths on Windows Reviewed-by: erikj ! make/scripts/fixpath.sh Changeset: dd2aba98 Branch: premain Author: Kim Barrett Date: 2025-05-14 00:50:38 +0000 URL: https://git.openjdk.org/leyden/commit/dd2aba98f500531130b9dfccd4a4ad6555f1ea5c 8356689: Make HotSpot Style Guide change process more prominent Reviewed-by: dholmes, shade, stefank, kvn ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: 530d14a1 Branch: premain Author: Kim Barrett Date: 2025-05-14 00:51:49 +0000 URL: https://git.openjdk.org/leyden/commit/530d14a16e6b428ca9a21e8e373ee9c32e673c3e 8356686: doc/building.html is not up to date after JDK-8301971 Reviewed-by: jwaters, shade, erikj ! doc/building.html Changeset: 2c4e8d21 Branch: premain Author: Jaikiran Pai Date: 2025-05-14 01:53:19 +0000 URL: https://git.openjdk.org/leyden/commit/2c4e8d211a030c85488e656a9a851d10dd0f9c11 8347712: IllegalStateException on multithreaded ZipFile access with non-UTF8 charset 8355975: ZipFile uses incorrect Charset if another instance for the same ZIP file was constructed with a different Charset Co-authored-by: Eirik Bj?rsn?s Reviewed-by: eirbjo, lancea, redestad, alanb ! src/java.base/share/classes/java/util/zip/ZipCoder.java ! src/java.base/share/classes/java/util/zip/ZipFile.java + test/jdk/java/util/zip/ZipFile/ZipFileCharsetTest.java + test/jdk/java/util/zip/ZipFile/ZipFileSharedSourceTest.java Changeset: e07c65b8 Branch: premain Author: Alexander Zuev Date: 2025-05-14 04:59:44 +0000 URL: https://git.openjdk.org/leyden/commit/e07c65b892ecb02d6b52877508131de3a2067e23 8323545: java/awt/GraphicsDevice/CheckDisplayModes.java fails with "exit code: 133" Reviewed-by: achung, serb ! test/jdk/java/awt/GraphicsDevice/CheckDisplayModes.java Changeset: dd251599 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-14 06:32:54 +0000 URL: https://git.openjdk.org/leyden/commit/dd2515993bf76f424e4c56d529ae1541f55e3f8b 8356644: Update encoding declaration to UTF-8 Reviewed-by: prr, naoto ! src/demo/share/jfc/CodePointIM/README.html ! src/demo/share/jfc/Metalworks/resources/HelpFiles/metal.html ! src/demo/share/jfc/Metalworks/resources/HelpFiles/metalworks.html ! src/demo/share/jfc/SwingSet2/resources/ant.html ! src/demo/share/jfc/SwingSet2/resources/bug.html ! src/demo/share/jfc/SwingSet2/resources/index.html ! src/demo/share/jfc/SwingSet2/resources/king.html ! src/demo/share/jfc/SwingSet2/resources/preface.html ! src/demo/share/jfc/SwingSet2/resources/seaweed.html ! src/demo/share/jfc/SwingSet2/resources/title.html ! src/hotspot/share/prims/jvmti.xml ! src/java.base/share/classes/java/net/doc-files/net-properties.html ! src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synth.dtd ! test/jaxp/javax/xml/jaxp/functional/javax/xml/transform/xmlfiles/doctest.xsl ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder11.xml ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder11.xsd ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder12.xml ! test/jaxp/javax/xml/jaxp/functional/javax/xml/validation/xmlfiles/shiporder12.xsd ! test/jaxp/javax/xml/jaxp/unittest/common/xmlfiles/XSLDTD.xsl ! test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker70.xml ! test/jaxp/javax/xml/jaxp/unittest/transform/CR6401137.xsl ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-error.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-error.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs-optimize.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/IssueTracker30_occurs.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-error-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-error-min-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs-unbounded.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/multi-occurs.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-error-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-error-min-max.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-unbounded-error-min.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-unbounded-ok.xml ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-unbounded.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-wildcard-unbounded.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs-wildcard.xsd ! test/jaxp/javax/xml/jaxp/unittest/validation/occurs.xsd ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/button/resources/ButtonDemo.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/ant.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/bug.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/index.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/king.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/preface.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/seaweed.html ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/editorpane/book/title.html Changeset: a3e094e1 Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-14 06:42:07 +0000 URL: https://git.openjdk.org/leyden/commit/a3e094e1a0716adf52dad6407eb7877682beec92 8354968: Replace unicode sequences in comment text with UTF-8 characters Reviewed-by: naoto ! src/java.base/share/classes/java/text/Collator.java ! src/java.base/share/classes/java/text/RuleBasedCollator.java ! src/java.base/share/classes/java/util/LocaleISOData.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/PropagatedException.java ! src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/util/InetAddressConverter.java ! test/jdk/java/lang/Class/getEnclosingClass/EnclosingClass.java ! test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java ! test/jdk/java/lang/Class/getEnclosingClass/common/TestMe.java ! test/jdk/java/util/Collections/T5078378.java ! test/langtools/tools/javac/6330920/T6330920.java ! test/langtools/tools/javac/6457284/T6457284.java ! test/langtools/tools/javac/OverrideChecks/InterfaceImplements.java ! test/langtools/tools/javac/OverrideChecks/InterfaceOverride.java ! test/langtools/tools/javac/OverrideChecks/Private.java ! test/langtools/tools/javac/OverrideChecks/T6326485.java ! test/langtools/tools/javac/T4093617/T4093617.java ! test/langtools/tools/javac/T4848619/T4848619a.java ! test/langtools/tools/javac/T4848619/T4848619b.java ! test/langtools/tools/javac/T4994049/DeprecatedYES.java ! test/langtools/tools/javac/T4994049/T4994049.java ! test/langtools/tools/javac/T5003235/T5003235a.java ! test/langtools/tools/javac/T5003235/T5003235b.java ! test/langtools/tools/javac/T5003235/T5003235c.java ! test/langtools/tools/javac/T5092545.java ! test/langtools/tools/javac/T5105890.java ! test/langtools/tools/javac/T6180021/AbstractSub.java ! test/langtools/tools/javac/T6180021/Sub.java ! test/langtools/tools/javac/T6231246/T6231246.java ! test/langtools/tools/javac/T6231847.java ! test/langtools/tools/javac/T6266772.java ! test/langtools/tools/javac/T6407257.java ! test/langtools/tools/javac/annotations/neg/NoAnnotationMethods.java ! test/langtools/tools/javac/annotations/neg/NoClone.java ! test/langtools/tools/javac/annotations/neg/NoObjectMethods.java ! test/langtools/tools/javac/annotations/pos/AnnotationMethods.java ! test/langtools/tools/javac/api/6400303/T6400303.java ! test/langtools/tools/javac/api/6410643/T6410643.java ! test/langtools/tools/javac/api/6411310/T6411310.java ! test/langtools/tools/javac/api/6411333/T6411333.java ! test/langtools/tools/javac/api/6412656/T6412656.java ! test/langtools/tools/javac/api/6415780/T6415780.java ! test/langtools/tools/javac/api/6418694/T6418694.java ! test/langtools/tools/javac/api/6420409/T6420409.java ! test/langtools/tools/javac/api/6421111/T6421111.java ! test/langtools/tools/javac/api/6421756/T6421756.java ! test/langtools/tools/javac/api/6422215/T6422215.java ! test/langtools/tools/javac/api/6422327/T6422327.java ! test/langtools/tools/javac/api/6423003/T6423003.java ! test/langtools/tools/javac/api/6431257/T6431257.java ! test/langtools/tools/javac/api/6437999/T6437999.java ! test/langtools/tools/javac/api/6440333/T6440333.java ! test/langtools/tools/javac/api/6440528/T6440528.java ! test/langtools/tools/javac/api/6452876/T6452876.java ! test/langtools/tools/javac/api/6468404/T6468404.java ! test/langtools/tools/javac/api/6471599/Main.java ! test/langtools/tools/javac/api/Sibling.java ! test/langtools/tools/javac/api/T6257235.java ! test/langtools/tools/javac/api/T6258271.java ! test/langtools/tools/javac/api/T6265137.java ! test/langtools/tools/javac/api/T6306137.java ! test/langtools/tools/javac/api/T6358786.java ! test/langtools/tools/javac/api/T6397104.java ! test/langtools/tools/javac/api/T6400205.java ! test/langtools/tools/javac/api/T6400207.java ! test/langtools/tools/javac/api/T6407011.java ! test/langtools/tools/javac/api/TestEvalExpression.java ! test/langtools/tools/javac/api/TestGetSourceVersions.java ! test/langtools/tools/javac/api/TestGetTree.java ! test/langtools/tools/javac/api/TestJavacTask.java ! test/langtools/tools/javac/api/TestJavacTaskScanner.java ! test/langtools/tools/javac/api/TestOperators.java ! test/langtools/tools/javac/api/TestResolveIdent.java ! test/langtools/tools/javac/boxing/T5082929.java ! test/langtools/tools/javac/boxing/T6348760.java ! test/langtools/tools/javac/cast/5043020/T5043020.java ! test/langtools/tools/javac/cast/6302214/T6302214a.java ! test/langtools/tools/javac/enum/6424358/T6424358.java ! test/langtools/tools/javac/enum/NoFinal.java ! test/langtools/tools/javac/enum/NoFinal2.java ! test/langtools/tools/javac/enum/NoFinal3.java ! test/langtools/tools/javac/enum/NoFinal4.java ! test/langtools/tools/javac/enum/NoFinal5.java ! test/langtools/tools/javac/enum/OkFinal.java ! test/langtools/tools/javac/enum/T5075242.java ! test/langtools/tools/javac/enum/T5081785.java ! test/langtools/tools/javac/enum/forwardRef/T6425594.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum1.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum2.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum3.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum4.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum5.java ! test/langtools/tools/javac/enum/forwardRef/TestEnum6.java ! test/langtools/tools/javac/generics/5086027/T5086027.java ! test/langtools/tools/javac/generics/5086027/T5086027pos.java ! test/langtools/tools/javac/generics/6192945/Method.java ! test/langtools/tools/javac/generics/6207386/Test.java ! test/langtools/tools/javac/generics/6227936/T6227936.java ! test/langtools/tools/javac/generics/6245699/T6245699c.java ! test/langtools/tools/javac/generics/6292765/T6292765.java ! test/langtools/tools/javac/generics/6332204/T6332204.java ! test/langtools/tools/javac/generics/6413682/TestPos.java ! test/langtools/tools/javac/generics/T6391995.java ! test/langtools/tools/javac/generics/inference/5073060/Neg.java ! test/langtools/tools/javac/generics/inference/5073060/T5073060a.java ! test/langtools/tools/javac/generics/inference/5081782/Neg.java ! test/langtools/tools/javac/generics/inference/5081782/Pos.java ! test/langtools/tools/javac/generics/inference/6215213/T6215213.java ! test/langtools/tools/javac/generics/inference/6278587/T6278587.java ! test/langtools/tools/javac/generics/inference/6278587/T6278587Neg.java ! test/langtools/tools/javac/generics/inference/6302954/T6456971.java ! test/langtools/tools/javac/generics/inference/6359106/T6359106.java ! test/langtools/tools/javac/generics/rawOverride/AttributeSet.java ! test/langtools/tools/javac/generics/rawOverride/Fail1.java ! test/langtools/tools/javac/generics/rawOverride/T6178365.java ! test/langtools/tools/javac/generics/rawOverride/Warn1.java ! test/langtools/tools/javac/generics/rawOverride/Warn2.java ! test/langtools/tools/javac/generics/typevars/4856983/T4856983.java ! test/langtools/tools/javac/generics/typevars/4856983/T4856983a.java ! test/langtools/tools/javac/generics/typevars/4856983/T4856983b.java ! test/langtools/tools/javac/generics/typevars/5060485/Compatibility.java ! test/langtools/tools/javac/generics/typevars/5060485/Method.java ! test/langtools/tools/javac/generics/typevars/5060485/Neg1.java ! test/langtools/tools/javac/generics/typevars/5060485/Neg2.java ! test/langtools/tools/javac/generics/typevars/5060485/Pos.java ! test/langtools/tools/javac/generics/typevars/6182630/T6182630.java ! test/langtools/tools/javac/generics/typevars/6486430/T6486430.java ! test/langtools/tools/javac/generics/typevars/6486430/T6486430a.java ! test/langtools/tools/javac/generics/wildcards/6330931/T6330931.java ! test/langtools/tools/javac/generics/wildcards/6437894/T6437894.java ! test/langtools/tools/javac/generics/wildcards/T5097548.java ! test/langtools/tools/javac/generics/wildcards/T5097548b.java ! test/langtools/tools/javac/jvm/6397652/T6397652.java ! test/langtools/tools/javac/nested/5009484/Y.java ! test/langtools/tools/javac/overload/T4494762.java ! test/langtools/tools/javac/positions/T6402077.java ! test/langtools/tools/javac/positions/T6404194.java ! test/langtools/tools/javac/processing/6359313/T6359313.java ! test/langtools/tools/javac/processing/6413690/T6413690.java ! test/langtools/tools/javac/processing/model/6194785/T6194785.java ! test/langtools/tools/javac/processing/model/testgetallmembers/Main.java ! test/langtools/tools/javac/processing/options/Xprint.java ! test/langtools/tools/javac/scope/6225935/T6214959.java ! test/langtools/tools/javac/scope/6225935/T6225935.java ! test/langtools/tools/javac/scope/6225935/T6381787.java ! test/langtools/tools/javac/scope/6225935/Test.java ! test/langtools/tools/javac/scope/6392998/T6392998.java ! test/langtools/tools/javac/unicode/FirstChar.java ! test/langtools/tools/javac/unit/T6198196.java ! test/langtools/tools/javac/unit/util/convert/EnclosingCandidates.java ! test/langtools/tools/javac/unit/util/list/AbstractList.java ! test/langtools/tools/javac/unit/util/list/FromArray.java ! test/langtools/tools/javac/util/filemanager/TestName.java Changeset: 3b271981 Branch: premain Author: Marc Chevalier Date: 2025-05-14 07:57:53 +0000 URL: https://git.openjdk.org/leyden/commit/3b271981662df2a7fdf04ffd75d017964425607c 8325647: [IR framework] Only prints stdout if exitCode is 134 Reviewed-by: chagedorn, thartmann ! test/hotspot/jtreg/compiler/lib/ir_framework/driver/TestVMProcess.java Changeset: d1032d71 Branch: premain Author: Raffaello Giulietti Date: 2025-05-14 07:59:19 +0000 URL: https://git.openjdk.org/leyden/commit/d1032d71bfd50ebc4b328ce9b0cc81cbb80554b0 8343829: Unify decimal and hexadecimal parsing in FloatingDecimal Reviewed-by: darcy ! src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java Changeset: 265bc5f4 Branch: premain Author: Serguei Spitsyn Date: 2025-05-14 08:21:54 +0000 URL: https://git.openjdk.org/leyden/commit/265bc5f47d4c0b973fd09d3c2d7576f5f786399f 8353496: SuspendResume1.java and SuspendResume2.java timeout after JDK-8319447 Reviewed-by: cjplummer, alanb ! test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java ! test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java ! test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResumeAll/SuspendResumeAll.java Changeset: b76b6107 Branch: premain Author: Anjian-Wen Committer: Fei Yang Date: 2025-05-14 08:28:11 +0000 URL: https://git.openjdk.org/leyden/commit/b76b610788cea7149a04faeeba01067272b6e046 8356869: RISC-V: Improve tail handling of array fill stub Reviewed-by: fyang, fjiang, mli ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp ! test/micro/org/openjdk/bench/vm/compiler/ArrayFill.java Changeset: fc6f4da8 Branch: premain Author: Martin Doerr Date: 2025-05-14 08:38:01 +0000 URL: https://git.openjdk.org/leyden/commit/fc6f4da8e72db4385c96fe0139ce43ec8c8ca2e6 8351666: [PPC64] Make non-volatile VectorRegisters available for C2 register allocation Reviewed-by: rrich ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/upcallLinker_ppc.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.hpp ! src/hotspot/cpu/ppc/vmreg_ppc.inline.hpp Changeset: 86f39ab5 Branch: premain Author: Fernando Guallini Date: 2025-05-14 08:39:21 +0000 URL: https://git.openjdk.org/leyden/commit/86f39ab5bb58a1d1e720badd7261365398134151 8249825: Tests sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java marked with @ignore Reviewed-by: abarashev, rhalade ! test/jdk/sun/security/ssl/SSLSocketImpl/NonAutoClose.java ! test/jdk/sun/security/ssl/SSLSocketImpl/SetClientMode.java Changeset: 5c73dfc2 Branch: premain Author: Aleksey Shipilev Date: 2025-05-14 09:05:49 +0000 URL: https://git.openjdk.org/leyden/commit/5c73dfc28cbd6801ac85c6685fb8c77aad3ab0b7 8352533: Report useful IOExceptions when jspawnhelper fails Reviewed-by: simonis, rriggs, stuefe ! src/java.base/unix/native/libjava/ProcessImpl_md.c ! test/jdk/java/lang/ProcessBuilder/Basic.java ! test/jdk/java/lang/ProcessBuilder/JspawnhelperProtocol.java Changeset: 3270b009 Branch: premain Author: Coleen Phillimore Date: 2025-05-14 12:00:23 +0000 URL: https://git.openjdk.org/leyden/commit/3270b00957038e95e3c1632daa9b7227d59f9af7 8356173: Remove ThreadCritical Reviewed-by: dholmes, kbarrett, jsjolen ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp - src/hotspot/os/posix/threadCritical_posix.cpp ! src/hotspot/os/windows/os_windows.cpp - src/hotspot/os/windows/threadCritical_windows.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/gc/parallel/psScavenge.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/nmt/mallocTracker.cpp ! src/hotspot/share/nmt/mallocTracker.hpp ! src/hotspot/share/nmt/memMapPrinter.cpp ! src/hotspot/share/nmt/nmtUsage.cpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/runtime/javaThread.cpp - src/hotspot/share/runtime/threadCritical.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/utilities/exceptions.cpp Changeset: a989245a Branch: premain Author: Jaikiran Pai Date: 2025-05-14 12:38:40 +0000 URL: https://git.openjdk.org/leyden/commit/a989245a2424d136f5d2a828eda666c3867b0f48 8327466: ct.sym zip not reproducible across build environment timezones Reviewed-by: erikj, jlahoda ! make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java + test/langtools/tools/javac/platform/createsymbols/CreateSymbolsReproducibleTest.java Changeset: 97b0dd21 Branch: premain Author: Manuel H?ssig Committer: Tobias Hartmann Date: 2025-05-14 14:12:10 +0000 URL: https://git.openjdk.org/leyden/commit/97b0dd2167530b3d237e748cd5da0130e38e8af2 8336906: C2: assert(bb->is_reachable()) failed: getting result from unreachable basicblock Co-authored-by: Emanuel Peter Co-authored-by: Dean Long Reviewed-by: epeter, dlong ! src/hotspot/share/runtime/deoptimization.cpp + test/hotspot/jtreg/compiler/interpreter/TestVerifyStackWithUnreachableBytecode.java + test/hotspot/jtreg/compiler/interpreter/TestVerifyStackWithUnreachableBytecodeImpl.jasm Changeset: 1afd887b Branch: premain Author: Jiangli Zhou Date: 2025-05-14 14:58:29 +0000 URL: https://git.openjdk.org/leyden/commit/1afd887b138ac2425289b6f863801774f050c23c 8356102: TestJcmdOutput, JcmdWithNMTDisabled and DumpSharedDictionary hs/tier1 tests fail on static-jdk Reviewed-by: dholmes ! test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/TestJcmdOutput.java ! test/hotspot/jtreg/runtime/NMT/JcmdWithNMTDisabled.java ! test/hotspot/jtreg/runtime/cds/DumpSharedDictionary.java Changeset: 10436c1e Branch: premain Author: Srinivas Vamsi Parasa Committer: Sandhya Viswanathan Date: 2025-05-14 15:39:09 +0000 URL: https://git.openjdk.org/leyden/commit/10436c1e1d0a14ef8ba4d58babb23fc47c949a6f 8356281: Fix for TestFPComparison failure due to incorrect result Reviewed-by: sviswanathan, thartmann, jbhateja ! src/hotspot/cpu/x86/x86_64.ad Changeset: a2628357 Branch: premain Author: Chris Plummer Date: 2025-05-14 17:07:28 +0000 URL: https://git.openjdk.org/leyden/commit/a2628357a922b1ea9ba721b1d8b708ff91d46d76 8356641: Test com/sun/jdi/EarlyThreadGroupChildrenTest.java fails sometimes on macOS Reviewed-by: kevinw, amenkov, sspitsyn ! test/jdk/com/sun/jdi/EarlyThreadGroupChildrenTest.java Changeset: 7c8e273f Branch: premain Author: Naoto Sato Date: 2025-05-14 17:41:42 +0000 URL: https://git.openjdk.org/leyden/commit/7c8e273fde644bbc2def4a1134a82b8eb8d33d53 8356420: Provide examples on wrapping System.in Reviewed-by: liach, smarks, alanb, bpb, iris ! src/java.base/share/classes/java/io/InputStreamReader.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/util/Scanner.java ! src/java.base/share/classes/javax/security/auth/callback/CallbackHandler.java Changeset: 75504a35 Branch: premain Author: Chris Plummer Date: 2025-05-14 18:12:35 +0000 URL: https://git.openjdk.org/leyden/commit/75504a35ee663625982f8aed508e5ff562643334 8356588: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 3 Reviewed-by: amenkov, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/BreakpointEvent/_itself_/breakpoint001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/BreakpointEvent/_itself_/breakpoint001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq001t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/catchLocation/location001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/catchLocation/location001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/exception/exception001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/exception/exception001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocalVariable/isVisible/isvisible001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocalVariable/isVisible/isvisible001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Locatable/location/location005a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodEntryEvent/method/method001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodEntryEvent/method/method001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/owningThread/owningthread001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/owningThread/owningthread001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepevent001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepevent001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/currentContendedMonitor/currentcm001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/currentContendedMonitor/currentcm001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/threadGroup/threadgroup001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Value/_itself_/value001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Value/type/type002/type002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Value/type/type002/type002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/equals/equals001/equals001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/equals/equals001/equals001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/hashCode/hashcode001/hashcode001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VoidValue/hashCode/hashcode001/hashcode001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/WatchpointEvent/object/object001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/WatchpointEvent/object/object001a.java Changeset: e91088a9 Branch: premain Author: Alisen Chung Date: 2025-05-14 18:47:42 +0000 URL: https://git.openjdk.org/leyden/commit/e91088a9e8193b81a1de82d48effd8c8c0f3b45d 8343739: Test java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java failed: Wrong extended key code Reviewed-by: serb, prr ! test/jdk/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java Changeset: ecabea6c Branch: premain Author: Ben Perez Date: 2025-05-14 19:38:34 +0000 URL: https://git.openjdk.org/leyden/commit/ecabea6cd315eaf08571ef61ff267318140d147b 8347608: Optimize Java implementation of ML-KEM Reviewed-by: weijun ! src/java.base/share/classes/com/sun/crypto/provider/ML_KEM.java Changeset: 948ade8e Branch: premain Author: Yudi Zheng Date: 2025-05-14 19:47:38 +0000 URL: https://git.openjdk.org/leyden/commit/948ade8e7003a41683600428c8e3155c7ed798db 8356971: [JVMCI] Export VM_Version::supports_avx512_simd_sort to JVMCI compiler Reviewed-by: dnsimon ! src/hotspot/share/jvmci/jvmciCompilerToVM.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: b66ab8eb Branch: premain Author: Ioi Lam Date: 2025-05-14 22:00:46 +0000 URL: https://git.openjdk.org/leyden/commit/b66ab8ebe254c674ce6a5b731773c41111fa6bc5 8356693: AOT assembly phase fails with -javaagent Reviewed-by: asmehra, ccheung, shade ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/prims/jvmtiAgent.cpp ! src/hotspot/share/prims/jvmtiAgentList.cpp ! src/hotspot/share/prims/jvmtiAgentList.hpp + test/hotspot/jtreg/runtime/cds/appcds/aotCache/JavaAgent.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/JavaAgentTransformer.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/JavaAgentTransformer.mf ! test/hotspot/jtreg/runtime/cds/appcds/jvmti/dumpingWithAgent/SimpleAgent.java Changeset: 5e50a584 Branch: premain Author: Ioi Lam Date: 2025-05-14 23:11:46 +0000 URL: https://git.openjdk.org/leyden/commit/5e50a584744d316dd881c9404f75e65f31bb0e75 8356838: AOT incorrectly sets a cached class's loader type to boot Reviewed-by: ccheung, iveresov ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotClassLocation.hpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/classLoaderExt.hpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTCacheSupportForCustomLoaders.java = test/hotspot/jtreg/runtime/cds/appcds/aotCache/modules/com.test/com/test/Foo.java = test/hotspot/jtreg/runtime/cds/appcds/aotCache/modules/com.test/module-info.java Changeset: dc881ee3 Branch: premain Author: Arno Zeller Committer: Christoph Langer Date: 2025-05-15 07:50:28 +0000 URL: https://git.openjdk.org/leyden/commit/dc881ee36900bc12bea9616a6078a1f3266c183d 8354530: AIX: sporadic unexpected errno when calling setsockopt in Net.joinOrDrop Reviewed-by: alanb, clanger ! src/java.base/unix/native/libnio/ch/Net.c Changeset: e557b695 Branch: premain Author: Andrey Turbanov Date: 2025-05-15 07:57:14 +0000 URL: https://git.openjdk.org/leyden/commit/e557b6956bdf9b0d89ad69427c7b4a97a65868ea 8356843: Avoid redundant HashMap.get to obtain old value in Toolkit.setDesktopProperty Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/java/awt/Toolkit.java Changeset: b8d2bdb4 Branch: premain Author: Thomas Schatzl Date: 2025-05-15 08:03:44 +0000 URL: https://git.openjdk.org/leyden/commit/b8d2bdb46529f780b4c21d709ca38b489348ee10 8355743: G1: Collection set clearing is not recorded as part of "Free Collection Set Time" Reviewed-by: iwalulya, shade ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp Changeset: 13b35414 Branch: premain Author: Leo Korinth Date: 2025-05-15 09:20:56 +0000 URL: https://git.openjdk.org/leyden/commit/13b3541467aa91c2e0ad4da70efdb25b7334d3fe 8356866: Cleanup hotspot/jtreg/ProblemList.txt Reviewed-by: syan, tschatzl ! test/hotspot/jtreg/ProblemList.txt Changeset: 883e52aa Branch: premain Author: Aleksei Voitylov Committer: Dmitry Chuyko Date: 2025-05-15 11:06:22 +0000 URL: https://git.openjdk.org/leyden/commit/883e52aa105727f4bc852d1497e049b689695152 8353237: [AArch64] Incorrect result of VectorizedHashCode intrinsic on Cortex-A53 Reviewed-by: aph ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 1d36f173 Branch: premain Author: Adam Sotona Date: 2025-05-15 12:04:17 +0000 URL: https://git.openjdk.org/leyden/commit/1d36f173c4e924d5049f153eceb13b09e7adebab 8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null Reviewed-by: liach = test/langtools/tools/javac/8351232/Anno.java + test/langtools/tools/javac/8351232/Cls.java = test/langtools/tools/javac/8351232/Intf1.java = test/langtools/tools/javac/8351232/Intf2.java + test/langtools/tools/javac/8351232/TestClass.java + test/langtools/tools/javac/8351232/TypeAnnotationSymNullTest.java Changeset: 5cb23171 Branch: premain Author: Daniel Lund?n Date: 2025-05-15 12:54:49 +0000 URL: https://git.openjdk.org/leyden/commit/5cb231714f364064bb5a59db8eb07d43823478eb 8351568: Improve source code documentation for PhaseCFG::insert_anti_dependences Reviewed-by: rcastanedalo, chagedorn ! src/hotspot/share/adlc/output_h.cpp ! src/hotspot/share/opto/block.hpp ! src/hotspot/share/opto/gcm.cpp ! src/hotspot/share/opto/lcm.cpp ! test/hotspot/jtreg/compiler/codegen/TestAntiDependenciesHighMemUsage.java ! test/hotspot/jtreg/compiler/codegen/TestAntiDependenciesHighMemUsage2.java ! test/hotspot/jtreg/compiler/loopopts/TestSplitIfPinnedLoadInStripMinedLoop.java Changeset: 81e8e670 Branch: premain Author: Volkan Yazici Committer: Daniel Fuchs Date: 2025-05-15 14:10:16 +0000 URL: https://git.openjdk.org/leyden/commit/81e8e670cec4e09502965110a77982f7d2f85ad9 8351347: HttpClient Improve logging of response headers Reviewed-by: dfuchs, michaelm ! src/java.net.http/share/classes/jdk/internal/net/http/Http1Request.java ! src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java Changeset: 073af3bb Branch: premain Author: Jiangli Zhou Date: 2025-05-15 14:39:52 +0000 URL: https://git.openjdk.org/leyden/commit/073af3bbaa3ee81b693136b2de7fee407d8ae04b 8356892: runtime/jni/CalleeSavedRegisters/FPRegs.java fails on static-jdk Reviewed-by: dholmes, shade ! test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java Changeset: 3df8ca1e Branch: premain Author: Brian Burkhalter Date: 2025-05-15 14:47:02 +0000 URL: https://git.openjdk.org/leyden/commit/3df8ca1ebaf3539363efd569ba9487f5d985117d 8356678: (fs) Files.readAttributes should map ENOTDIR to NoSuchFileException where possible (unix) Reviewed-by: alanb, cstein ! src/java.base/unix/classes/sun/nio/fs/UnixFileAttributeViews.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystemProvider.java + test/jdk/java/nio/file/Files/NotADirectory.java Changeset: 8fcfddb2 Branch: premain Author: Volkan Yazici Committer: Chen Liang Date: 2025-05-15 14:54:27 +0000 URL: https://git.openjdk.org/leyden/commit/8fcfddb2d202cdb61941efdb3fec5807fee98c33 8353197: Document preconditions for JavaLangAccess methods Reviewed-by: pminborg, liach ! src/java.base/share/classes/java/io/DataInputStream.java ! src/java.base/share/classes/java/io/ObjectInputStream.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java ! src/java.base/share/classes/java/math/BigDecimal.java ! src/java.base/share/classes/java/nio/file/Files.java ! src/java.base/share/classes/java/util/HexFormat.java ! src/java.base/share/classes/java/util/UUID.java ! src/java.base/share/classes/java/util/zip/ZipCoder.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java ! src/java.base/share/classes/jdk/internal/math/ToDecimal.java ! src/java.base/share/classes/jdk/internal/util/ArraysSupport.java ! src/java.base/share/classes/jdk/internal/util/HexDigits.java ! src/java.base/share/classes/sun/nio/cs/CESU_8.java ! src/java.base/share/classes/sun/nio/cs/DoubleByte.java ! src/java.base/share/classes/sun/nio/cs/ISO_8859_1.java ! src/java.base/share/classes/sun/nio/cs/SingleByte.java ! src/java.base/share/classes/sun/nio/cs/US_ASCII.java ! src/java.base/share/classes/sun/nio/cs/UTF_8.java ! src/java.base/unix/classes/sun/nio/fs/UnixPath.java ! src/jdk.charsets/share/classes/sun/nio/cs/ext/EUC_JP.java.template Changeset: a1c7e494 Branch: premain Author: Amit Kumar Date: 2025-05-15 15:38:56 +0000 URL: https://git.openjdk.org/leyden/commit/a1c7e494c842e4138f03cffb31448e9e92ba917d 8350482: [s390x] Relativize esp in interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/abstractInterpreter_s390.cpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/s390/interp_masm_s390.cpp ! src/hotspot/cpu/s390/interp_masm_s390.hpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp Changeset: b3e856f9 Branch: premain Author: Leo Korinth Date: 2025-05-15 16:03:43 +0000 URL: https://git.openjdk.org/leyden/commit/b3e856f9b37078969478809207b63fb6bc9c5f13 8356847: Problem list two test cases for JDK-8284234 Reviewed-by: tschatzl ! test/hotspot/jtreg/ProblemList.txt Changeset: e056bbec Branch: premain Author: Naoto Sato Date: 2025-05-15 16:14:13 +0000 URL: https://git.openjdk.org/leyden/commit/e056bbec928e3914a3b5cd14753406619e187178 8356822: Refactor HTML anchor tags to javadoc in Charset Reviewed-by: iris, liach ! src/java.base/share/classes/java/nio/charset/Charset.java Changeset: 1e61352b Branch: premain Author: Johannes Graham Committer: Raffaello Giulietti Date: 2025-05-15 16:33:35 +0000 URL: https://git.openjdk.org/leyden/commit/1e61352b54e1ac85fbc6b54a7a29e8782dd42d2c 8356709: Avoid redundant String formatting in BigDecimal.valueOf(double) Reviewed-by: rgiulietti ! src/java.base/share/classes/java/math/BigDecimal.java ! src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java + test/jdk/java/math/BigDecimal/ValueOfDouble.java ! test/micro/org/openjdk/bench/java/math/BigDecimals.java Changeset: 850c789a Branch: premain Author: Archie Cobbs Date: 2025-05-15 16:35:16 +0000 URL: https://git.openjdk.org/leyden/commit/850c789a827e21cda3096276d9638f56fae76c3e 8349754: Invalid "early reference" error when class extends an outer class Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java ! test/langtools/tools/javac/SuperInit/SuperInitGood.java Changeset: c59debb3 Branch: premain Author: Ashutosh Mehra Date: 2025-05-15 17:18:56 +0000 URL: https://git.openjdk.org/leyden/commit/c59debb3844d009ac501a48c31822a07f00521e9 8354887: Preserve runtime blobs in AOT code cache Co-authored-by: Andrew Dinn Reviewed-by: kvn, adinn ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/runtime_aarch64.cpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/runtime_x86_64.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/c1/c1_Runtime1.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/code/aotCodeCache.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/oops/compressedKlass.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java Changeset: 9223ed78 Branch: premain Author: Chen Liang Date: 2025-05-15 20:32:02 +0000 URL: https://git.openjdk.org/leyden/commit/9223ed788a53820dcc1e285a6e0df0c97b05fb09 8351996: Behavioral updates for ClassValue::remove Co-authored-by: John R Rose Reviewed-by: vklang, jrose ! src/java.base/share/classes/java/lang/ClassValue.java ! test/jdk/java/lang/invoke/ClassValueTest.java Changeset: fe790cb3 Branch: premain Author: Alex Menkov Date: 2025-05-15 20:39:48 +0000 URL: https://git.openjdk.org/leyden/commit/fe790cb319243dc381f5f12f9010e33681ecb17a 8356177: Regression after JDK-8352180 Reviewed-by: sspitsyn, cjplummer, lmesnik ! src/hotspot/os/windows/attachListener_windows.cpp + test/hotspot/jtreg/serviceability/attach/FailedDequeueTest.java Changeset: efdbb6af Branch: premain Author: Calvin Cheung Date: 2025-05-15 21:14:42 +0000 URL: https://git.openjdk.org/leyden/commit/efdbb6afce4116140c066641128264ab42697912 8354083: Support --add-reads with -XX:+AOTClassLinking Reviewed-by: iklam, alanb ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! test/hotspot/jtreg/TEST.groups = test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddExports.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddOpens.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddReads.java - test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddOpens.java - test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddReads.java Changeset: f6b0f016 Branch: premain Author: Paul H Committer: Harshitha Onkar Date: 2025-05-15 22:35:48 +0000 URL: https://git.openjdk.org/leyden/commit/f6b0f016f6da5d9c96b21c74d3b906ed8e6ae4b4 8332947: [macos] OpenURIHandler events not received when AWT is embedded in another toolkit Reviewed-by: kcr, honkar, prr ! src/java.desktop/macosx/native/libawt_lwawt/awt/ApplicationDelegate.m Changeset: a8d8ffa8 Branch: premain Author: kieran-farrell Committer: Daniel Fuchs Date: 2025-05-16 07:33:17 +0000 URL: https://git.openjdk.org/leyden/commit/a8d8ffa8ad63f8f6308e2da224894fb2aded5d5c 8356395: Spec needs to be clarified for InterfaceAddress class level API documentation and getBroadcast() method Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/InterfaceAddress.java Changeset: a6ebcf61 Branch: premain Author: Andrew Haley Date: 2025-05-16 09:28:35 +0000 URL: https://git.openjdk.org/leyden/commit/a6ebcf61eb522a1bcfc9f2169d42974af3883b00 8354674: AArch64: Intrinsify Unsafe::setMemory Reviewed-by: adinn ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/java.base/share/classes/jdk/internal/foreign/SegmentBulkOperations.java = test/micro/org/openjdk/bench/java/lang/foreign/MemorySegmentFillUnsafe.java Changeset: a0a30607 Branch: premain Author: Marc Chevalier Date: 2025-05-16 11:31:37 +0000 URL: https://git.openjdk.org/leyden/commit/a0a3060709473c3ab433fa1485b723ca6c22b7cb 8353638: C2: deoptimization and re-execution cycle with StringBuilder Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/runtime/globals.hpp Changeset: 0d867578 Branch: premain Author: Marc Chevalier Date: 2025-05-16 11:32:01 +0000 URL: https://git.openjdk.org/leyden/commit/0d8675780f28d25ed538589480cc208b48fe7e93 8355488: Add stress mode for C2 loop peeling Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp Changeset: 079fccfa Branch: premain Author: Weijun Wang Date: 2025-05-16 12:25:04 +0000 URL: https://git.openjdk.org/leyden/commit/079fccfa9a03b890e698c52c689dea0f19f8fbee 8353888: Implement JEP 510: Key Derivation Function API Reviewed-by: valeriep, mullan, liach ! src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java ! src/java.base/share/classes/javax/crypto/KDF.java ! src/java.base/share/classes/javax/crypto/KDFParameters.java ! src/java.base/share/classes/javax/crypto/KDFSpi.java ! src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/module-info.java ! src/jdk.crypto.cryptoki/share/classes/module-info.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFBasicFunctionsTest.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFDelayedPRK.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFExhaustiveTest.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFKnownAnswerTests.java ! test/jdk/com/sun/crypto/provider/KDF/HKDFSaltIKMTest.java + test/jdk/javax/crypto/KDF/KDFDelayedProviderException.java ! test/jdk/javax/crypto/KDF/KDFDelayedProviderSyncTest.java ! test/jdk/javax/crypto/KDF/KDFDelayedProviderTest.java ! test/jdk/javax/crypto/KDF/KDFDelayedProviderThreadingTest.java ! test/jdk/sun/security/pkcs11/KDF/TestHKDF.java Changeset: bca293d0 Branch: premain Author: Christian Stein Date: 2025-05-16 13:19:01 +0000 URL: https://git.openjdk.org/leyden/commit/bca293d0124af098d36cdfb18c15df18c8ce53b9 8336470: Source launcher should work with service loader SPI in unnamed module Reviewed-by: alanb ! make/CompileInterimLangtools.gmk ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/MemoryClassLoader.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/MemoryModuleFinder.java ! test/langtools/tools/javac/launcher/GetResourceTest.java + test/langtools/tools/javac/launcher/src/META-INF/services/java.util.spi.ToolProvider + test/langtools/tools/javac/launcher/src/Tool.java ! test/langtools/tools/javac/launcher/src/p/q/CLTest.java Changeset: 46a12e78 Branch: premain Author: Timofei Pushkin Committer: Ioi Lam Date: 2025-05-16 13:51:58 +0000 URL: https://git.openjdk.org/leyden/commit/46a12e781edcbe9da7bd39eb9e101fc680053cef 8315130: java.lang.IllegalAccessError when processing classlist to create CDS archive Reviewed-by: iklam, ccheung ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListParser.hpp ! src/hotspot/share/cds/unregisteredClasses.cpp ! src/hotspot/share/cds/unregisteredClasses.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/java.base/share/classes/jdk/internal/misc/CDS.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/DifferentSourcesTest.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/RegUnregSuperTest.java = test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/CustomLoadee5.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/CustomLoadee5Child.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/DifferentSourcesApp.java + test/hotspot/jtreg/runtime/cds/appcds/customLoader/test-classes/RegUnregSuperApp.java Changeset: 413843cf Branch: premain Author: Evgeny Nikitin Committer: Leonid Mesnik Date: 2025-05-16 16:20:37 +0000 URL: https://git.openjdk.org/leyden/commit/413843cf8eb82b4778e976562e0e11a0ff5e3083 8356649: Update JCStress test suite Reviewed-by: lmesnik ! test/hotspot/jtreg/applications/jcstress/JcstressRunner.java Changeset: d5245092 Branch: premain Author: Evgeny Nikitin Committer: Leonid Mesnik Date: 2025-05-16 16:20:52 +0000 URL: https://git.openjdk.org/leyden/commit/d5245092249ed400f98711393e25e0ae97990daf 8356702: CTW: Update modules Reviewed-by: lmesnik ! test/hotspot/jtreg/applications/ctw/modules/generate.bash Changeset: 63ef90be Branch: premain Author: Ashutosh Mehra Date: 2025-05-16 17:21:16 +0000 URL: https://git.openjdk.org/leyden/commit/63ef90be971267a1d3ceb6b7a03b570c34ac4d06 8357084: Zero build fails after JDK-8354887 Reviewed-by: ccheung, kvn ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 3dd34517 Branch: premain Author: Naoto Sato Date: 2025-05-16 18:02:42 +0000 URL: https://git.openjdk.org/leyden/commit/3dd34517000e4ce1a21619922c62c025f98aad44 8357075: Remove leftover COMPAT locale data tests Reviewed-by: joehw, iris, jlu - test/jdk/sun/text/resources/LocaleData ! test/jdk/sun/text/resources/LocaleDataTest.java Changeset: 10258dc5 Branch: premain Author: Chris Plummer Date: 2025-05-16 20:45:21 +0000 URL: https://git.openjdk.org/leyden/commit/10258dc56eb7d5d99ca8ed2579e871de91c74769 8356811: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 4 Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod007a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod009t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod010.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod010t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod014t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance007a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance009t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/equals/equals001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/equals/equals001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/hashCode/hashcode001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/hashCode/hashcode001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod004t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod005t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod006t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod007t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod008.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod008t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod009t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod014t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue005t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/defaultStratum/defaultStratum003/defaultStratum003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/defaultStratum/defaultStratum004/defaultStratum004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceName/sourcename004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceName/sourcename004t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceNames/sourcenames002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ReferenceType/sourceNames/sourcenames002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValue/getvalue003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/getValues/getvalues003t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue005/setvalue005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue005/setvalue005t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue006/setvalue006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue006/setvalue006t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepEvent003/stepEvent003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepEvent/_itself_/stepEvent004/stepEvent004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassExclusionFilter/filter001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_rt/filter_rt001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_rt/filter_rt003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StepRequest/addClassFilter_s/filter_s001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/interrupt/interrupt001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes006t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes007t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002t.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/setDefaultStratum/setDefaultStratum003/setDefaultStratum003.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/sde/SDEDebuggee.java Changeset: 76570c62 Branch: premain Author: Calvin Cheung Date: 2025-05-16 22:12:59 +0000 URL: https://git.openjdk.org/leyden/commit/76570c627db527f856f2394fb9ead02939eca621 8357149: Test runtime/cds/appcds/aotCode/AOTCodeFlags.java is broken after JDK-8354887 Reviewed-by: kvn, iklam ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 6c42856b Branch: premain Author: Matthias Baesken Date: 2025-05-18 11:32:37 +0000 URL: https://git.openjdk.org/leyden/commit/6c42856b8d5039c14ba04a48c60d09039d5030fe 8356778: Compiler add event logging in case of failures Reviewed-by: lucy ! src/hotspot/share/c1/c1_Compilation.cpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/compiler/compilationLog.cpp Changeset: 9927ec0b Branch: premain Author: Kuai Wei Committer: Shaojin Wen Date: 2025-05-18 23:28:01 +0000 URL: https://git.openjdk.org/leyden/commit/9927ec0b91775db342b2bbc1937253325c367a19 8356328: Some C2 IR nodes miss size_of() function Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/intrinsicnode.hpp ! src/hotspot/share/opto/machnode.hpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/opto/opaquenode.hpp Changeset: 969708bd Branch: premain Author: Albert Mingkun Yang Date: 2025-05-19 05:17:05 +0000 URL: https://git.openjdk.org/leyden/commit/969708bd8f0de49f641eab3881cb15712aa34f1e 8356157: Remove retry loop in collect of SerialHeap and ParallelScavengeHeap Reviewed-by: tschatzl, zgu ! src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp ! src/hotspot/share/gc/serial/serialHeap.cpp Changeset: 77a3e04f Branch: premain Author: Jan Lahoda Date: 2025-05-19 07:29:25 +0000 URL: https://git.openjdk.org/leyden/commit/77a3e04ffc27554c14e3d45ba16ad0ee8f3c1eb1 8357016: Candidate main methods not computed properly Reviewed-by: jpai, vromero ! src/java.base/share/classes/jdk/internal/misc/MethodFinder.java ! src/java.base/share/classes/sun/launcher/LauncherHelper.java ! src/java.base/share/classes/sun/launcher/resources/launcher.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/SourceLauncher.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher.properties ! test/jdk/tools/launcher/Arrrghs.java ! test/jdk/tools/launcher/TestHelper.java ! test/langtools/tools/javac/launcher/SourceLauncherTest.java Changeset: 50a7c61d Branch: premain Author: Manuel H?ssig Committer: Marc Chevalier Date: 2025-05-19 07:39:42 +0000 URL: https://git.openjdk.org/leyden/commit/50a7c61d28b9885ff48f4fcd8bfd460b507bbcef 8355970: C2: Add command line option to print the compile phases Reviewed-by: chagedorn, kvn, mchevalier ! src/hotspot/share/compiler/compilerDirectives.hpp ! src/hotspot/share/compiler/compilerOracle.hpp ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp Changeset: 67fb1ee7 Branch: premain Author: Aleksey Shipilev Date: 2025-05-19 08:04:44 +0000 URL: https://git.openjdk.org/leyden/commit/67fb1ee7f11c840a28ace21d381c86353fd9b22b 8356946: x86: Optimize interpreter profile updates Reviewed-by: kvn, jsjolen ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp Changeset: 2fb3329d Branch: premain Author: Andrey Turbanov Date: 2025-05-19 08:08:09 +0000 URL: https://git.openjdk.org/leyden/commit/2fb3329d71532a4c40dba2e2698572e4ab5ceb19 8356846: Remove unnecessary List.contains key from TIFFDirectory.removeTagSet Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/javax/imageio/plugins/tiff/TIFFDirectory.java Changeset: effe40a2 Branch: premain Author: Serhiy Sachkov Committer: Jaikiran Pai Date: 2025-05-19 09:08:33 +0000 URL: https://git.openjdk.org/leyden/commit/effe40a24c29dc507eea5efef7b0736a33bc34a7 8351843: change test/jdk/com/sun/net/httpserver/simpleserver/RootDirPermissionsTest.java to a manual test Reviewed-by: dfuchs ! test/jdk/TEST.groups + test/jdk/com/sun/net/httpserver/simpleserver/DocRootDirPermissionsTest.java + test/jdk/com/sun/net/httpserver/simpleserver/DocRootDirPermissionsWinTest.java - test/jdk/com/sun/net/httpserver/simpleserver/RootDirPermissionsTest.java Changeset: 133c6fb4 Branch: premain Author: Johan Sj?len Date: 2025-05-19 10:04:32 +0000 URL: https://git.openjdk.org/leyden/commit/133c6fb4f34e9de3ffce92e10629c82f6723fcdd 8355481: Clean up MHN_copyOutBootstrapArguments Reviewed-by: dholmes, coleenp ! src/hotspot/share/prims/methodHandles.cpp Changeset: 36c9be70 Branch: premain Author: Manuel H?ssig Committer: Jaikiran Pai Date: 2025-05-19 10:15:56 +0000 URL: https://git.openjdk.org/leyden/commit/36c9be70e27eccdd2a156931fafa1f55dd3fb022 8356974: tools/launcher/ToolsOpts.java fails if the build id contains "-J" Reviewed-by: jpai, thartmann ! test/jdk/tools/launcher/ToolsOpts.java Changeset: afcaf840 Branch: premain Author: Sorna Sarathi N Committer: Jaikiran Pai Date: 2025-05-19 10:17:13 +0000 URL: https://git.openjdk.org/leyden/commit/afcaf84022f165d66068c16460b7666f48e84773 8357106: Add missing classpath exception copyright headers Reviewed-by: jpai ! src/java.base/share/classes/jdk/internal/foreign/CaptureStateUtil.java Changeset: 7f7add1e Branch: premain Author: Johan Sj?len Date: 2025-05-19 10:52:41 +0000 URL: https://git.openjdk.org/leyden/commit/7f7add1e56c4da18ce8fbbbf6e34e985c3054604 8355608: Async UL should take the file lock of stream when outputting Reviewed-by: aboldtch, iklam ! src/hotspot/share/logging/logFileStreamOutput.cpp Changeset: 26cb016b Branch: premain Author: Roland Westrelin Date: 2025-05-19 11:06:03 +0000 URL: https://git.openjdk.org/leyden/commit/26cb016b750963a4622985399130024792691984 8350329: C2: Div looses dependency on condition that guarantees divisor not zero in counted loop after peeling Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/loopTransform.cpp + test/hotspot/jtreg/compiler/controldependency/TestPeeledLoopNoBackedgeFloatingDiv.java Changeset: 3acfa9e4 Branch: premain Author: Daniel Gredler Committer: Alexey Ivanov Date: 2025-05-19 11:28:54 +0000 URL: https://git.openjdk.org/leyden/commit/3acfa9e4e7be2f37ac55f97348aad4f74ba802a0 8356966: java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java fails on Linux after JDK-8350203 Reviewed-by: honkar, aivanov ! src/java.desktop/share/classes/sun/font/Type1GlyphMapper.java ! test/jdk/java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java Changeset: 2e26b431 Branch: premain Author: Hamlin Li Date: 2025-05-19 13:32:03 +0000 URL: https://git.openjdk.org/leyden/commit/2e26b431585129b705f57955b660d155eaf138b8 8356875: RISC-V: extension flag UseZvfh should depends on UseZfh Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/vm_version_riscv.cpp Changeset: 92fd4499 Branch: premain Author: Hamlin Li Date: 2025-05-19 13:32:17 +0000 URL: https://git.openjdk.org/leyden/commit/92fd44992b9326fa10ec8303394dac17bb81b168 8350960: RISC-V: Add riscv backend for Float16 operations - vectorization Reviewed-by: fyang, dzhang, luhenry ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/riscv_v.ad ! test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java Changeset: 265d6301 Branch: premain Author: Erik Gahlin Date: 2025-05-19 13:38:38 +0000 URL: https://git.openjdk.org/leyden/commit/265d630125db448ba0cdc3ab7e938beb50e93ed0 8357187: JFR: User-defined defaults should be respected when an incorrect setting is set Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/EventControl.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/CutoffSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/PeriodSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/ThresholdSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/settings/ThrottleSetting.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/util/Utils.java Changeset: fbc12be7 Branch: premain Author: Mikhail Yankelevich Committer: Weijun Wang Date: 2025-05-19 14:33:12 +0000 URL: https://git.openjdk.org/leyden/commit/fbc12be73217315d66792b6ad3faacab133bb9d5 8349151: Refactor test/java/security/cert/CertificateFactory/slowstream.sh to java test Reviewed-by: weijun ! test/jdk/java/security/cert/CertificateFactory/SlowStream.java - test/jdk/java/security/cert/CertificateFactory/slowstream.sh Changeset: 84a98ab4 Branch: premain Author: Vladimir Kozlov Date: 2025-05-19 14:53:52 +0000 URL: https://git.openjdk.org/leyden/commit/84a98ab43ff268d0b10926b35320717d691337ae 8357166: Many AOT tests failed with VM crash Reviewed-by: thartmann, shade ! src/hotspot/share/code/aotCodeCache.cpp Changeset: 6a58af31 Branch: premain Author: Vladimir Kozlov Date: 2025-05-19 15:00:54 +0000 URL: https://git.openjdk.org/leyden/commit/6a58af310ab2b800642f4604ee90cc74981fb9f3 8357143: New test AOTCodeCompressedOopsTest.java fails on platforms without AOT Code Cache support Reviewed-by: asmehra, fyang, shade, mdoerr ! test/hotspot/jtreg/TEST.ROOT ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/jtreg-ext/requires/VMProps.java Changeset: 6818dcc0 Branch: premain Author: Stuart Marks Date: 2025-05-19 16:53:13 +0000 URL: https://git.openjdk.org/leyden/commit/6818dcc08ed85e220c5206fda5c991b886e35334 8351230: Collections.synchronizedList returns a list that is not thread-safe Reviewed-by: jpai ! src/java.base/share/classes/java/util/Collections.java + test/jdk/java/util/Collections/SyncListBash.java ! test/jdk/java/util/SequencedCollection/Basic.java Changeset: bd995256 Branch: premain Author: Leonid Mesnik Date: 2025-05-19 17:09:15 +0000 URL: https://git.openjdk.org/leyden/commit/bd99525633e4d3d3f180a6678eedb8780dbb6139 8356193: Remove tests from ProblemList-enable-preview.txt fixed by JDK-8344706 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList-enable-preview.txt ! test/jdk/ProblemList-enable-preview.txt Changeset: 27a42435 Branch: premain Author: Yannik Stradmann Committer: David Holmes Date: 2025-05-19 21:28:02 +0000 URL: https://git.openjdk.org/leyden/commit/27a4243561e31d6f2858dd0c0bd356e2849ed87c 8354560: Exponentially delay subsequent native thread creation in case of EAGAIN Reviewed-by: dholmes, fbredberg ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp Changeset: fbeea1da Branch: premain Author: Sergey Bylokhov Date: 2025-05-19 21:33:22 +0000 URL: https://git.openjdk.org/leyden/commit/fbeea1daef6a65875d713395c489483762d804fe 8356844: Missing @Serial annotation for sun.print.CustomOutputBin#serialVersionUID Reviewed-by: aivanov, prr ! src/java.desktop/share/classes/sun/print/CustomOutputBin.java Changeset: 637e9d16 Branch: premain Author: Vicente Romero Date: 2025-05-19 22:47:13 +0000 URL: https://git.openjdk.org/leyden/commit/637e9d16ddb21003234abcd32f759aefd91f21f9 8354556: Expand value-based class warnings to java.lang.ref API Co-authored-by: Archie Cobbs Reviewed-by: jlahoda ! make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java ! src/java.base/share/classes/java/lang/ref/Cleaner.java ! src/java.base/share/classes/java/lang/ref/PhantomReference.java ! src/java.base/share/classes/java/lang/ref/Reference.java ! src/java.base/share/classes/java/lang/ref/ReferenceQueue.java ! src/java.base/share/classes/java/lang/ref/SoftReference.java ! src/java.base/share/classes/java/lang/ref/WeakReference.java ! src/java.base/share/classes/java/util/WeakHashMap.java + src/java.base/share/classes/jdk/internal/RequiresIdentity.java ! src/java.base/share/classes/jdk/internal/ValueBased.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Arguments.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Options.java ! src/jdk.compiler/share/classes/module-info.java ! src/jdk.compiler/share/man/javac.md ! test/langtools/tools/javac/diags/CheckResourceKeys.java ! test/langtools/tools/javac/diags/examples/AttemptToSynchronizeOnInstanceOfVbc.java + test/langtools/tools/javac/diags/examples/RequiresIdentity.java ! test/langtools/tools/javac/lint/ExternalAbuseOfVbc.java ! test/langtools/tools/javac/lint/ExternalAbuseOfVbc.out + test/langtools/tools/javac/lint/RequiresIdentityHelper.java + test/langtools/tools/javac/lint/RequiresIdentityTest.java + test/langtools/tools/javac/lint/RequiresIdentityTest.out + test/langtools/tools/javac/lint/RequiresIdentityTest2.out Changeset: 890456f0 Branch: premain Author: Sergey Bylokhov Date: 2025-05-19 23:43:19 +0000 URL: https://git.openjdk.org/leyden/commit/890456f0f78cc37c72b438a50ddf2605e1dfd91b 8355078: java.awt.Color.createContext() uses unnecessary synchronization Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/Color.java ! src/java.desktop/share/classes/java/awt/ColorPaintContext.java + test/jdk/java/awt/ColorClass/PaintContext/ColorPaintContextBasicTest.java + test/jdk/java/awt/ColorClass/PaintContext/ColorPaintContextStateTrackerTest.java Changeset: 39d8d109 Branch: premain Author: Jan Lahoda Date: 2025-05-20 02:40:05 +0000 URL: https://git.openjdk.org/leyden/commit/39d8d109dd8ab300ff6579f8077468a6b02cfbda 8348906: InstanceOfTree#getType doesn't specify when it returns null Reviewed-by: liach ! src/jdk.compiler/share/classes/com/sun/source/tree/InstanceOfTree.java + test/langtools/tools/javac/patterns/InstanceOfModelTest.java Changeset: 44ab1766 Branch: premain Author: Vladimir Kozlov Date: 2025-05-28 23:37:52 +0000 URL: https://git.openjdk.org/leyden/commit/44ab1766bc7f1f280a0d7a6f89ec99c3e8c54d78 Merge branch 'master' into premain through JDK-8348906 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/c1/c1_Compilation.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListParser.hpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/compiler/compilerDirectives.hpp ! src/hotspot/share/compiler/compilerOracle.hpp ! src/hotspot/share/compiler/precompiler.cpp ! src/hotspot/share/compiler/recompilationPolicy.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/prims/methodHandles.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/threads.cpp ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/c1/c1_Compilation.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListParser.hpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/compiler/compilerDirectives.hpp ! src/hotspot/share/compiler/compilerOracle.hpp + src/hotspot/share/compiler/precompiler.cpp + src/hotspot/share/compiler/recompilationPolicy.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/prims/methodHandles.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/threads.cpp ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java From jianglizhou at google.com Thu May 29 16:57:34 2025 From: jianglizhou at google.com (Jiangli Zhou) Date: Thu, 29 May 2025 09:57:34 -0700 Subject: Questions about the Hermetic Java project In-Reply-To: <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> Message-ID: On Wed, May 28, 2025 at 10:36?PM David Holmes wrote: > > Hi Jiangli, > > > > On 29/05/2025 3:27 am, Jiangli Zhou wrote: > >>> This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. > >> > >> Thumbs up! That seems to be a good direction. Currently in the leyden > >> branch, it first looks up the unique > >> JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in > >> libraries, then search for the dynamic libraries using the > >> conventional naming when necessary. e.g.: > >> > >> https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a > >> https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 > >> > >> When spec supports JNI_OnLoad_ and etc. for dynamic > >> libraries, we may still need to support the conventional naming > >> without the <_lib_name> part for existing libraries out there. > > > > Resuming the conversation on using > > JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L > > for dynamically linked JNI & agent libraries. It is related to > > JDK-8350450 [1]: Compile object files once for both static and dynamic > > builds. We have recently enabled building & tier1 testing for > > static-jdk with release binary in GHA on linux-x64. The debug build > > however cannot be enabled in GHA due to space/resource limit (please > > see more details in JDK-8350450). So it's a good time to pick up > > JDK-8350450 related work. Based on discussions with Magnus in > > JDK-8350450 bug comments and separate emails from last year, I'll > > extract the runtime changes from the leyden/hermetic-java-runtime > > branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically > > linked JNI/agent libraries. The work has been broadly tested in our > > internal prototype on JDK 11 and newer versions (linux-x64). > > > > Regarding the spec part, Ron, Alan, Magnus and myself had several > > discussions last year during hermetic Java meetings. The general > > understanding was that using JNI_OnLoad_L (and etc) for dynamically > > linked JDK native libraries requires no JNI/JVMTI spec change. I > > wonder if the following languages should be relaxed a bit to address > > potential questions. Any thoughts? > > I don't know exactly what was discussed, but I don't see how you can not > update the JNI (and other) specifications to do what you want to do, if > that involves invoking JNI_OnLoad_L in the dynamic case instead of > JNI_OnLoad. ?? Hi David, (refreshing my memory based on hermetic Java meeting notes) It's based on the following language in the JNI spec, https://docs.oracle.com/en/java/javase/21/docs/specs/jni/invocation.html#support-for-statically-linked-libraries: Support for Statically Linked Libraries "If dynamically linked library defines JNI_OnLoad_L and/or JNI_OnUnload_L functions, these functions will be ignored." The spec allows JNI_OnLoad_L and etc in dynamically linked libraries. For JDK internal native libraries, the implementation could use these symbols without requiring changing the spec. Ron, Alan, or Magnus, please correct or add any additional info. Best, Jiangli > > David > ----- > > > > From JNI spec [3]: > > > > - JNI_OnLoad/JNI_OnUnload > > Optional function defined by dynamically linked libraries. > > > > LINKAGE: > > Exported from dynamically linked native libraries that contain > > native method implementations. > > > > - JNI_OnLoad_L > > Mandatory function that must be defined by statically linked libraries . > > > > LINKAGE: > > Exported from statically linked native libraries that contain native > > method implementations. > > > > - JNI_OnUnload_L > > Optional function defined by statically linked libraries. > > > > From JVMTI spec [4]: > > > > An agent L whose image has been combined with the VM is defined as > > statically linked if and only if the agent exports a function called > > Agent_OnLoad_L. > > > > [1]: https://bugs.openjdk.org/browse/JDK-8350450 > > [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime > > [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ > > [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html > > > > Best, > > Jiangli > > > >> > >>> > >>> And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. > >>> > >>> A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. > >> > >> Thank you for taking this on! Potentially we could consider taking the > >> objcopy to localizing hotspot symbols on unix-like platforms, based on > >> https://github.com/openjdk/jdk/pull/17456 discussions. Additional > >> testing is still needed to verify the solution. > >> > >>> > >>> My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. > >> > >> Most of the JDK resources are now supported as hermetic jimage > >> (lib/modules) bundled in the > >> https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. > >> The remaining sound.properties, ct.sym and .jfc files can be handled > >> later. Overally, that part of the work has confirmed the hermetic > >> jimage bundled solution is robust and helps resolve some of the > >> difficult start-up sequence issues observed when the hermetic resource > >> was implemented using JAR file based solution. > >> > >> It might be a good idea to follow up on the static linking discussion > >> in tomorrow's zoom meeting (hope you'll be able to join tomorrow). > >> > >> Thanks! > >> > >> Jiangli > >>> > >>> /Magnus > >>> > >>> > >>> > >>> Thanks! > >>> Jiangli > >>> > >>> On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: > >>>> > >>>> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: > >>>>> > >>>>> Hi Magnus, > >>>>> > >>>>> Thanks for looking into this from the build perspective. > >>>>> > >>>>> On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie > >>>>> wrote: > >>>>>> > >>>>>> First some background for build-dev: I have spent some time looking at > >>>>>> the build implications of the Hermetic Java effort, which is part of > >>>>>> Project Leyden. A high-level overview is available here: > >>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source > >>>>>> code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. > >>>>> > >>>>> Some additional hermetic Java related references that are also useful: > >>>>> > >>>>> - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that > >>>>> links to the issues for resolving static linking issues so far > >>>>> - https://github.com/openjdk/jdk21/pull/26 is the enhancement for > >>>>> building the complete set of static libraries in JDK/VM, particularly > >>>>> including libjvm.a > >>>>> > >>>>>> > >>>>>> Hermetic Java faces several challenges, but the part that is relevant > >>>>>> for the build system is the ability to create static libraries. We've > >>>>>> had this functionality (in three different ways...) for some time, but > >>>>>> it is rather badly implemented. > >>>>>> > >>>>>> As a result of my investigations, I have a bunch of questions. :-) I > >>>>>> have gotten some answers in private discussion, but for the sake of > >>>>>> transparency I will repeat them here, to foster an open dialogue. > >>>>>> > >>>>>> 1. Am I correct in understanding that the ultimate goal of this exercise > >>>>>> is to be able to have jmods which include static libraries (*.a) of the > >>>>>> native code which the module uses, and that the user can then run a > >>>>>> special jlink command to have this linked into a single executable > >>>>>> binary (which also bundles the *.class files and any additional > >>>>>> resources needed)? > >>>>>> > >>>>>> 2. If so, is the idea to create special kinds of static jmods, like > >>>>>> java.base-static.jmod, that contains *.a files instead of lib*.so files? > >>>>>> Or is the idea that the normal jmod should contain both? > >>>>>> > >>>>>> 3. Linking .o and .a files into an executable is a formidable task. Is > >>>>>> the intention to have jlink call a system-provided ld, or to bundle ld > >>>>>> with jlink, or to reimplement this functionality in Java? > >>>>> > >>>>> I have a similar view as Alan responded in your other email thread. > >>>>> Things are still in the early stage for the general solution. > >>>>> > >>>>> In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime > >>>>> branch, when configuring JDK with --with-static-java=yes, the JDK > >>>>> binary contains the following extra artifacts: > >>>>> > >>>>> - static-libs/*.a: The complete set of JDK/VM static libraries > >>>>> - jdk/bin/javastatic: A demo Java launcher fully statically linked > >>>>> with the selected JDK .a libraries (e.g. it currently statically link > >>>>> with the headless) and libjvm.a. It's the standard Java launcher > >>>>> without additional work for hermetic Java. > >>>>> > >>>>> In our prototype for hermetic Java, we build the hermetic executable > >>>>> image (a single image) from the following input (see description on > >>>>> singlejar packaging tool in > >>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf): > >>>>> > >>>>> - A customized launcher (with additional work for hermetic) executable > >>>>> fully statically linked with JDK/VM static libraries (.a files), > >>>>> application natives and dependencies (e.g. in .a static libraries) > >>>>> - JDK lib/modules, JDK resource files > >>>>> - Application classes and resource files > >>>>> > >>>>> Including a JDK library .a into the corresponding .jmod would require > >>>>> extracting the .a for linking with the executable. In some systems > >>>>> that may cause memory overhead due to the extracted copy of the .a > >>>>> files. I think we should consider the memory overhead issue. > >>>>> > >>>>> One possibility (as Alan described in his response) is for jlink to > >>>>> invoke the ld on the build system. jlink could pass the needed JDK > >>>>> static libraries and libjvm.a (provided as part of the JDK binary) to > >>>>> ld based on the modules required for the application. > >>>>> > >>>> > >>>> I gave a bit more thoughts on this one. For jlink to trigger ld, it > >>>> would need to know the complete linker options and inputs. Those > >>>> include options and inputs related to the application part as well. In > >>>> some usages, it might be easier to handle native linking separately > >>>> and pass the linker output, the executable to jlink directly. Maybe we > >>>> could consider supporting different modes for various usages > >>>> requirements, from static libraries and native linking point of view: > >>>> > >>>> Mode #1 > >>>> Support .jmod packaged natives static libraries, for both JDK/VM .a > >>>> and application natives and dependencies. If the inputs to jlink > >>>> include .jmods, jlink can extract the .a libraries and pass the > >>>> information to ld to link the executable. > >>>> > >>>> Mode #2 > >>>> Support separate .a as jlink input. Jlink could pass the path > >>>> information to the .a libraries and other linker options to ld to > >>>> create the executable. > >>>> > >>>> For both mode #1 and #2, jlink would then use the linker output > >>>> executable to create the final hermetic image. > >>>> > >>>> Mode #3 > >>>> Support a fully linked executable as a jlink input. When a linked > >>>> executable is given to jlink, it can process it directly with other > >>>> JDK data/files to create the final image, without native linking step. > >>>> > >>>> Any other thoughts and considerations? > >>>> > >>>> Best, > >>>> Jiangli > >>>> > >>>>>> > >>>>>> 4. Is the intention is to allow users to create their own jmods with > >>>>>> static libraries, and have these linked in as well? This seems to be the > >>>>>> case. > >>>>> > >>>>> An alternative with less memory overhead could be using application > >>>>> modular JAR and separate .a as the input for jlink. > >>>>> > >>>>>> If that is so, then there will always be the risk for name > >>>>>> collisions, and we can only minimize the risk by making sure any global > >>>>>> names are as unique as possible. > >>>>> > >>>>> Part of the current effort includes resolving the discovered symbol > >>>>> collision issues with static linking. Will respond to your other email > >>>>> on the symbol issue separately later. > >>>>> > >>>>>> > >>>>>> 5. The original implementation of static builds in the JDK, created for > >>>>>> the Mobile project, used a configure flag, --enable-static-builds, to > >>>>>> change the entire behavior of the build system to only produce *.a files > >>>>>> instead of lib*.so. In contrast, the current system is using a special > >>>>>> target instead. > >>>>> > >>>>> I think we would need both configure flag and special target for the > >>>>> static builds. > >>>>> > >>>>>> In my eyes, this is a much worse solution. Apart from > >>>>>> the conceptual principle (if the build should generate static or dynamic > >>>>>> libraries is definitely a property of what a "configuration" means), > >>>>>> this makes it much harder to implement efficiently, since we cannot make > >>>>>> changes in NativeCompilation.gmk, where they are needed. > >>>>> > >>>>> For the potential objcopy work to resolve symbol issues, we can add > >>>>> that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We > >>>>> have an internal prototype (not included in > >>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done > >>>>> by one of colleagues for localizing symbols in libfreetype using > >>>>> objcopy. > >>>>> > >>>>>> > >>>>>> That was not as much a question as a statement. ? But here is the > >>>>>> question: Do you think it would be reasonable to restore the old > >>>>>> behavior but with the new methods, so that we don't use special targets, > >>>>>> but instead tells configure to generate static libraries? I'm thinking > >>>>>> we should have a flag like "--with-library-type=" that can have values > >>>>>> "dynamic" (which is default), "static" or "both". > >>>>> > >>>>> If we want to also build a fully statically linked launcher, maybe > >>>>> --with-static-java? Being able to configure either dynamic, static or > >>>>> both as you suggested also seems to be a good idea. > >>>>> > >>>>>> I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files > >>>>>> into a single jmod file (see question 2 above), then it definitely is. > >>>>>> In general, the cost of producing two kinds of libraries are quite > >>>>>> small, compared to the cost of compiling the source code to object files. > >>>>> > >>>>> Completely agree. It would be good to avoid recompiling the .o file > >>>>> for static and dynamic builds. As proposed in > >>>>> https://bugs.openjdk.org/browse/JDK-8303796: > >>>>> > >>>>> It's beneficial to be able to build both .so and .a from the same set > >>>>> of .o files. That would involve some changes to handle the dynamic JDK > >>>>> and static JDK difference at runtime, instead of relying on the > >>>>> STATIC_BUILD macro. > >>>>> > >>>>>> > >>>>>> Finally, I have looked at how to manipulate symbol visibility. There > >>>>>> seems many ways forward, so I feel confident that we can find a good > >>>>>> solution. > >>>>>> > >>>>>> One way forward is to use objcopy to manipulate symbol status > >>>>>> (global/local). There is an option --localize-symbol in objcopy, that > >>>>>> has been available in objcopy since at least 2.15, which was released > >>>>>> 2004, so it should be safe to use. But ideally we should avoid using > >>>>>> objcopy and do this as part of the linking process. This should be > >>>>>> possible to do, given that we make changes in NativeCompilation.gmk -- > >>>>>> see question 5 above. > >>>>>> > >>>>>> As a fallback, it is also possible to rename symbols, either piecewise > >>>>>> or wholesale, using objcopy. There are many ways to do this, using > >>>>>> --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this > >>>>>> takes a file with a list of symbols). Thus we can always introduce a > >>>>>> "post factum namespace" by renaming symbols. > >>>>> > >>>>> Renaming or redefining the symbol at build time could cause confusions > >>>>> with debugging. That's a concern raised in > >>>>> https://github.com/openjdk/jdk/pull/17456 discussions. > >>>>> > >>>>> Additionally, redefining symbols using tools like objcopy may not > >>>>> handle member names referenced in string literals. For example, in > >>>>> https://github.com/openjdk/jdk/pull/17456 additional changes are > >>>>> needed in assembling and SA to reflect the symbol change. > >>>>> > >>>>>> > >>>>>> So in the end, I think it will be fully possible to produce .a files > >>>>>> that only has global symbols for the functions that are part of the API > >>>>>> exposed by that library, and have all other symbols local, and make this > >>>>>> is in a way that is consistent with the rest of the build system. > >>>>>> > >>>>>> Finally, a note on Hotspot. Due to debugging reasons, we export > >>>>>> basically all symbols in hotspot as global. This is not reasonable to do > >>>>>> for a static build. The effect of not exporting those symbols will be > >>>>>> that SA will not function to 100%. On the other hand, I have no idea if > >>>>>> SA works at all with a static build. Have you tested this? Is this part > >>>>>> of the plan to support, or will it be officially dropped for Hermetic Java? > >>>>> > >>>>> We have done some testing with jtreg SA related tests for the fully > >>>>> statically linked `javastatic`. > >>>>> > >>>>> If we use objcopy to localize symbols in hotspot, it's not yet clear > >>>>> what's the impact on SA. We could do some tests. The other question > >>>>> that I raised is the supported gcc versions (for partial linking) > >>>>> related to the solution. > >>>>> > >>>>> Best, > >>>>> Jiangli > >>>>> > >>>>>> > >>>>>> /Magnus > >>>>>> > From duke at openjdk.org Thu May 29 20:05:40 2025 From: duke at openjdk.org (duke) Date: Thu, 29 May 2025 20:05:40 GMT Subject: git: openjdk/leyden: premain: 16 new changesets Message-ID: Changeset: 7077535c Branch: premain Author: Ioi Lam Date: 2025-05-20 03:44:25 +0000 URL: https://git.openjdk.org/leyden/commit/7077535c0b0a6ea0a2a167f9135b1504a3d71fb3 8356595: Convert -Xlog:cds to -Xlog:aot (step1) Reviewed-by: ccheung, dholmes, jsjolen, matsaave ! make/GenerateLinkOptData.gmk ! make/RunTests.gmk ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp + src/hotspot/share/cds/aotLogging.hpp ! src/hotspot/share/cds/aotReferenceObjSupport.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsEnumKlass.cpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/dumpAllocStats.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/prims/jvmtiTagMap.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/services/heapDumper.cpp ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/ArchiveRelocationTest.java ! test/hotspot/jtreg/runtime/cds/appcds/ClassListFormatBase.java ! test/hotspot/jtreg/runtime/cds/appcds/DumpingWithNoCoops.java ! test/hotspot/jtreg/runtime/cds/appcds/LambdaWithJavaAgent.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTCacheSupportForCustomLoaders.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTLoggingTag.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/VerifierFailOver.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AOTCacheWithZGC.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/FakeCodeLocation.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/cacheObject/ArchiveHeapTestClass.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArrayKlasses.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/ExactOptionMatch.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addopens/AddopensOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/module/ModuleOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jvmti/CFLH/ClassFileLoadHookTest.java ! test/hotspot/jtreg/runtime/cds/serviceability/ReplaceCriticalClasses.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java Changeset: f8d7f663 Branch: premain Author: Ioi Lam Date: 2025-05-20 05:46:34 +0000 URL: https://git.openjdk.org/leyden/commit/f8d7f663c1b8f12a69f0ff2ae1f1acb128138b86 8356998: Convert -Xlog:cds to -Xlog:aot (step 2) Reviewed-by: ccheung, matsaave ! make/Images.gmk ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/archiveUtils.inline.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListWriter.cpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/regeneratedClasses.cpp ! src/hotspot/share/classfile/classLoaderDataShared.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/compactHashtable.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/memory/metaspaceClosure.cpp ! src/hotspot/share/memory/metaspaceClosure.hpp ! src/hotspot/share/oops/annotations.cpp ! src/hotspot/share/oops/arrayKlass.cpp ! src/hotspot/share/oops/constMethod.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/recordComponent.cpp ! src/hotspot/share/oops/symbol.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/hotspot/jtreg/runtime/cds/CDSMapReader.java ! test/hotspot/jtreg/runtime/cds/CDSMapTest.java ! test/hotspot/jtreg/runtime/cds/DeterministicDump.java ! test/hotspot/jtreg/runtime/cds/SharedStrings.java ! test/hotspot/jtreg/runtime/cds/SpaceUtilizationCheck.java ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/ExtraSymbols.java ! test/hotspot/jtreg/runtime/cds/appcds/LambdaEagerInit.java ! test/hotspot/jtreg/runtime/cds/appcds/LambdaWithJavaAgent.java ! test/hotspot/jtreg/runtime/cds/appcds/VerifierTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddExports.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddReads.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/MethodHandleTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/WeakReferenceTest.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LambdasInTwoArchives.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UsedAllArchivedLambdas.java ! test/hotspot/jtreg/runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/CheckUnsupportedDumpingOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addopens/AddopensOption.java ! test/hotspot/jtreg/runtime/cds/appcds/jigsaw/module/ModuleOption.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/AOTLinkedLambdas.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/AOTLinkedVarHandles.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedConstants.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedPutField.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/ExerciseGC.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/FlagCombo.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/IncompatibleOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/InternSharedString.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/LargePages.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasic.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasicPlus.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsStress.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsWbTest.java ! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java Changeset: e961b13c Branch: premain Author: Jan Lahoda Date: 2025-05-20 06:04:33 +0000 URL: https://git.openjdk.org/leyden/commit/e961b13cd68bc352b86af17c7e53df8537519beb 8356165: System.in in jshell replace supplementary characters with ?? Reviewed-by: cstein, asotona ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java + test/langtools/jdk/jshell/InputUITest.java ! test/langtools/jdk/jshell/UITesting.java Changeset: f8fc7eeb Branch: premain Author: Arno Zeller Committer: SendaoYan Date: 2025-05-20 10:19:22 +0000 URL: https://git.openjdk.org/leyden/commit/f8fc7eeb24156f9c38ddd478b026074f522e39c4 8357052: java/io/File/GetXSpace.java prints wrong values in exception Reviewed-by: bpb ! test/jdk/java/io/File/GetXSpace.java Changeset: 0db5511c Branch: premain Author: Anton Artemov Committer: David Holmes Date: 2025-05-20 10:20:59 +0000 URL: https://git.openjdk.org/leyden/commit/0db5511ce6b0a5209af6f9a35ac993292b6b0b19 8354969: Add strdup function for ResourceArea Reviewed-by: dholmes, iklam ! src/hotspot/os/windows/perfMemory_windows.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/memory/resourceArea.hpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/services/heapDumper.cpp ! test/hotspot/gtest/memory/test_arena.cpp Changeset: ab985a7c Branch: premain Author: Anton Artemov Committer: David Holmes Date: 2025-05-20 10:44:34 +0000 URL: https://git.openjdk.org/leyden/commit/ab985a7c5d313304e6d601571885dcb871967259 8341544: Restore fence() in Mutex Reviewed-by: eosterlund, dholmes ! src/hotspot/share/runtime/mutex.cpp ! src/hotspot/share/runtime/mutex.hpp Changeset: 1a97eb42 Branch: premain Author: Manukumar V S Committer: Alexey Ivanov Date: 2025-05-20 12:06:35 +0000 URL: https://git.openjdk.org/leyden/commit/1a97eb429b520b7c4e625b97553c954d065c00cb 8355515: Clarify the purpose of forcePass() and forceFail() methods Reviewed-by: aivanov, kizune ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java Changeset: e6750a5b Branch: premain Author: Albert Mingkun Yang Date: 2025-05-20 13:15:43 +0000 URL: https://git.openjdk.org/leyden/commit/e6750a5bb0580733820a0885d40704e050baf97d 8357218: G1: Remove loop in G1CollectedHeap::try_collect_fullgc Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp Changeset: 277bb208 Branch: premain Author: Emanuel Peter Date: 2025-05-20 13:51:47 +0000 URL: https://git.openjdk.org/leyden/commit/277bb208a2c6de888c57285854b6f5d030021f94 8355094: Performance drop in auto-vectorized kernel due to split store Reviewed-by: vlivanov, thartmann ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/superword.cpp + test/micro/org/openjdk/bench/vm/compiler/VectorAutoAlignment.java + test/micro/org/openjdk/bench/vm/compiler/VectorAutoAlignmentVisualization.java Changeset: 62d155e8 Branch: premain Author: Roland Westrelin Date: 2025-05-20 14:18:41 +0000 URL: https://git.openjdk.org/leyden/commit/62d155e8c3b952ecf1f615666c7d71996ba43d74 8355230: Crash in fuzzer tests: assert(n != nullptr) failed: must not be null Reviewed-by: thartmann, epeter ! src/hotspot/share/opto/node.cpp + test/hotspot/jtreg/compiler/c2/TestNullRegionInputAtPhiMakePathDead.java Changeset: 6162e2c5 Branch: premain Author: Weijun Wang Date: 2025-05-20 14:50:46 +0000 URL: https://git.openjdk.org/leyden/commit/6162e2c5213c5dd7c1127fd9616b543efa898962 8357062: Update Public Suffix List to 823beb1 Reviewed-by: mullan ! src/java.base/share/data/publicsuffixlist/VERSION ! src/java.base/share/data/publicsuffixlist/public_suffix_list.dat ! src/java.base/share/legal/public_suffix.md ! test/jdk/sun/security/util/RegisteredDomain/ParseNames.java ! test/jdk/sun/security/util/RegisteredDomain/tests.dat Changeset: bcf5cd69 Branch: premain Author: Brian Burkhalter Date: 2025-05-20 15:49:51 +0000 URL: https://git.openjdk.org/leyden/commit/bcf5cd69413abd95bf7c3a0249fe1c9b713c85a6 8355954: File.delete removes read-only files (win) Reviewed-by: alanb ! src/java.base/windows/classes/java/io/WinNTFileSystem.java ! src/java.base/windows/native/libjava/WinNTFileSystem_md.c + test/jdk/java/io/File/DeleteReadOnly.java ! test/jdk/java/io/File/SetAccess.java ! test/jdk/javax/management/security/HashedPasswordFileTest.java Changeset: e9d1d87b Branch: premain Author: Patrick Strawderman Committer: Daniel Fuchs Date: 2025-05-20 17:20:49 +0000 URL: https://git.openjdk.org/leyden/commit/e9d1d87b34f636747065c01128a12fc057070e09 8357013: HttpURLConnection#getResponseCode can avoid substring call when parsing to int Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/HttpURLConnection.java Changeset: 972f2ebe Branch: premain Author: Ferenc Rakoczi Committer: Sandhya Viswanathan Date: 2025-05-20 19:06:22 +0000 URL: https://git.openjdk.org/leyden/commit/972f2ebe978280d22531a70116e79837632f6ebc 8351412: Add AVX-512 intrinsics for ML-KEM Reviewed-by: sviswanathan ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.hpp + src/hotspot/cpu/x86/stubGenerator_x86_64_kyber.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/java.base/share/classes/com/sun/crypto/provider/ML_KEM.java Changeset: cedd1a53 Branch: premain Author: Vladimir Kozlov Date: 2025-05-20 20:11:56 +0000 URL: https://git.openjdk.org/leyden/commit/cedd1a5343dceb5394b8ed5ea78bb717f05c8caf 8357250: assert(shift >= 0 && shift < 4) failed: unexpected compressd klass shift! Reviewed-by: asmehra, mdoerr ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/vtableStubs_aarch64.cpp ! src/hotspot/share/code/relocInfo.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: 06be7c5a Branch: premain Author: Vladimir Kozlov Date: 2025-05-29 13:04:33 +0000 URL: https://git.openjdk.org/leyden/commit/06be7c5a8a38d5d96bd16f936c08ddd22566b9ea Merge branch 'master' into premain through JDK-8357250 ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListWriter.cpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/dumpAllocStats.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/cds/regeneratedClasses.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderDataShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/memory/metaspaceClosure.hpp ! src/hotspot/share/oops/constMethod.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/mutex.cpp ! src/hotspot/share/runtime/mutex.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/hotspot/jtreg/runtime/cds/CDSMapReader.java ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/AOTToolOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddOpens.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/RegeneratedClassesInDynamicArchive.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/leyden/EndTrainingOnMethodEntry.java ! test/hotspot/jtreg/runtime/cds/appcds/leyden/EndTrainingWithAOTCacheMXBean.java ! test/hotspot/jtreg/runtime/cds/appcds/leyden/LeydenAndOldClasses.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedConstants.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassInitializer.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapWriter.cpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/archiveUtils.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/classListWriter.cpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/dumpAllocStats.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/cds/regeneratedClasses.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderDataShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/memory/metaspaceClosure.hpp ! src/hotspot/share/oops/constMethod.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/mutex.cpp ! src/hotspot/share/runtime/mutex.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/hotspot/jtreg/runtime/cds/CDSMapReader.java ! test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java + test/hotspot/jtreg/runtime/cds/appcds/AOTToolOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/AddOpens.java + test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/RegeneratedClassesInDynamicArchive.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java + test/hotspot/jtreg/runtime/cds/appcds/leyden/EndTrainingOnMethodEntry.java + test/hotspot/jtreg/runtime/cds/appcds/leyden/EndTrainingWithAOTCacheMXBean.java + test/hotspot/jtreg/runtime/cds/appcds/leyden/LeydenAndOldClasses.java ! test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedConstants.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java From david.holmes at oracle.com Thu May 29 22:16:53 2025 From: david.holmes at oracle.com (David Holmes) Date: Fri, 30 May 2025 08:16:53 +1000 Subject: Questions about the Hermetic Java project In-Reply-To: References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> Message-ID: <105e5e22-cc87-48a0-978c-f2e472277843@oracle.com> On 30/05/2025 2:57 am, Jiangli Zhou wrote: > On Wed, May 28, 2025 at 10:36?PM David Holmes wrote: >> >> Hi Jiangli, >> >> >> >> On 29/05/2025 3:27 am, Jiangli Zhou wrote: >>>>> This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. >>>> >>>> Thumbs up! That seems to be a good direction. Currently in the leyden >>>> branch, it first looks up the unique >>>> JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in >>>> libraries, then search for the dynamic libraries using the >>>> conventional naming when necessary. e.g.: >>>> >>>> https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a >>>> https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 >>>> >>>> When spec supports JNI_OnLoad_ and etc. for dynamic >>>> libraries, we may still need to support the conventional naming >>>> without the <_lib_name> part for existing libraries out there. >>> >>> Resuming the conversation on using >>> JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L >>> for dynamically linked JNI & agent libraries. It is related to >>> JDK-8350450 [1]: Compile object files once for both static and dynamic >>> builds. We have recently enabled building & tier1 testing for >>> static-jdk with release binary in GHA on linux-x64. The debug build >>> however cannot be enabled in GHA due to space/resource limit (please >>> see more details in JDK-8350450). So it's a good time to pick up >>> JDK-8350450 related work. Based on discussions with Magnus in >>> JDK-8350450 bug comments and separate emails from last year, I'll >>> extract the runtime changes from the leyden/hermetic-java-runtime >>> branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically >>> linked JNI/agent libraries. The work has been broadly tested in our >>> internal prototype on JDK 11 and newer versions (linux-x64). >>> >>> Regarding the spec part, Ron, Alan, Magnus and myself had several >>> discussions last year during hermetic Java meetings. The general >>> understanding was that using JNI_OnLoad_L (and etc) for dynamically >>> linked JDK native libraries requires no JNI/JVMTI spec change. I >>> wonder if the following languages should be relaxed a bit to address >>> potential questions. Any thoughts? >> >> I don't know exactly what was discussed, but I don't see how you can not >> update the JNI (and other) specifications to do what you want to do, if >> that involves invoking JNI_OnLoad_L in the dynamic case instead of >> JNI_OnLoad. ?? > > Hi David, > > (refreshing my memory based on hermetic Java meeting notes) > > It's based on the following language in the JNI spec, > https://docs.oracle.com/en/java/javase/21/docs/specs/jni/invocation.html#support-for-statically-linked-libraries: > > Support for Statically Linked Libraries > > "If dynamically linked library defines JNI_OnLoad_L and/or > JNI_OnUnload_L functions, these functions will be ignored." > > The spec allows JNI_OnLoad_L and etc in dynamically linked libraries. > For JDK internal native libraries, the implementation could use these > symbols without requiring changing the spec. Ron, Alan, or Magnus, > please correct or add any additional info. If this is only a convention for internal-use then I agree, no spec change needed. For internal-use-only we can define whatever load/unload hooks we like. David > Best, > Jiangli > > >> >> David >> ----- >> >> >>> From JNI spec [3]: >>> >>> - JNI_OnLoad/JNI_OnUnload >>> Optional function defined by dynamically linked libraries. >>> >>> LINKAGE: >>> Exported from dynamically linked native libraries that contain >>> native method implementations. >>> >>> - JNI_OnLoad_L >>> Mandatory function that must be defined by statically linked libraries . >>> >>> LINKAGE: >>> Exported from statically linked native libraries that contain native >>> method implementations. >>> >>> - JNI_OnUnload_L >>> Optional function defined by statically linked libraries. >>> >>> From JVMTI spec [4]: >>> >>> An agent L whose image has been combined with the VM is defined as >>> statically linked if and only if the agent exports a function called >>> Agent_OnLoad_L. >>> >>> [1]: https://bugs.openjdk.org/browse/JDK-8350450 >>> [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime >>> [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ >>> [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html >>> >>> Best, >>> Jiangli >>> >>>> >>>>> >>>>> And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. >>>>> >>>>> A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. >>>> >>>> Thank you for taking this on! Potentially we could consider taking the >>>> objcopy to localizing hotspot symbols on unix-like platforms, based on >>>> https://github.com/openjdk/jdk/pull/17456 discussions. Additional >>>> testing is still needed to verify the solution. >>>> >>>>> >>>>> My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. >>>> >>>> Most of the JDK resources are now supported as hermetic jimage >>>> (lib/modules) bundled in the >>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. >>>> The remaining sound.properties, ct.sym and .jfc files can be handled >>>> later. Overally, that part of the work has confirmed the hermetic >>>> jimage bundled solution is robust and helps resolve some of the >>>> difficult start-up sequence issues observed when the hermetic resource >>>> was implemented using JAR file based solution. >>>> >>>> It might be a good idea to follow up on the static linking discussion >>>> in tomorrow's zoom meeting (hope you'll be able to join tomorrow). >>>> >>>> Thanks! >>>> >>>> Jiangli >>>>> >>>>> /Magnus >>>>> >>>>> >>>>> >>>>> Thanks! >>>>> Jiangli >>>>> >>>>> On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: >>>>>> >>>>>> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: >>>>>>> >>>>>>> Hi Magnus, >>>>>>> >>>>>>> Thanks for looking into this from the build perspective. >>>>>>> >>>>>>> On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie >>>>>>> wrote: >>>>>>>> >>>>>>>> First some background for build-dev: I have spent some time looking at >>>>>>>> the build implications of the Hermetic Java effort, which is part of >>>>>>>> Project Leyden. A high-level overview is available here: >>>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source >>>>>>>> code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. >>>>>>> >>>>>>> Some additional hermetic Java related references that are also useful: >>>>>>> >>>>>>> - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that >>>>>>> links to the issues for resolving static linking issues so far >>>>>>> - https://github.com/openjdk/jdk21/pull/26 is the enhancement for >>>>>>> building the complete set of static libraries in JDK/VM, particularly >>>>>>> including libjvm.a >>>>>>> >>>>>>>> >>>>>>>> Hermetic Java faces several challenges, but the part that is relevant >>>>>>>> for the build system is the ability to create static libraries. We've >>>>>>>> had this functionality (in three different ways...) for some time, but >>>>>>>> it is rather badly implemented. >>>>>>>> >>>>>>>> As a result of my investigations, I have a bunch of questions. :-) I >>>>>>>> have gotten some answers in private discussion, but for the sake of >>>>>>>> transparency I will repeat them here, to foster an open dialogue. >>>>>>>> >>>>>>>> 1. Am I correct in understanding that the ultimate goal of this exercise >>>>>>>> is to be able to have jmods which include static libraries (*.a) of the >>>>>>>> native code which the module uses, and that the user can then run a >>>>>>>> special jlink command to have this linked into a single executable >>>>>>>> binary (which also bundles the *.class files and any additional >>>>>>>> resources needed)? >>>>>>>> >>>>>>>> 2. If so, is the idea to create special kinds of static jmods, like >>>>>>>> java.base-static.jmod, that contains *.a files instead of lib*.so files? >>>>>>>> Or is the idea that the normal jmod should contain both? >>>>>>>> >>>>>>>> 3. Linking .o and .a files into an executable is a formidable task. Is >>>>>>>> the intention to have jlink call a system-provided ld, or to bundle ld >>>>>>>> with jlink, or to reimplement this functionality in Java? >>>>>>> >>>>>>> I have a similar view as Alan responded in your other email thread. >>>>>>> Things are still in the early stage for the general solution. >>>>>>> >>>>>>> In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime >>>>>>> branch, when configuring JDK with --with-static-java=yes, the JDK >>>>>>> binary contains the following extra artifacts: >>>>>>> >>>>>>> - static-libs/*.a: The complete set of JDK/VM static libraries >>>>>>> - jdk/bin/javastatic: A demo Java launcher fully statically linked >>>>>>> with the selected JDK .a libraries (e.g. it currently statically link >>>>>>> with the headless) and libjvm.a. It's the standard Java launcher >>>>>>> without additional work for hermetic Java. >>>>>>> >>>>>>> In our prototype for hermetic Java, we build the hermetic executable >>>>>>> image (a single image) from the following input (see description on >>>>>>> singlejar packaging tool in >>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf): >>>>>>> >>>>>>> - A customized launcher (with additional work for hermetic) executable >>>>>>> fully statically linked with JDK/VM static libraries (.a files), >>>>>>> application natives and dependencies (e.g. in .a static libraries) >>>>>>> - JDK lib/modules, JDK resource files >>>>>>> - Application classes and resource files >>>>>>> >>>>>>> Including a JDK library .a into the corresponding .jmod would require >>>>>>> extracting the .a for linking with the executable. In some systems >>>>>>> that may cause memory overhead due to the extracted copy of the .a >>>>>>> files. I think we should consider the memory overhead issue. >>>>>>> >>>>>>> One possibility (as Alan described in his response) is for jlink to >>>>>>> invoke the ld on the build system. jlink could pass the needed JDK >>>>>>> static libraries and libjvm.a (provided as part of the JDK binary) to >>>>>>> ld based on the modules required for the application. >>>>>>> >>>>>> >>>>>> I gave a bit more thoughts on this one. For jlink to trigger ld, it >>>>>> would need to know the complete linker options and inputs. Those >>>>>> include options and inputs related to the application part as well. In >>>>>> some usages, it might be easier to handle native linking separately >>>>>> and pass the linker output, the executable to jlink directly. Maybe we >>>>>> could consider supporting different modes for various usages >>>>>> requirements, from static libraries and native linking point of view: >>>>>> >>>>>> Mode #1 >>>>>> Support .jmod packaged natives static libraries, for both JDK/VM .a >>>>>> and application natives and dependencies. If the inputs to jlink >>>>>> include .jmods, jlink can extract the .a libraries and pass the >>>>>> information to ld to link the executable. >>>>>> >>>>>> Mode #2 >>>>>> Support separate .a as jlink input. Jlink could pass the path >>>>>> information to the .a libraries and other linker options to ld to >>>>>> create the executable. >>>>>> >>>>>> For both mode #1 and #2, jlink would then use the linker output >>>>>> executable to create the final hermetic image. >>>>>> >>>>>> Mode #3 >>>>>> Support a fully linked executable as a jlink input. When a linked >>>>>> executable is given to jlink, it can process it directly with other >>>>>> JDK data/files to create the final image, without native linking step. >>>>>> >>>>>> Any other thoughts and considerations? >>>>>> >>>>>> Best, >>>>>> Jiangli >>>>>> >>>>>>>> >>>>>>>> 4. Is the intention is to allow users to create their own jmods with >>>>>>>> static libraries, and have these linked in as well? This seems to be the >>>>>>>> case. >>>>>>> >>>>>>> An alternative with less memory overhead could be using application >>>>>>> modular JAR and separate .a as the input for jlink. >>>>>>> >>>>>>>> If that is so, then there will always be the risk for name >>>>>>>> collisions, and we can only minimize the risk by making sure any global >>>>>>>> names are as unique as possible. >>>>>>> >>>>>>> Part of the current effort includes resolving the discovered symbol >>>>>>> collision issues with static linking. Will respond to your other email >>>>>>> on the symbol issue separately later. >>>>>>> >>>>>>>> >>>>>>>> 5. The original implementation of static builds in the JDK, created for >>>>>>>> the Mobile project, used a configure flag, --enable-static-builds, to >>>>>>>> change the entire behavior of the build system to only produce *.a files >>>>>>>> instead of lib*.so. In contrast, the current system is using a special >>>>>>>> target instead. >>>>>>> >>>>>>> I think we would need both configure flag and special target for the >>>>>>> static builds. >>>>>>> >>>>>>>> In my eyes, this is a much worse solution. Apart from >>>>>>>> the conceptual principle (if the build should generate static or dynamic >>>>>>>> libraries is definitely a property of what a "configuration" means), >>>>>>>> this makes it much harder to implement efficiently, since we cannot make >>>>>>>> changes in NativeCompilation.gmk, where they are needed. >>>>>>> >>>>>>> For the potential objcopy work to resolve symbol issues, we can add >>>>>>> that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We >>>>>>> have an internal prototype (not included in >>>>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done >>>>>>> by one of colleagues for localizing symbols in libfreetype using >>>>>>> objcopy. >>>>>>> >>>>>>>> >>>>>>>> That was not as much a question as a statement. ? But here is the >>>>>>>> question: Do you think it would be reasonable to restore the old >>>>>>>> behavior but with the new methods, so that we don't use special targets, >>>>>>>> but instead tells configure to generate static libraries? I'm thinking >>>>>>>> we should have a flag like "--with-library-type=" that can have values >>>>>>>> "dynamic" (which is default), "static" or "both". >>>>>>> >>>>>>> If we want to also build a fully statically linked launcher, maybe >>>>>>> --with-static-java? Being able to configure either dynamic, static or >>>>>>> both as you suggested also seems to be a good idea. >>>>>>> >>>>>>>> I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files >>>>>>>> into a single jmod file (see question 2 above), then it definitely is. >>>>>>>> In general, the cost of producing two kinds of libraries are quite >>>>>>>> small, compared to the cost of compiling the source code to object files. >>>>>>> >>>>>>> Completely agree. It would be good to avoid recompiling the .o file >>>>>>> for static and dynamic builds. As proposed in >>>>>>> https://bugs.openjdk.org/browse/JDK-8303796: >>>>>>> >>>>>>> It's beneficial to be able to build both .so and .a from the same set >>>>>>> of .o files. That would involve some changes to handle the dynamic JDK >>>>>>> and static JDK difference at runtime, instead of relying on the >>>>>>> STATIC_BUILD macro. >>>>>>> >>>>>>>> >>>>>>>> Finally, I have looked at how to manipulate symbol visibility. There >>>>>>>> seems many ways forward, so I feel confident that we can find a good >>>>>>>> solution. >>>>>>>> >>>>>>>> One way forward is to use objcopy to manipulate symbol status >>>>>>>> (global/local). There is an option --localize-symbol in objcopy, that >>>>>>>> has been available in objcopy since at least 2.15, which was released >>>>>>>> 2004, so it should be safe to use. But ideally we should avoid using >>>>>>>> objcopy and do this as part of the linking process. This should be >>>>>>>> possible to do, given that we make changes in NativeCompilation.gmk -- >>>>>>>> see question 5 above. >>>>>>>> >>>>>>>> As a fallback, it is also possible to rename symbols, either piecewise >>>>>>>> or wholesale, using objcopy. There are many ways to do this, using >>>>>>>> --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this >>>>>>>> takes a file with a list of symbols). Thus we can always introduce a >>>>>>>> "post factum namespace" by renaming symbols. >>>>>>> >>>>>>> Renaming or redefining the symbol at build time could cause confusions >>>>>>> with debugging. That's a concern raised in >>>>>>> https://github.com/openjdk/jdk/pull/17456 discussions. >>>>>>> >>>>>>> Additionally, redefining symbols using tools like objcopy may not >>>>>>> handle member names referenced in string literals. For example, in >>>>>>> https://github.com/openjdk/jdk/pull/17456 additional changes are >>>>>>> needed in assembling and SA to reflect the symbol change. >>>>>>> >>>>>>>> >>>>>>>> So in the end, I think it will be fully possible to produce .a files >>>>>>>> that only has global symbols for the functions that are part of the API >>>>>>>> exposed by that library, and have all other symbols local, and make this >>>>>>>> is in a way that is consistent with the rest of the build system. >>>>>>>> >>>>>>>> Finally, a note on Hotspot. Due to debugging reasons, we export >>>>>>>> basically all symbols in hotspot as global. This is not reasonable to do >>>>>>>> for a static build. The effect of not exporting those symbols will be >>>>>>>> that SA will not function to 100%. On the other hand, I have no idea if >>>>>>>> SA works at all with a static build. Have you tested this? Is this part >>>>>>>> of the plan to support, or will it be officially dropped for Hermetic Java? >>>>>>> >>>>>>> We have done some testing with jtreg SA related tests for the fully >>>>>>> statically linked `javastatic`. >>>>>>> >>>>>>> If we use objcopy to localize symbols in hotspot, it's not yet clear >>>>>>> what's the impact on SA. We could do some tests. The other question >>>>>>> that I raised is the supported gcc versions (for partial linking) >>>>>>> related to the solution. >>>>>>> >>>>>>> Best, >>>>>>> Jiangli >>>>>>> >>>>>>>> >>>>>>>> /Magnus >>>>>>>> >> From jianglizhou at google.com Thu May 29 23:26:35 2025 From: jianglizhou at google.com (Jiangli Zhou) Date: Thu, 29 May 2025 16:26:35 -0700 Subject: Questions about the Hermetic Java project In-Reply-To: <105e5e22-cc87-48a0-978c-f2e472277843@oracle.com> References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> <105e5e22-cc87-48a0-978c-f2e472277843@oracle.com> Message-ID: On Thu, May 29, 2025 at 3:17?PM David Holmes wrote: > > On 30/05/2025 2:57 am, Jiangli Zhou wrote: > > On Wed, May 28, 2025 at 10:36?PM David Holmes wrote: > >> > >> Hi Jiangli, > >> > >> > >> > >> On 29/05/2025 3:27 am, Jiangli Zhou wrote: > >>>>> This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. > >>>> > >>>> Thumbs up! That seems to be a good direction. Currently in the leyden > >>>> branch, it first looks up the unique > >>>> JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in > >>>> libraries, then search for the dynamic libraries using the > >>>> conventional naming when necessary. e.g.: > >>>> > >>>> https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a > >>>> https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 > >>>> > >>>> When spec supports JNI_OnLoad_ and etc. for dynamic > >>>> libraries, we may still need to support the conventional naming > >>>> without the <_lib_name> part for existing libraries out there. > >>> > >>> Resuming the conversation on using > >>> JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L > >>> for dynamically linked JNI & agent libraries. It is related to > >>> JDK-8350450 [1]: Compile object files once for both static and dynamic > >>> builds. We have recently enabled building & tier1 testing for > >>> static-jdk with release binary in GHA on linux-x64. The debug build > >>> however cannot be enabled in GHA due to space/resource limit (please > >>> see more details in JDK-8350450). So it's a good time to pick up > >>> JDK-8350450 related work. Based on discussions with Magnus in > >>> JDK-8350450 bug comments and separate emails from last year, I'll > >>> extract the runtime changes from the leyden/hermetic-java-runtime > >>> branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically > >>> linked JNI/agent libraries. The work has been broadly tested in our > >>> internal prototype on JDK 11 and newer versions (linux-x64). > >>> > >>> Regarding the spec part, Ron, Alan, Magnus and myself had several > >>> discussions last year during hermetic Java meetings. The general > >>> understanding was that using JNI_OnLoad_L (and etc) for dynamically > >>> linked JDK native libraries requires no JNI/JVMTI spec change. I > >>> wonder if the following languages should be relaxed a bit to address > >>> potential questions. Any thoughts? > >> > >> I don't know exactly what was discussed, but I don't see how you can not > >> update the JNI (and other) specifications to do what you want to do, if > >> that involves invoking JNI_OnLoad_L in the dynamic case instead of > >> JNI_OnLoad. ?? > > > > Hi David, > > > > (refreshing my memory based on hermetic Java meeting notes) > > > > It's based on the following language in the JNI spec, > > https://docs.oracle.com/en/java/javase/21/docs/specs/jni/invocation.html#support-for-statically-linked-libraries: > > > > Support for Statically Linked Libraries > > > > "If dynamically linked library defines JNI_OnLoad_L and/or > > JNI_OnUnload_L functions, these functions will be ignored." > > > > The spec allows JNI_OnLoad_L and etc in dynamically linked libraries. > > For JDK internal native libraries, the implementation could use these > > symbols without requiring changing the spec. Ron, Alan, or Magnus, > > please correct or add any additional info. > > If this is only a convention for internal-use then I agree, no spec > change needed. For internal-use-only we can define whatever load/unload > hooks we like. Thanks, David. Yeah, that seems to be the rationale with using JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L in JDK native libraries, before any spec update. I just thought of one more thing related to the discussion now. Any concern if the implementation does not ignore JNI_OnLoad_L and etc if they are defined application's dynamically linked native libraries? Or that's unspecified behavior and it's up to the implement to decide? Thanks! Jiangli > > David > > > Best, > > Jiangli > > > > > >> > >> David > >> ----- > >> > >> > >>> From JNI spec [3]: > >>> > >>> - JNI_OnLoad/JNI_OnUnload > >>> Optional function defined by dynamically linked libraries. > >>> > >>> LINKAGE: > >>> Exported from dynamically linked native libraries that contain > >>> native method implementations. > >>> > >>> - JNI_OnLoad_L > >>> Mandatory function that must be defined by statically linked libraries . > >>> > >>> LINKAGE: > >>> Exported from statically linked native libraries that contain native > >>> method implementations. > >>> > >>> - JNI_OnUnload_L > >>> Optional function defined by statically linked libraries. > >>> > >>> From JVMTI spec [4]: > >>> > >>> An agent L whose image has been combined with the VM is defined as > >>> statically linked if and only if the agent exports a function called > >>> Agent_OnLoad_L. > >>> > >>> [1]: https://bugs.openjdk.org/browse/JDK-8350450 > >>> [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime > >>> [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ > >>> [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html > >>> > >>> Best, > >>> Jiangli > >>> > >>>> > >>>>> > >>>>> And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. > >>>>> > >>>>> A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. > >>>> > >>>> Thank you for taking this on! Potentially we could consider taking the > >>>> objcopy to localizing hotspot symbols on unix-like platforms, based on > >>>> https://github.com/openjdk/jdk/pull/17456 discussions. Additional > >>>> testing is still needed to verify the solution. > >>>> > >>>>> > >>>>> My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. > >>>> > >>>> Most of the JDK resources are now supported as hermetic jimage > >>>> (lib/modules) bundled in the > >>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. > >>>> The remaining sound.properties, ct.sym and .jfc files can be handled > >>>> later. Overally, that part of the work has confirmed the hermetic > >>>> jimage bundled solution is robust and helps resolve some of the > >>>> difficult start-up sequence issues observed when the hermetic resource > >>>> was implemented using JAR file based solution. > >>>> > >>>> It might be a good idea to follow up on the static linking discussion > >>>> in tomorrow's zoom meeting (hope you'll be able to join tomorrow). > >>>> > >>>> Thanks! > >>>> > >>>> Jiangli > >>>>> > >>>>> /Magnus > >>>>> > >>>>> > >>>>> > >>>>> Thanks! > >>>>> Jiangli > >>>>> > >>>>> On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: > >>>>>> > >>>>>> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: > >>>>>>> > >>>>>>> Hi Magnus, > >>>>>>> > >>>>>>> Thanks for looking into this from the build perspective. > >>>>>>> > >>>>>>> On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie > >>>>>>> wrote: > >>>>>>>> > >>>>>>>> First some background for build-dev: I have spent some time looking at > >>>>>>>> the build implications of the Hermetic Java effort, which is part of > >>>>>>>> Project Leyden. A high-level overview is available here: > >>>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source > >>>>>>>> code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. > >>>>>>> > >>>>>>> Some additional hermetic Java related references that are also useful: > >>>>>>> > >>>>>>> - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that > >>>>>>> links to the issues for resolving static linking issues so far > >>>>>>> - https://github.com/openjdk/jdk21/pull/26 is the enhancement for > >>>>>>> building the complete set of static libraries in JDK/VM, particularly > >>>>>>> including libjvm.a > >>>>>>> > >>>>>>>> > >>>>>>>> Hermetic Java faces several challenges, but the part that is relevant > >>>>>>>> for the build system is the ability to create static libraries. We've > >>>>>>>> had this functionality (in three different ways...) for some time, but > >>>>>>>> it is rather badly implemented. > >>>>>>>> > >>>>>>>> As a result of my investigations, I have a bunch of questions. :-) I > >>>>>>>> have gotten some answers in private discussion, but for the sake of > >>>>>>>> transparency I will repeat them here, to foster an open dialogue. > >>>>>>>> > >>>>>>>> 1. Am I correct in understanding that the ultimate goal of this exercise > >>>>>>>> is to be able to have jmods which include static libraries (*.a) of the > >>>>>>>> native code which the module uses, and that the user can then run a > >>>>>>>> special jlink command to have this linked into a single executable > >>>>>>>> binary (which also bundles the *.class files and any additional > >>>>>>>> resources needed)? > >>>>>>>> > >>>>>>>> 2. If so, is the idea to create special kinds of static jmods, like > >>>>>>>> java.base-static.jmod, that contains *.a files instead of lib*.so files? > >>>>>>>> Or is the idea that the normal jmod should contain both? > >>>>>>>> > >>>>>>>> 3. Linking .o and .a files into an executable is a formidable task. Is > >>>>>>>> the intention to have jlink call a system-provided ld, or to bundle ld > >>>>>>>> with jlink, or to reimplement this functionality in Java? > >>>>>>> > >>>>>>> I have a similar view as Alan responded in your other email thread. > >>>>>>> Things are still in the early stage for the general solution. > >>>>>>> > >>>>>>> In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime > >>>>>>> branch, when configuring JDK with --with-static-java=yes, the JDK > >>>>>>> binary contains the following extra artifacts: > >>>>>>> > >>>>>>> - static-libs/*.a: The complete set of JDK/VM static libraries > >>>>>>> - jdk/bin/javastatic: A demo Java launcher fully statically linked > >>>>>>> with the selected JDK .a libraries (e.g. it currently statically link > >>>>>>> with the headless) and libjvm.a. It's the standard Java launcher > >>>>>>> without additional work for hermetic Java. > >>>>>>> > >>>>>>> In our prototype for hermetic Java, we build the hermetic executable > >>>>>>> image (a single image) from the following input (see description on > >>>>>>> singlejar packaging tool in > >>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf): > >>>>>>> > >>>>>>> - A customized launcher (with additional work for hermetic) executable > >>>>>>> fully statically linked with JDK/VM static libraries (.a files), > >>>>>>> application natives and dependencies (e.g. in .a static libraries) > >>>>>>> - JDK lib/modules, JDK resource files > >>>>>>> - Application classes and resource files > >>>>>>> > >>>>>>> Including a JDK library .a into the corresponding .jmod would require > >>>>>>> extracting the .a for linking with the executable. In some systems > >>>>>>> that may cause memory overhead due to the extracted copy of the .a > >>>>>>> files. I think we should consider the memory overhead issue. > >>>>>>> > >>>>>>> One possibility (as Alan described in his response) is for jlink to > >>>>>>> invoke the ld on the build system. jlink could pass the needed JDK > >>>>>>> static libraries and libjvm.a (provided as part of the JDK binary) to > >>>>>>> ld based on the modules required for the application. > >>>>>>> > >>>>>> > >>>>>> I gave a bit more thoughts on this one. For jlink to trigger ld, it > >>>>>> would need to know the complete linker options and inputs. Those > >>>>>> include options and inputs related to the application part as well. In > >>>>>> some usages, it might be easier to handle native linking separately > >>>>>> and pass the linker output, the executable to jlink directly. Maybe we > >>>>>> could consider supporting different modes for various usages > >>>>>> requirements, from static libraries and native linking point of view: > >>>>>> > >>>>>> Mode #1 > >>>>>> Support .jmod packaged natives static libraries, for both JDK/VM .a > >>>>>> and application natives and dependencies. If the inputs to jlink > >>>>>> include .jmods, jlink can extract the .a libraries and pass the > >>>>>> information to ld to link the executable. > >>>>>> > >>>>>> Mode #2 > >>>>>> Support separate .a as jlink input. Jlink could pass the path > >>>>>> information to the .a libraries and other linker options to ld to > >>>>>> create the executable. > >>>>>> > >>>>>> For both mode #1 and #2, jlink would then use the linker output > >>>>>> executable to create the final hermetic image. > >>>>>> > >>>>>> Mode #3 > >>>>>> Support a fully linked executable as a jlink input. When a linked > >>>>>> executable is given to jlink, it can process it directly with other > >>>>>> JDK data/files to create the final image, without native linking step. > >>>>>> > >>>>>> Any other thoughts and considerations? > >>>>>> > >>>>>> Best, > >>>>>> Jiangli > >>>>>> > >>>>>>>> > >>>>>>>> 4. Is the intention is to allow users to create their own jmods with > >>>>>>>> static libraries, and have these linked in as well? This seems to be the > >>>>>>>> case. > >>>>>>> > >>>>>>> An alternative with less memory overhead could be using application > >>>>>>> modular JAR and separate .a as the input for jlink. > >>>>>>> > >>>>>>>> If that is so, then there will always be the risk for name > >>>>>>>> collisions, and we can only minimize the risk by making sure any global > >>>>>>>> names are as unique as possible. > >>>>>>> > >>>>>>> Part of the current effort includes resolving the discovered symbol > >>>>>>> collision issues with static linking. Will respond to your other email > >>>>>>> on the symbol issue separately later. > >>>>>>> > >>>>>>>> > >>>>>>>> 5. The original implementation of static builds in the JDK, created for > >>>>>>>> the Mobile project, used a configure flag, --enable-static-builds, to > >>>>>>>> change the entire behavior of the build system to only produce *.a files > >>>>>>>> instead of lib*.so. In contrast, the current system is using a special > >>>>>>>> target instead. > >>>>>>> > >>>>>>> I think we would need both configure flag and special target for the > >>>>>>> static builds. > >>>>>>> > >>>>>>>> In my eyes, this is a much worse solution. Apart from > >>>>>>>> the conceptual principle (if the build should generate static or dynamic > >>>>>>>> libraries is definitely a property of what a "configuration" means), > >>>>>>>> this makes it much harder to implement efficiently, since we cannot make > >>>>>>>> changes in NativeCompilation.gmk, where they are needed. > >>>>>>> > >>>>>>> For the potential objcopy work to resolve symbol issues, we can add > >>>>>>> that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We > >>>>>>> have an internal prototype (not included in > >>>>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done > >>>>>>> by one of colleagues for localizing symbols in libfreetype using > >>>>>>> objcopy. > >>>>>>> > >>>>>>>> > >>>>>>>> That was not as much a question as a statement. ? But here is the > >>>>>>>> question: Do you think it would be reasonable to restore the old > >>>>>>>> behavior but with the new methods, so that we don't use special targets, > >>>>>>>> but instead tells configure to generate static libraries? I'm thinking > >>>>>>>> we should have a flag like "--with-library-type=" that can have values > >>>>>>>> "dynamic" (which is default), "static" or "both". > >>>>>>> > >>>>>>> If we want to also build a fully statically linked launcher, maybe > >>>>>>> --with-static-java? Being able to configure either dynamic, static or > >>>>>>> both as you suggested also seems to be a good idea. > >>>>>>> > >>>>>>>> I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files > >>>>>>>> into a single jmod file (see question 2 above), then it definitely is. > >>>>>>>> In general, the cost of producing two kinds of libraries are quite > >>>>>>>> small, compared to the cost of compiling the source code to object files. > >>>>>>> > >>>>>>> Completely agree. It would be good to avoid recompiling the .o file > >>>>>>> for static and dynamic builds. As proposed in > >>>>>>> https://bugs.openjdk.org/browse/JDK-8303796: > >>>>>>> > >>>>>>> It's beneficial to be able to build both .so and .a from the same set > >>>>>>> of .o files. That would involve some changes to handle the dynamic JDK > >>>>>>> and static JDK difference at runtime, instead of relying on the > >>>>>>> STATIC_BUILD macro. > >>>>>>> > >>>>>>>> > >>>>>>>> Finally, I have looked at how to manipulate symbol visibility. There > >>>>>>>> seems many ways forward, so I feel confident that we can find a good > >>>>>>>> solution. > >>>>>>>> > >>>>>>>> One way forward is to use objcopy to manipulate symbol status > >>>>>>>> (global/local). There is an option --localize-symbol in objcopy, that > >>>>>>>> has been available in objcopy since at least 2.15, which was released > >>>>>>>> 2004, so it should be safe to use. But ideally we should avoid using > >>>>>>>> objcopy and do this as part of the linking process. This should be > >>>>>>>> possible to do, given that we make changes in NativeCompilation.gmk -- > >>>>>>>> see question 5 above. > >>>>>>>> > >>>>>>>> As a fallback, it is also possible to rename symbols, either piecewise > >>>>>>>> or wholesale, using objcopy. There are many ways to do this, using > >>>>>>>> --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this > >>>>>>>> takes a file with a list of symbols). Thus we can always introduce a > >>>>>>>> "post factum namespace" by renaming symbols. > >>>>>>> > >>>>>>> Renaming or redefining the symbol at build time could cause confusions > >>>>>>> with debugging. That's a concern raised in > >>>>>>> https://github.com/openjdk/jdk/pull/17456 discussions. > >>>>>>> > >>>>>>> Additionally, redefining symbols using tools like objcopy may not > >>>>>>> handle member names referenced in string literals. For example, in > >>>>>>> https://github.com/openjdk/jdk/pull/17456 additional changes are > >>>>>>> needed in assembling and SA to reflect the symbol change. > >>>>>>> > >>>>>>>> > >>>>>>>> So in the end, I think it will be fully possible to produce .a files > >>>>>>>> that only has global symbols for the functions that are part of the API > >>>>>>>> exposed by that library, and have all other symbols local, and make this > >>>>>>>> is in a way that is consistent with the rest of the build system. > >>>>>>>> > >>>>>>>> Finally, a note on Hotspot. Due to debugging reasons, we export > >>>>>>>> basically all symbols in hotspot as global. This is not reasonable to do > >>>>>>>> for a static build. The effect of not exporting those symbols will be > >>>>>>>> that SA will not function to 100%. On the other hand, I have no idea if > >>>>>>>> SA works at all with a static build. Have you tested this? Is this part > >>>>>>>> of the plan to support, or will it be officially dropped for Hermetic Java? > >>>>>>> > >>>>>>> We have done some testing with jtreg SA related tests for the fully > >>>>>>> statically linked `javastatic`. > >>>>>>> > >>>>>>> If we use objcopy to localize symbols in hotspot, it's not yet clear > >>>>>>> what's the impact on SA. We could do some tests. The other question > >>>>>>> that I raised is the supported gcc versions (for partial linking) > >>>>>>> related to the solution. > >>>>>>> > >>>>>>> Best, > >>>>>>> Jiangli > >>>>>>> > >>>>>>>> > >>>>>>>> /Magnus > >>>>>>>> > >> > From duke at openjdk.org Fri May 30 00:16:09 2025 From: duke at openjdk.org (duke) Date: Fri, 30 May 2025 00:16:09 GMT Subject: git: openjdk/leyden: premain: 54 new changesets Message-ID: <7dd51075-754b-4b54-a906-ce9f99111c4b@openjdk.org> Changeset: 74fc4e4e Branch: premain Author: Thomas Stuefe Date: 2025-05-21 04:39:35 +0000 URL: https://git.openjdk.org/leyden/commit/74fc4e4ee7f2e44d9c8339ff6665d4171d298f8f 8357179: Deprecate VFORK launch mechanism from Process implementation (linux) Reviewed-by: rriggs ! src/java.base/unix/classes/java/lang/ProcessImpl.java Changeset: 50e873f0 Branch: premain Author: Axel Boldt-Christmas Date: 2025-05-21 05:59:52 +0000 URL: https://git.openjdk.org/leyden/commit/50e873f0e88d6643586907dea5731d739b7826dc 8356455: ZGC: Replace ZIntrusiveRBTree with IntrusiveRBTree Reviewed-by: stefank, eosterlund, jsikstro - src/hotspot/share/gc/z/zIntrusiveRBTree.hpp - src/hotspot/share/gc/z/zIntrusiveRBTree.inline.hpp ! src/hotspot/share/gc/z/zMappedCache.cpp ! src/hotspot/share/gc/z/zMappedCache.hpp - test/hotspot/gtest/gc/z/test_zIntrusiveRBTree.cpp Changeset: 50a7755f Branch: premain Author: Aggelos Biboudis Date: 2025-05-21 06:44:54 +0000 URL: https://git.openjdk.org/leyden/commit/50a7755fa45529966373b58652c15975157ab846 8347530: Improve error message with invalid permits clauses Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties + test/langtools/tools/javac/T8347530.java + test/langtools/tools/javac/T8347530.out + test/langtools/tools/javac/diags/examples/SubtypeDoesntImplementSealed.java ! test/langtools/tools/javac/sealed/SealedDiffConfigurationsTest.java ! test/langtools/tools/javac/sealed/erroneous_hierarchy/CyclicHierarchyTest.out Changeset: 91194517 Branch: premain Author: Ivan Walulya Date: 2025-05-21 08:07:17 +0000 URL: https://git.openjdk.org/leyden/commit/91194517c75a96fe7bcc2dcf5e9c42af9cf5975a 8355756: G1HeapSizingPolicy::full_collection_resize_amount should consider allocation size Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp ! src/hotspot/share/gc/g1/g1HeapSizingPolicy.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp Changeset: a0cdf36b Branch: premain Author: Andrey Turbanov Date: 2025-05-21 08:39:43 +0000 URL: https://git.openjdk.org/leyden/commit/a0cdf36bdfeca9cd8b669859700d63d5ee627458 8357224: Avoid redundant WeakHashMap.get in Toolkit.removeAWTEventListener Reviewed-by: liach, aivanov, serb ! src/java.desktop/share/classes/java/awt/Toolkit.java Changeset: 735c7899 Branch: premain Author: Yudi Zheng Date: 2025-05-21 08:54:19 +0000 URL: https://git.openjdk.org/leyden/commit/735c7899d124a4e0c9579ea7802c9475eaedda10 8334717: Add JVMCI support for APX EGPRs Reviewed-by: dnsimon ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/aarch64/AArch64.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/amd64/AMD64.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/Architecture.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/CallingConvention.java - src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterArray.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterAttributes.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/RegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotRegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotVMConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotRegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/amd64/AMD64HotSpotVMConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/riscv64/RISCV64HotSpotJVMCIBackendFactory.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/riscv64/RISCV64HotSpotRegisterConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/riscv64/RISCV64HotSpotVMConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/riscv64/RISCV64.java ! test/hotspot/jtreg/compiler/jvmci/common/CodeInstallerTest.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/aarch64/AArch64TestAssembler.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/amd64/AMD64TestAssembler.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/riscv64/RISCV64TestAssembler.java Changeset: 5f38d1bb Branch: premain Author: Sergey Bylokhov Date: 2025-05-21 08:57:55 +0000 URL: https://git.openjdk.org/leyden/commit/5f38d1bb94d008c33c1a7af12c81ee0e15371e13 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build Reviewed-by: sspitsyn ! make/modules/jdk.jdwp.agent/Lib.gmk Changeset: 7c82e09b Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-21 09:23:23 +0000 URL: https://git.openjdk.org/leyden/commit/7c82e09b509a67cafd67f6d2aa33756bf8755253 8357048: RunTest variables should always be assigned Reviewed-by: erikj ! make/RunTests.gmk Changeset: b8057cf1 Branch: premain Author: Aleksey Shipilev Date: 2025-05-21 10:54:40 +0000 URL: https://git.openjdk.org/leyden/commit/b8057cf103bff6f8e2600c098519289a43227362 8357436: Change jspawnhelper warning recommendation from VFORK to FORK Reviewed-by: stuefe, alanb ! src/java.base/unix/native/libjava/ProcessImpl_md.c Changeset: 2c126f19 Branch: premain Author: Roman Kennke Date: 2025-05-21 11:11:58 +0000 URL: https://git.openjdk.org/leyden/commit/2c126f1954435a5b4d6cdc367b7b5e8c91cfae63 8357370: Export supported GCs in JVMCI Reviewed-by: dnsimon ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: a4f66f54 Branch: premain Author: Vicente Romero Date: 2025-05-21 11:27:05 +0000 URL: https://git.openjdk.org/leyden/commit/a4f66f5439f7fe585bd3664b7f2ceec23234e554 8325859: Potential information loss during type inference Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java + test/langtools/tools/javac/inference_context_min/SupplementaryInferenceContextTest.java Changeset: 108e454a Branch: premain Author: Dingli Zhang Committer: Feilong Jiang Date: 2025-05-21 11:43:13 +0000 URL: https://git.openjdk.org/leyden/commit/108e454a042aaca2a36cd0d8087e7668e3cac29c 8356924: RISC-V: Clean up cost for vector instructions Reviewed-by: fjiang, fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: a175767c Branch: premain Author: Thomas Schatzl Date: 2025-05-21 12:54:05 +0000 URL: https://git.openjdk.org/leyden/commit/a175767ccfb3dbcc04d1ba97f9fb2f57dc5ab5cf 8357018: Guidance for ParallelRefProcEnabled is wrong in the man pages Reviewed-by: kbarrett, iwalulya ! src/java.base/share/man/java.md Changeset: a07150af Branch: premain Author: Hannes Walln?fer Date: 2025-05-21 13:24:39 +0000 URL: https://git.openjdk.org/leyden/commit/a07150af1139b262513a25f4fdd32173af95ff4f 8357376: Disable syntax highlighting for JDK API docs Reviewed-by: erikj ! make/Docs.gmk Changeset: b63ec0ab Branch: premain Author: Chihiro Ito Date: 2025-05-21 14:05:33 +0000 URL: https://git.openjdk.org/leyden/commit/b63ec0ab584cb941b44a39b6ff130224ed444b60 8356945: jdk/jfr/event/os/TestProcessStart failed on Windows Subsystem for Linux Reviewed-by: egahlin ! test/jdk/jdk/jfr/event/os/TestProcessStart.java Changeset: 21c12822 Branch: premain Author: Alexey Semenyuk Date: 2025-05-21 14:37:14 +0000 URL: https://git.openjdk.org/leyden/commit/21c1282207614e57138b37a7adca4ccf11cf5bef 8333664: Decouple command line parsing and package building in jpackage Reviewed-by: almatvee ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/DesktopIntegration.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppBundler.java - src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppImageBuilder.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxApplicationLayout.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxApplicationLayoutMixin.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebPackageBuilder.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxFromParams.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxLaunchersAsServices.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageArch.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBuilder.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackageBundler.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackagingPipeline.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxRpmBundler.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxRpmPackageBuilder.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxApplication.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxDebPackage.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxDebPackageMixin.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxLauncher.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxLauncherMixin.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxPackage.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxPackageMixin.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxRpmPackage.java + src/jdk.jpackage/linux/classes/jdk/jpackage/internal/model/LinuxRpmPackageMixin.java ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources.properties + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/AppImageInfoPListFile.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/AppImageSigner.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/AppImageSigningConfigBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/Codesign.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/CodesignConfig.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/Keychain.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppBundler.java - src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageFileExtras.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationLayout.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationLayoutMixin.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacBaseInstallerBundler.java - src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacCertificate.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacCertificateUtils.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgPackageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgPackager.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacFileAssociationBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacFromParams.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacLaunchersAsServices.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPackageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPackagingPipeline.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgPackageBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgPackager.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/SigningIdentityBuilder.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/SigningIdentityImpl.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/TempKeychain.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/AppImageSigningConfig.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacApplication.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacApplicationMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacDmgPackage.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacDmgPackageMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacFileAssociation.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacFileAssociationMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacLauncher.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPackage.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPackageMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPkgPackage.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/MacPkgPackageMixin.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/PkgSigningConfig.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/model/SigningIdentity.java + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/adjust-component-plist.xsl + src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/util/PListWriter.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractAppImageBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractBundler.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageBundler.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageFile.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationImageUtils.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayoutUtils.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/Arguments.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/BuildEnv.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/BuildEnvBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/BuildEnvFromParams.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/BundlerParamInfo.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/CfgFile.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/CompositeProxyTunnel.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociation.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociationGroup.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociationScaner.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/FromParams.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/I18N.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/InstallableFile.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/JLinkBundlerHelper.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/JLinkRuntimeBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherAsService.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherData.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherFromParams.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherStartupInfoBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/OverridableResource.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackageBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackageFile.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackagerBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/PackagingPipeline.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/PlatformPackage.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/RuntimeBuilderBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/ScriptRunner.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/StandardBundlerParam.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/AppImageLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/AppImagePackageType.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Application.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationLaunchers.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationLayoutMixin.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationWriter.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ConfigException.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/CustomLauncherIcon.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/DefaultLauncherIcon.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/FileAssociation.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/I18N.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Launcher.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherIcon.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherJarStartupInfo.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherJarStartupInfoMixin.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherModularStartupInfo.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherModularStartupInfoMixin.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherStartupInfo.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Package.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackageType.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackageWriter.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackagerException.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/RuntimeBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/RuntimeLayout.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/StandardPackageType.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/package-info.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/BinaryMatrix.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/DirectedEdge.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/FixedDAG.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/TaskPipelineBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/pipeline/TaskSpecBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources.properties + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CollectionUtils.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CompositeProxy.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/LocalizedExceptionBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/PathGroup.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/PathUtils.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/StringBundle.java ! src/jdk.jpackage/share/classes/module-info.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/PackageScripts.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/ShellCustomAction.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/ShellCustomActionFactory.java ! src/jdk.jpackage/unix/classes/jdk/jpackage/internal/UnixLaunchersAsServices.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ExecutableRebrander.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/OSVersionCondition.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinAppBundler.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinExeBundler.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinExePackageBuilder.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinFromParams.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiPackageBuilder.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinPackagingPipeline.java - src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixAppImageFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixLauncherAsService.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixSourceConverter.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixUiFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/MsiVersion.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinApplication.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinApplicationMixin.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinExePackage.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinExePackageMixin.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinLauncher.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinLauncherMixin.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinMsiPackage.java + src/jdk.jpackage/windows/classes/jdk/jpackage/internal/model/WinMsiPackageMixin.java + test/jdk/tools/jpackage/clean_stashed_files.sh ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/AdditionalLauncher.java + test/jdk/tools/jpackage/helpers/jdk/jpackage/test/ConfigFilesStasher.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageUserScript.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/junit/TEST.properties ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/AppImageFileTest.java - test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/ApplicationLayoutTest.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/OverridableResourceTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/model/AppImageLayoutTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/model/ApplicationLayoutTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/BinaryMatrixTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/DirectedEdgeTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/FixedDAGTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/pipeline/TaskPipelineBuilderTest.java + test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/CompositeProxyTest.java ! test/jdk/tools/jpackage/share/PostImageScriptTest.java ! test/jdk/tools/jpackage/share/RuntimeImageTest.java Changeset: 254713ab Branch: premain Author: Hannes Walln?fer Date: 2025-05-21 14:37:30 +0000 URL: https://git.openjdk.org/leyden/commit/254713ab598f186fd31484a48a6dfebaeb752920 8338833: Error on reference not found for a snippet target Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/taglets/SnippetTaglet.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java Changeset: 275cfd32 Branch: premain Author: Brian Burkhalter Date: 2025-05-21 15:21:49 +0000 URL: https://git.openjdk.org/leyden/commit/275cfd323b1b7b5e8927e7be2f229d200bac9980 8357280: (bf) Remove @requires tags from java/nio/Buffer/LimitDirectMemory[NegativeTest].java Reviewed-by: alanb ! test/jdk/java/nio/Buffer/LimitDirectMemory.java ! test/jdk/java/nio/Buffer/LimitDirectMemoryNegativeTest.java Changeset: 6546de1d Branch: premain Author: Alexey Semenyuk Date: 2025-05-21 16:32:36 +0000 URL: https://git.openjdk.org/leyden/commit/6546de1d3adb8c4755950ee6fb858ec9ee1c5294 8357478: Fix copyright header in src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java Reviewed-by: jpai ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java Changeset: f1eead60 Branch: premain Author: Hannes Walln?fer Date: 2025-05-21 17:20:46 +0000 URL: https://git.openjdk.org/leyden/commit/f1eead60358fb919a94c7a91e61d1e54f04e584a 8357452: Remove code span highlight in JavaDoc default stylesheet Reviewed-by: nbenalla, jjg, liach ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/stylesheet.css Changeset: 2dfbf41d Branch: premain Author: Alexander Zvegintsev Date: 2025-05-21 17:21:05 +0000 URL: https://git.openjdk.org/leyden/commit/2dfbf41d2a3dbcd44f9ed9a58a1b0932d7536977 8351907: [XWayland] [OL10] Robot.mousePress() is delivered to wrong place Reviewed-by: honkar, prr ! src/java.desktop/unix/classes/sun/awt/UNIXToolkit.java ! src/java.desktop/unix/classes/sun/awt/X11/XRobotPeer.java ! src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java ! src/java.desktop/unix/classes/sun/awt/screencast/ScreencastHelper.java ! src/java.desktop/unix/classes/sun/awt/screencast/TokenStorage.java + src/java.desktop/unix/classes/sun/awt/screencast/XdgDesktopPortal.java ! src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c ! src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.h ! src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.c ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.h ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.c ! src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.h Changeset: 400c9350 Branch: premain Author: Jiangli Zhou Date: 2025-05-21 18:55:56 +0000 URL: https://git.openjdk.org/leyden/commit/400c935082a0d4d843cf369af6fefde12d637438 8356904: Skip jdk/test/lib/process/TestNativeProcessBuilder on static-jdk Reviewed-by: henryjen, rriggs ! test/lib-test/TEST.ROOT ! test/lib-test/jdk/test/lib/process/TestNativeProcessBuilder.java Changeset: 81536830 Branch: premain Author: Doug Simon Date: 2025-05-21 19:21:20 +0000 URL: https://git.openjdk.org/leyden/commit/81536830ed096005c4f09ab446238ce50989cea9 8345826: Do not automatically resolve jdk.internal.vm.ci when libgraal is used Reviewed-by: iklam, never, kvn ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.hpp ! src/hotspot/share/jvmci/jvmci_globals.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/JVMCIServiceLocator.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java Changeset: afcbf6b2 Branch: premain Author: Erik Joelsson Date: 2025-05-21 19:49:51 +0000 URL: https://git.openjdk.org/leyden/commit/afcbf6b2f49c00a544e6db5b4ed9da76c0bdcba4 8357173: Split jtreg test group jdk tier3 Reviewed-by: mikael ! test/jdk/TEST.groups Changeset: 4d706892 Branch: premain Author: Ian Graves Date: 2025-05-21 21:11:34 +0000 URL: https://git.openjdk.org/leyden/commit/4d7068923cd87fbfc2edee25406521b11580d153 8351993: VectorShuffle access to and from MemorySegments Reviewed-by: psandoz ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractShuffle.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Double64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short128Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short256Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short512Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short64Vector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortMaxVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShuffle.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-VectorBits.java.template ! test/jdk/jdk/incubator/vector/AbstractVectorLoadStoreTest.java ! test/jdk/jdk/incubator/vector/AbstractVectorTest.java ! test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template Changeset: 3ee14471 Branch: premain Author: Alexey Semenyuk Date: 2025-05-21 21:56:41 +0000 URL: https://git.openjdk.org/leyden/commit/3ee14471e10ca83fe96b7ee1d80a67a1f8c7f4ec 8357503: gcbasher fails with java.lang.IllegalArgumentException: Unknown constant pool type Reviewed-by: dholmes ! test/hotspot/jtreg/gc/stress/gcbasher/Decompiler.java Changeset: f687cac8 Branch: premain Author: Calvin Cheung Date: 2025-05-21 22:13:07 +0000 URL: https://git.openjdk.org/leyden/commit/f687cac88946b397d043e16ce3adc7b66a205af8 8353504: CDS archives are not found when JVM is in non-variant location Reviewed-by: iklam, shade ! src/hotspot/share/cds/cdsConfig.cpp + test/hotspot/jtreg/runtime/cds/NonJVMVariantLocation.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java Changeset: 07871cd7 Branch: premain Author: Shaojin Wen Date: 2025-05-21 22:39:11 +0000 URL: https://git.openjdk.org/leyden/commit/07871cd78aa7ee35762234112dfe46fe3ebc9a57 8357063: Document preconditions for DecimalDigits methods Reviewed-by: vyazici, liach, rriggs ! src/java.base/share/classes/java/lang/AbstractStringBuilder.java ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java ! src/java.base/share/classes/java/lang/StringConcatHelper.java ! src/java.base/share/classes/java/math/BigDecimal.java ! src/java.base/share/classes/jdk/internal/util/DecimalDigits.java ! test/hotspot/jtreg/compiler/patches/java.base/java/lang/Helper.java Changeset: b685ea54 Branch: premain Author: Mikael Vidstedt Date: 2025-05-22 00:37:54 +0000 URL: https://git.openjdk.org/leyden/commit/b685ea54081fcf54a6567dddb49b63435a6e1ea4 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned Reviewed-by: dholmes, erikj ! make/RunTests.gmk Changeset: ee689145 Branch: premain Author: Zdenek Zambersky Committer: SendaoYan Date: 2025-05-22 03:39:47 +0000 URL: https://git.openjdk.org/leyden/commit/ee6891456ed672305d9b48846b5a7977373e1284 8343618: Stack smashing in awt_InputMethod.c on Linux s390x Co-authored-by: Ichiroh Takiguchi Reviewed-by: prr, aph, amitkumar ! src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c Changeset: 3bebb1fa Branch: premain Author: Ioi Lam Date: 2025-05-22 04:04:54 +0000 URL: https://git.openjdk.org/leyden/commit/3bebb1fa76da863a24645e3057e0f8d500ef2a41 8357504: Refactor the assignment of loader bits in InstanceKlassFlags Reviewed-by: matsaave, ccheung ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsProtectionDomain.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/vmClasses.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassFlags.cpp ! src/hotspot/share/oops/instanceKlassFlags.hpp ! src/hotspot/share/oops/klass.cpp Changeset: 68c1d305 Branch: premain Author: Sergey Bylokhov Date: 2025-05-22 04:31:46 +0000 URL: https://git.openjdk.org/leyden/commit/68c1d305e726f3f4d7209b857f58cc10de5c0132 8357287: Unify usage of ICC profile "header size" constants in CMM-related code Reviewed-by: honkar, prr ! src/java.desktop/share/classes/java/awt/color/ICC_Profile.java ! src/java.desktop/share/classes/sun/java2d/cmm/ProfileDataVerifier.java Changeset: ec670652 Branch: premain Author: Jan Lahoda Date: 2025-05-22 05:56:17 +0000 URL: https://git.openjdk.org/leyden/commit/ec6706520b87eff3d87b3b65f3caa39db2d96581 8357361: Exception when compiling switch expression with inferred type Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java ! test/langtools/tools/javac/switchexpr/ExpressionSwitchBugsInGen.java Changeset: 061b5cc6 Branch: premain Author: Jan Lahoda Date: 2025-05-22 05:59:19 +0000 URL: https://git.openjdk.org/leyden/commit/061b5cc6b9939e182f3b2063ad86d042e35f0a91 8347050: Console.readLine() drops '\' when reading through JLine Reviewed-by: naoto ! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! test/jdk/jdk/internal/jline/JLineConsoleProviderTest.java Changeset: 8184ce39 Branch: premain Author: Vladimir Kozlov Date: 2025-05-22 06:09:34 +0000 URL: https://git.openjdk.org/leyden/commit/8184ce39a8a732352ee841fed09cae905d27643c 8357514: Disable AOT caching for runtime stubs Reviewed-by: iveresov, iklam ! src/hotspot/share/code/aotCodeCache.cpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java Changeset: a919f6d0 Branch: premain Author: Stefan Karlsson Date: 2025-05-22 06:39:55 +0000 URL: https://git.openjdk.org/leyden/commit/a919f6d04e5e1e3ccb123132ad945b240345dcaf 8356372: JVMTI heap sampling not working properly with outside TLAB allocations Co-authored-by: Stefan Johansson Reviewed-by: sjohanss, sspitsyn ! src/hotspot/share/gc/g1/g1YoungGCPreEvacuateTasks.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/shared/memAllocator.cpp ! src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp ! src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahStackWatermark.cpp ! src/hotspot/share/gc/z/zThreadLocalAllocBuffer.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threadHeapSampler.cpp ! src/hotspot/share/runtime/threadHeapSampler.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitor.java Changeset: e348aa07 Branch: premain Author: Marc Chevalier Date: 2025-05-22 06:55:48 +0000 URL: https://git.openjdk.org/leyden/commit/e348aa071d7d20300062de5830e74fc78143c662 8351958: Some compile commands should be made diagnostic Reviewed-by: thartmann, kvn ! src/hotspot/share/compiler/compilerOracle.cpp ! test/hotspot/jtreg/compiler/compilercontrol/commands/OptionTest.java ! test/hotspot/jtreg/compiler/intrinsics/bigInteger/TestMultiplyToLen.java ! test/hotspot/jtreg/compiler/intrinsics/bigInteger/TestShift.java ! test/hotspot/jtreg/compiler/intrinsics/bigInteger/TestSquareToLen.java ! test/hotspot/jtreg/runtime/CommandLine/VMOptionWarning.java Changeset: d9b6e4b1 Branch: premain Author: Jason Zaugg Committer: Jaikiran Pai Date: 2025-05-22 07:25:43 +0000 URL: https://git.openjdk.org/leyden/commit/d9b6e4b13200684b69a161e288b9883ff0d96bec 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better performance Reviewed-by: liach, jpai, jlahoda, lancea ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java Changeset: 85b24c3c Branch: premain Author: Anton Artemov Committer: SendaoYan Date: 2025-05-22 07:56:34 +0000 URL: https://git.openjdk.org/leyden/commit/85b24c3c4e93d0203a8cfcd5f029e18eebc93f47 8350869: os::stat doesn't follow symlinks on Windows Reviewed-by: dholmes, mgronlun ! src/hotspot/os/windows/os_windows.cpp + test/hotspot/jtreg/runtime/LoadClass/TestSymlinkLoad.java Changeset: c0665efd Branch: premain Author: Aggelos Biboudis Date: 2025-05-22 08:36:47 +0000 URL: https://git.openjdk.org/leyden/commit/c0665efd4f7f43c567393570ba6872838debd77f 8354323: Safeguard SwitchBootstraps.typeSwitch when used outside the compiler Reviewed-by: jlahoda, liach ! src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java ! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java Changeset: 26053fe7 Branch: premain Author: Jaikiran Pai Date: 2025-05-22 10:44:21 +0000 URL: https://git.openjdk.org/leyden/commit/26053fe78322940113629ee1bd72077f25e4be3e 8357406: Remove usages of jdk.tracePinnedThreads system property from httpclient tests Reviewed-by: vyazici, djelinski, dfuchs, syan ! test/jdk/java/net/httpclient/AuthFilterCacheTest.java ! test/jdk/java/net/httpclient/ConcurrentResponses.java ! test/jdk/java/net/httpclient/HttpClientLocalAddrTest.java ! test/jdk/java/net/httpclient/HttpGetInCancelledFuture.java ! test/jdk/java/net/httpclient/ManyRequests.java ! test/jdk/java/net/httpclient/ManyRequests2.java ! test/jdk/java/net/httpclient/PlainProxyConnectionTest.java Changeset: 1e57648a Branch: premain Author: Roman Kennke Date: 2025-05-22 10:48:50 +0000 URL: https://git.openjdk.org/leyden/commit/1e57648abd569295f42dc19c00edfcc90c00b1d3 8350457: Implement JEP 519: Compact Object Headers Reviewed-by: mdoerr, coleenp, zgu ! make/conf/jib-profiles.js ! src/hotspot/share/runtime/globals.hpp ! test/hotspot/jtreg/compiler/arraycopy/TestArrayCopyNoInit.java ! test/hotspot/jtreg/compiler/c2/TestCastX2NotProcessedIGVN.java ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorConditionalMove.java ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationMismatchedAccess.java ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestAlignVector.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestScheduleReordersScalarMemops.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestSplitPacks.java ! test/hotspot/jtreg/compiler/loopopts/superword/TestUnorderedReductionPartialVectorization.java ! test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java ! test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVectorNaN.java ! test/hotspot/jtreg/compiler/vectorization/runner/ArrayTypeConvertTest.java ! test/hotspot/jtreg/compiler/vectorization/runner/LoopCombinedOpTest.java ! test/hotspot/jtreg/gtest/CompressedKlassGtest.java ! test/hotspot/jtreg/gtest/MetaspaceGtests.java ! test/hotspot/jtreg/runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java ! test/hotspot/jtreg/runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java ! test/hotspot/jtreg/runtime/FieldLayout/BaseOffsets.java ! test/hotspot/jtreg/runtime/cds/TestDefaultArchiveLoading.java ! test/hotspot/jtreg/runtime/cds/appcds/TestZGCWithCDS.java ! test/hotspot/jtreg/runtime/vthread/JNIMonitor/JNIMonitor.java Changeset: 428d33ef Branch: premain Author: Serhiy Sachkov Committer: SendaoYan Date: 2025-05-22 12:30:26 +0000 URL: https://git.openjdk.org/leyden/commit/428d33ef3ca0af34d8f164fe9d9b722e81e866a7 8357462: Amend open/test/jdk//java/foreign/TestMatrix.java test scenario to run as manual Reviewed-by: jvernee, syan ! test/jdk/java/foreign/TestMatrix.java Changeset: 12efc1fe Branch: premain Author: Chen Liang Date: 2025-05-22 14:24:59 +0000 URL: https://git.openjdk.org/leyden/commit/12efc1fe3322d16f0e703b334912241d80dbaba9 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently Reviewed-by: jpai ! test/jdk/java/lang/invoke/ClassValueTest.java Changeset: 72e440d0 Branch: premain Author: Brian Burkhalter Date: 2025-05-22 15:17:34 +0000 URL: https://git.openjdk.org/leyden/commit/72e440d06e6a93141e8943f1a62610cd951e22c4 8357303: (fs) UnixSecureDirectoryStream.implDelete has unused haveFlags parameter Reviewed-by: alanb, shade ! src/java.base/unix/classes/sun/nio/fs/UnixSecureDirectoryStream.java Changeset: 16d45511 Branch: premain Author: Jiangli Zhou Date: 2025-05-22 15:34:12 +0000 URL: https://git.openjdk.org/leyden/commit/16d45511342c32ac8e8f72fb68dc21ce13339dbe 8355452: GHA: Test jtreg tier1 on linux-x64 static-jdk Reviewed-by: ihse, shade ! .github/actions/get-bundles/action.yml ! .github/actions/upload-bundles/action.yml ! .github/workflows/build-linux.yml ! .github/workflows/main.yml ! .github/workflows/test.yml Changeset: 1258af42 Branch: premain Author: Doug Simon Date: 2025-05-22 17:01:48 +0000 URL: https://git.openjdk.org/leyden/commit/1258af42bec92a2797897cb6126b60b582a29d76 8357135: java.lang.OutOfMemoryError: Error creating or attaching to libjvmci after JDK-8356447 Reviewed-by: never, yzheng ! test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java Changeset: 9ca1004e Branch: premain Author: pawan chawdhary Committer: Mikhailo Seledtsov Date: 2025-05-22 17:08:08 +0000 URL: https://git.openjdk.org/leyden/commit/9ca1004e76a614328cd2eb7546143839c4d2f810 8352926: New test TestDockerMemoryMetricsSubgroup.java fails Reviewed-by: mseledtsov, lmesnik ! test/hotspot/jtreg/containers/docker/TestMemoryWithSubgroups.java ! test/jdk/jdk/internal/platform/docker/TestDockerMemoryMetricsSubgroup.java + test/lib/jdk/test/lib/containers/docker/ContainerRuntimeVersionTestUtils.java Changeset: b1b786a3 Branch: premain Author: Vladimir Kozlov Date: 2025-05-22 18:59:37 +0000 URL: https://git.openjdk.org/leyden/commit/b1b786a3be9774662424a629c0ad5d1260efc597 8357402: Crash in AdapterHandlerLibrary::lookup Reviewed-by: shade, iveresov ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 139a05d0 Branch: premain Author: Phil Race Date: 2025-05-22 19:19:45 +0000 URL: https://git.openjdk.org/leyden/commit/139a05d05959a84541a29dfae6151f92ce579ae6 8357176: java.awt javadoc code examples still use Applet API Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/java/awt/BorderLayout.java ! src/java.desktop/share/classes/java/awt/FlowLayout.java ! src/java.desktop/share/classes/java/awt/GridBagLayout.java ! src/java.desktop/share/classes/java/awt/GridLayout.java ! src/java.desktop/share/classes/java/awt/MediaTracker.java - src/java.desktop/share/classes/java/awt/doc-files/BorderLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/BorderLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/FlowLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/FlowLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-2.gif + src/java.desktop/share/classes/java/awt/doc-files/GridBagLayout-2.png - src/java.desktop/share/classes/java/awt/doc-files/GridLayout-1.gif + src/java.desktop/share/classes/java/awt/doc-files/GridLayout-1.png - src/java.desktop/share/classes/java/awt/doc-files/GridLayout-2.gif + src/java.desktop/share/classes/java/awt/doc-files/GridLayout-2.png Changeset: fdda7661 Branch: premain Author: Daniel Gredler Committer: Harshitha Onkar Date: 2025-05-22 21:25:33 +0000 URL: https://git.openjdk.org/leyden/commit/fdda7661906eab63d939e9f482449e21cc143c8f 8356814: LineBreakMeasurer.nextLayout() slower than necessary when no break needed Reviewed-by: prr, dnguyen, honkar ! src/java.desktop/share/classes/sun/font/ExtendedTextSourceLabel.java Changeset: 796ec5e7 Branch: premain Author: Shaojin Wen Date: 2025-05-22 23:35:13 +0000 URL: https://git.openjdk.org/leyden/commit/796ec5e7cfcfb20d76a3b48c0b369dc73250f7e4 8353741: Eliminate table lookup in UUID.toString Reviewed-by: rriggs ! src/java.base/share/classes/java/util/UUID.java ! src/java.base/share/classes/jdk/internal/util/HexDigits.java Changeset: 84024695 Branch: premain Author: Ioi Lam Date: 2025-05-23 00:21:29 +0000 URL: https://git.openjdk.org/leyden/commit/840246956507ce354c3efd2dc3de44041ba5d607 8355236: AOT Assembly crash with unregistered class and -Xlog:cds+resolve=trace Reviewed-by: shade, kvn ! src/hotspot/share/oops/constantPool.cpp + test/hotspot/jtreg/runtime/cds/appcds/aotCache/ExcludedClasses.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/test-classes/CustyWithLoop.java Changeset: 603d680e Branch: premain Author: Vladimir Kozlov Date: 2025-05-29 17:14:06 +0000 URL: https://git.openjdk.org/leyden/commit/603d680ece1cf8a7c8937ff9b559d9ba75c49876 Merge branch 'master' into premain through JDK-8355236 ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotCacheAccess.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cdsProtectionDomain.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/compiler/compilerOracle.cpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassFlags.hpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/trainingData.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/ExcludedClasses.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotCacheAccess.cpp ! src/hotspot/share/cds/aotClassLinker.cpp ! src/hotspot/share/cds/aotConstantPoolResolver.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cdsProtectionDomain.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp ! src/hotspot/share/cds/finalImageRecipes.cpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/klassFactory.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/code/aotCodeCache.cpp ! src/hotspot/share/compiler/compilerOracle.cpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassFlags.hpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/method.cpp + src/hotspot/share/oops/trainingData.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/ExcludedClasses.java ! test/lib/jdk/test/lib/cds/CDSTestUtils.java From duke at openjdk.org Fri May 30 01:57:11 2025 From: duke at openjdk.org (duke) Date: Fri, 30 May 2025 01:57:11 GMT Subject: git: openjdk/leyden: premain: 47 new changesets Message-ID: <0b0b6b55-f678-4f64-9eea-a710d942369a@openjdk.org> Changeset: a94d1a04 Branch: premain Author: Manukumar V S Committer: SendaoYan Date: 2025-05-23 02:24:09 +0000 URL: https://git.openjdk.org/leyden/commit/a94d1a04076c64f983e508c4da2e59a8aab5e4c5 8357305: Compilation failure in javax/swing/JMenuItem/bug6197830.java Reviewed-by: aivanov + test/jdk/javax/swing/JMenuItem/MenuItemTest/MenuItemTestHelper.java + test/jdk/javax/swing/JMenuItem/MenuItemTest/bug4729669.java + test/jdk/javax/swing/JMenuItem/MenuItemTest/bug6197830.java - test/jdk/javax/swing/JMenuItem/bug4729669.java - test/jdk/javax/swing/JMenuItem/bug6197830.java Changeset: 4193d052 Branch: premain Author: jeremy Committer: SendaoYan Date: 2025-05-23 02:25:12 +0000 URL: https://git.openjdk.org/leyden/commit/4193d052c0ae2336d816d0e76dec5420aa386465 8356061: [macos] com/apple/laf/RootPane/RootPaneDefaultButtonTest.java test fails on macosx-aarch64 machine Reviewed-by: jdv, serb ! test/jdk/com/apple/laf/RootPane/RootPaneDefaultButtonTest.java Changeset: 1fd65b7a Branch: premain Author: Anjian-Wen Committer: Feilong Jiang Date: 2025-05-23 03:48:09 +0000 URL: https://git.openjdk.org/leyden/commit/1fd65b7a7b0ec38fde79aa4f5e53506d28893439 8351140: RISC-V: Intrinsify Unsafe::setMemory Reviewed-by: fjiang, fyang ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp Changeset: 99e01301 Branch: premain Author: Abhishek Kumar Date: 2025-05-23 04:35:11 +0000 URL: https://git.openjdk.org/leyden/commit/99e01301cd7f063f167db107d31468b1d3f901aa 8356145: ListEnterExitTest.java fails on macos Reviewed-by: aivanov, jdv, kizune ! test/jdk/java/awt/List/ListEnterExitTest.java Changeset: 9d9e41f5 Branch: premain Author: Jan Lahoda Date: 2025-05-23 04:35:29 +0000 URL: https://git.openjdk.org/leyden/commit/9d9e41f5b4ea70a32871ea6f03a21e3d77212289 8356894: Adjust CreateSymbols to properly handle the newly added @jdk.internal.RequiresIdentity Reviewed-by: vromero, liach ! make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java + test/langtools/tools/javac/platform/RequiresIdentityTest.java + test/langtools/tools/javac/platform/RequiresIdentityTest.out ! test/langtools/tools/javac/platform/createsymbols/CreateSymbolsTest.java ! test/langtools/tools/javac/platform/createsymbols/CreateSymbolsTestImpl.java Changeset: d6e4c5f6 Branch: premain Author: Doug Simon Date: 2025-05-23 06:32:56 +0000 URL: https://git.openjdk.org/leyden/commit/d6e4c5f65932114b5c6f455db6cfaa220607ce18 8357506: [JVMCI] Consolidate eager JVMCI initialization code Reviewed-by: kvn, yzheng ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmci.hpp ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.hpp ! src/hotspot/share/runtime/threads.cpp Changeset: ae7ae847 Branch: premain Author: Kim Barrett Date: 2025-05-23 06:54:51 +0000 URL: https://git.openjdk.org/leyden/commit/ae7ae847d4cb0dc2caf7bdc6a82673287cba8d30 8356016: Build fails by clang(XCode 16.3) on macOS after JDK-8347719 Reviewed-by: shade, mgronlun ! test/hotspot/gtest/jfr/test_networkUtilization.cpp Changeset: 36f6d155 Branch: premain Author: Albert Mingkun Yang Date: 2025-05-23 08:22:50 +0000 URL: https://git.openjdk.org/leyden/commit/36f6d155e3b9d0b279be33414573217ea38551ac 8354517: Parallel: JDK-8339668 causes up to 3.7x slowdown in openjdk.bench.vm.gc.systemgc Reviewed-by: tschatzl, aboldtch, zgu ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/parallel/psCompactionManager.cpp ! src/hotspot/share/gc/parallel/psPromotionManager.cpp ! src/hotspot/share/gc/shared/partialArraySplitter.cpp ! src/hotspot/share/gc/shared/partialArraySplitter.hpp Changeset: 02995887 Branch: premain Author: Aggelos Biboudis Date: 2025-05-23 09:07:58 +0000 URL: https://git.openjdk.org/leyden/commit/02995887b2a2554631f3d2bce03f8e3af6d0bafc 8343580: Type error with inner classes of generic classes in functions generic by outer Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java + test/langtools/tools/javac/T8343580.java Changeset: 68ee06f0 Branch: premain Author: Stefan Karlsson Date: 2025-05-23 09:42:25 +0000 URL: https://git.openjdk.org/leyden/commit/68ee06f0c9ec420cb1a60e0b361971372b18b82b 8357563: Shenandoah headers leak un-prefixed defines Reviewed-by: shade, kbarrett ! src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp Changeset: 488e4ea5 Branch: premain Author: Daniel Jeli?ski Date: 2025-05-23 11:55:21 +0000 URL: https://git.openjdk.org/leyden/commit/488e4ea5c6bc47be1d777bf5c26e2ffa2c436e28 8357539: TimeSource.now() is not monotonic Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/common/TimeSource.java Changeset: 84a67e83 Branch: premain Author: Manukumar V S Committer: SendaoYan Date: 2025-05-23 11:56:25 +0000 URL: https://git.openjdk.org/leyden/commit/84a67e83e3f4fcb6be6802d12b0788850a3845b5 8341370: Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64 Reviewed-by: kizune, dnguyen ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java Changeset: f5e6d2c9 Branch: premain Author: Renjith Kannath Pariyangad Committer: SendaoYan Date: 2025-05-23 11:57:35 +0000 URL: https://git.openjdk.org/leyden/commit/f5e6d2c93c3274e465c42709b7634463899fdf2e 8334016: Make PrintNullString.java automatic Reviewed-by: aivanov, prr, dnguyen ! test/jdk/java/awt/print/PrinterJob/PrintNullString.java Changeset: 48df41b6 Branch: premain Author: Thomas Schatzl Date: 2025-05-23 12:01:45 +0000 URL: https://git.openjdk.org/leyden/commit/48df41b6997cfe2c8aa3bc46ea25eff01f615d31 8357306: G1: Remove _gc_succeeded from VM_G1CollectForAllocation because it is always true Reviewed-by: ayang, sjohanss ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp Changeset: d0402dda Branch: premain Author: Archie Cobbs Date: 2025-05-23 13:34:32 +0000 URL: https://git.openjdk.org/leyden/commit/d0402ddad72f8ac251d963d57cd6710d6aa655d1 8355323: JShell LocalExecutionControl should add stopCheck() at method entry Reviewed-by: liach, jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/execution/LocalExecutionControl.java + test/langtools/jdk/jshell/AbstractStopExecutionTest.java + test/langtools/jdk/jshell/LocalStopExecutionTest.java ! test/langtools/jdk/jshell/StopExecutionTest.java Changeset: b07da7bc Branch: premain Author: Alexey Semenyuk Date: 2025-05-23 13:53:07 +0000 URL: https://git.openjdk.org/leyden/commit/b07da7bcdcd4d1bba1f6e922d8e606bd73879052 8357171: Test tools/jpackage/windows/WinOSConditionTest.java fails for non administrator Reviewed-by: erikj ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/windows/WinOSConditionTest.java Changeset: 6a078204 Branch: premain Author: Viktor Klang Date: 2025-05-23 14:53:44 +0000 URL: https://git.openjdk.org/leyden/commit/6a07820483bcf3e9d7df27ee496db43675f1c002 8357285: JSR166 Test case testShutdownNow_delayedTasks failed Reviewed-by: alanb ! test/jdk/java/util/concurrent/tck/ScheduledExecutorTest.java Changeset: 90e076b2 Branch: premain Author: Aggelos Biboudis Date: 2025-05-23 14:55:57 +0000 URL: https://git.openjdk.org/leyden/commit/90e076b2a1ee5f91317157911e2c62a37978e93e 8357654: [BACKOUT] JDK-8343580: Type error with inner classes of generic classes in functions generic by outer Reviewed-by: mcimadamore, liach, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java - test/langtools/tools/javac/T8343580.java Changeset: a58bfb93 Branch: premain Author: Aleksey Shipilev Date: 2025-05-23 16:20:19 +0000 URL: https://git.openjdk.org/leyden/commit/a58bfb93ff3a3cc9a3636b124299d9179a51f03b 8357638: Problemlist more Hotspot tests for static JDK Reviewed-by: kvn ! test/hotspot/jtreg/ProblemList-StaticJdk.txt Changeset: 2b6b7661 Branch: premain Author: Doug Simon Date: 2025-05-23 16:29:57 +0000 URL: https://git.openjdk.org/leyden/commit/2b6b7661b949971fe776714795d7dd46ed343cde 8357581: [JVMCI] Add HotSpotProfilingInfo Reviewed-by: kvn, never ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java = src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotProfilingInfoImpl.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java ! src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/meta/DefaultProfilingInfo.java ! test/hotspot/jtreg/compiler/jvmci/meta/ProfilingInfoTest.java Changeset: 917c1546 Branch: premain Author: Tejesh R Date: 2025-05-23 16:59:17 +0000 URL: https://git.openjdk.org/leyden/commit/917c1546f353c2814de8465d1dfad66b01561f12 8139228: JFileChooser renders file names as HTML document Reviewed-by: prr, serb, aivanov ! src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java ! src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifFileChooserUI.java ! src/java.desktop/share/classes/javax/swing/JFileChooser.java ! src/java.desktop/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java ! src/java.desktop/share/classes/sun/swing/FilePane.java ! src/java.desktop/share/classes/sun/swing/plaf/synth/SynthFileChooserUIImpl.java ! src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsFileChooserUI.java + test/jdk/javax/swing/JFileChooser/HTMLFileName.java Changeset: 2f530f89 Branch: premain Author: Justin Lu Date: 2025-05-23 17:44:39 +0000 URL: https://git.openjdk.org/leyden/commit/2f530f89e0ee5ed5253125d0e9319b07103173f0 8357281: sun.util.Locale.LanguageTag should be immutable Reviewed-by: naoto, liach ! src/java.base/share/classes/java/util/Locale.java ! src/java.base/share/classes/sun/util/locale/InternalLocaleBuilder.java ! src/java.base/share/classes/sun/util/locale/LanguageTag.java Changeset: 85ca0813 Branch: premain Author: Harshitha Onkar Date: 2025-05-23 17:59:47 +0000 URL: https://git.openjdk.org/leyden/commit/85ca0813f1624141993b20b3d8e404f86da2cef3 8354316: clang/linux build fails with -Wunused-result warning at XToolkit.c:695:9 Reviewed-by: aivanov, ihse, serb, kizune, syan, erikj ! make/modules/java.desktop/lib/AwtLibraries.gmk ! src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c Changeset: 236e1b6d Branch: premain Author: Sergey Bylokhov Date: 2025-05-23 18:17:40 +0000 URL: https://git.openjdk.org/leyden/commit/236e1b6d529771f44218b6a4e2693e234e6a4e09 8357401: BigDecimal: Constants ONE_TENTH and ONE_HALF are unused after JDK-8341402 Reviewed-by: bpb, liach, darcy ! src/java.base/share/classes/java/math/BigDecimal.java Changeset: 66747710 Branch: premain Author: Dean Long Date: 2025-05-23 19:29:09 +0000 URL: https://git.openjdk.org/leyden/commit/66747710a49ea6a78aee94d3a3ec6a24b7cc36e5 8357468: [asan] heap buffer overflow reported in PcDesc::pc_offset() pcDesc.hpp:57 Reviewed-by: kvn, thartmann ! src/hotspot/share/code/nmethod.cpp Changeset: 070c84cd Branch: premain Author: Chen Liang Date: 2025-05-23 22:58:09 +0000 URL: https://git.openjdk.org/leyden/commit/070c84cd22485a93a562a7639439fb056e840861 8357178: Simplify Class::componentType Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Class.java Changeset: e8933057 Branch: premain Author: Thomas Stuefe Date: 2025-05-24 09:51:53 +0000 URL: https://git.openjdk.org/leyden/commit/e89330579d5f38e282512211711fffeeea3e899e 8334513: New test gc/TestAlwaysPreTouchBehavior.java is failing on MacOS aarch64 Reviewed-by: mbaesken, aph ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/share/prims/whitebox.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/TestAlwaysPreTouchBehavior.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: 1f24a541 Branch: premain Author: Sorna Sarathi N Committer: Alexey Semenyuk Date: 2025-05-24 15:06:25 +0000 URL: https://git.openjdk.org/leyden/commit/1f24a5414d735f9faaabd5b49f786419a40d9da5 8357644: Add missing CPE statements Reviewed-by: asemenyuk ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CollectionUtils.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CompositeProxy.java Changeset: b0373537 Branch: premain Author: Shaojin Wen Date: 2025-05-24 17:08:03 +0000 URL: https://git.openjdk.org/leyden/commit/b037353734fd67f8898eb797a041bc1152a18178 8357081: Removed unused methods of HexDigits Reviewed-by: rriggs, jpai ! src/java.base/share/classes/jdk/internal/util/HexDigits.java Changeset: b034710b Branch: premain Author: Nizar Benalla Date: 2025-05-25 12:56:55 +0000 URL: https://git.openjdk.org/leyden/commit/b034710b2ae5fbfbe619abba86fef3b5a2d685e0 8356629: Incorrect use of {@linkplain} in java.sql Reviewed-by: lancea ! src/java.sql/share/classes/java/sql/DatabaseMetaData.java ! src/java.sql/share/classes/java/sql/DriverManager.java Changeset: 4a4209ff Branch: premain Author: Shaojin Wen Date: 2025-05-25 17:39:53 +0000 URL: https://git.openjdk.org/leyden/commit/4a4209ffef8f8d65054cbf46ebf8e169d100c0d8 8357685: Change the type of Integer::digits from char[] to byte[] Reviewed-by: rgiulietti, liach ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java Changeset: aac287eb Branch: premain Author: Jan Lahoda Date: 2025-05-26 04:41:02 +0000 URL: https://git.openjdk.org/leyden/commit/aac287ebacbd982f3c17f5687ec2aff638a82a63 8353581: Support for `import module` in JShell's code completion Reviewed-by: asotona ! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java ! test/langtools/jdk/jshell/CompletionSuggestionTest.java Changeset: a50d3bee Branch: premain Author: Jayathirth D V Date: 2025-05-26 06:03:28 +0000 URL: https://git.openjdk.org/leyden/commit/a50d3bee12cd2f528067bc15b404cf2289977af5 8312198: [macos] metal pipeline - window rendering stops after display sleep Reviewed-by: serb, avu, prr ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.h ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.m Changeset: 99f33b4d Branch: premain Author: Christian Hagedorn Date: 2025-05-26 07:24:25 +0000 URL: https://git.openjdk.org/leyden/commit/99f33b4d9b91c71ec032dc47ed0b98e4419ac432 8357568: IGV: Show NULL and numbers up to 4 characters in "Condense graph" filter Reviewed-by: thartmann, mchevalier, mhaessig ! src/hotspot/share/opto/idealGraphPrinter.cpp Changeset: 3dbd2d3d Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-26 07:40:51 +0000 URL: https://git.openjdk.org/leyden/commit/3dbd2d3d2d554ce5a8561f1c0fa67fb176d1273d 8347570: Configure fails on macOS if directory name do not have correct case Reviewed-by: erikj ! make/autoconf/basic.m4 Changeset: a37e8265 Branch: premain Author: Manuel H?ssig Committer: Roberto Casta?eda Lozano Date: 2025-05-26 07:51:23 +0000 URL: https://git.openjdk.org/leyden/commit/a37e8265b53b35c0b7f3ce9f4df9b2efcde322be 8357649: IGV: add block index to the supplemental node properties Co-authored-by: Roberto Casta?eda Lozano Reviewed-by: rcastanedalo, chagedorn ! src/hotspot/share/opto/idealGraphPrinter.cpp Changeset: 5cdeef81 Branch: premain Author: Suchismith Roy Committer: Varada M Date: 2025-05-26 08:25:46 +0000 URL: https://git.openjdk.org/leyden/commit/5cdeef81ddb4ff1a6160b112f0f8338514d7b0a7 8331859: [PPC64] Remove support for Power7 and older Reviewed-by: mdoerr ! make/autoconf/flags-cflags.m4 ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/c1_LIRGenerator_ppc.cpp ! src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp ! src/hotspot/cpu/ppc/gc/shenandoah/shenandoahBarrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/matcher_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/stubRoutines_ppc_64.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.hpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os_cpu/linux_ppc/atomic_linux_ppc.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp Changeset: 9946c85e Branch: premain Author: Thomas Schatzl Date: 2025-05-26 08:27:30 +0000 URL: https://git.openjdk.org/leyden/commit/9946c85e2f905f18340a76cebce04b0003783cb4 8357621: G1: Clean up G1BiasedArray Reviewed-by: sjohanss, ayang ! src/hotspot/share/gc/g1/g1BiasedArray.cpp ! src/hotspot/share/gc/g1/g1BiasedArray.hpp ! test/hotspot/gtest/gc/g1/test_g1BiasedArray.cpp Changeset: ed4cd2ac Branch: premain Author: Roland Westrelin Date: 2025-05-26 08:33:37 +0000 URL: https://git.openjdk.org/leyden/commit/ed4cd2acd2d8bb92c296c5a860c76cffaff53add 8356989: Unexpected null in C2 compiled code Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/escape.cpp + test/hotspot/jtreg/compiler/escapeAnalysis/TestArrayCopySameSrcDstInitializesNonEscapingArray.java Changeset: f825a511 Branch: premain Author: Kieran Farrell Committer: Jaikiran Pai Date: 2025-05-26 11:12:49 +0000 URL: https://git.openjdk.org/leyden/commit/f825a51198137799f00a0ec2cefa1daa59542f68 7046003: Default value of Authenticator.getRequestingURL() is not specified Reviewed-by: michaelm, jpai ! src/java.base/share/classes/java/net/Authenticator.java Changeset: 7002233e Branch: premain Author: Jatin Bhateja Date: 2025-05-26 11:16:59 +0000 URL: https://git.openjdk.org/leyden/commit/7002233ed943a21b49bc69ff728964d004b2d5c1 8351950: C2: AVX512 vector assembler routines causing SIGFPE / no valid evex tuple_table entry Reviewed-by: epeter, sviswanathan ! src/hotspot/cpu/x86/assembler_x86.cpp ! test/jdk/jdk/incubator/vector/Byte128VectorTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Double128VectorTests.java ! test/jdk/jdk/incubator/vector/Double256VectorTests.java ! test/jdk/jdk/incubator/vector/Double512VectorTests.java ! test/jdk/jdk/incubator/vector/Double64VectorTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Float128VectorTests.java ! test/jdk/jdk/incubator/vector/Float256VectorTests.java ! test/jdk/jdk/incubator/vector/Float512VectorTests.java ! test/jdk/jdk/incubator/vector/Float64VectorTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Int128VectorTests.java ! test/jdk/jdk/incubator/vector/Int256VectorTests.java ! test/jdk/jdk/incubator/vector/Int512VectorTests.java ! test/jdk/jdk/incubator/vector/Int64VectorTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Long128VectorTests.java ! test/jdk/jdk/incubator/vector/Long256VectorTests.java ! test/jdk/jdk/incubator/vector/Long512VectorTests.java ! test/jdk/jdk/incubator/vector/Long64VectorTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Short128VectorTests.java ! test/jdk/jdk/incubator/vector/Short256VectorTests.java ! test/jdk/jdk/incubator/vector/Short512VectorTests.java ! test/jdk/jdk/incubator/vector/Short64VectorTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorTests.java ! test/jdk/jdk/incubator/vector/gen-template.sh + test/jdk/jdk/incubator/vector/templates/Kernel-Binary-Masked-mem-op.template + test/jdk/jdk/incubator/vector/templates/Kernel-Binary-mem-op.template + test/jdk/jdk/incubator/vector/templates/Unit-Binary-Masked-mem-op.template + test/jdk/jdk/incubator/vector/templates/Unit-Binary-mem-op.template ! test/jdk/jdk/incubator/vector/templates/Unit-header.template Changeset: daa8eda5 Branch: premain Author: Robbin Ehn Date: 2025-05-26 11:52:32 +0000 URL: https://git.openjdk.org/leyden/commit/daa8eda530c4c3929c68ace1f1a2d1ed62331584 8357056: RISC-V: Asm fixes - load/store width Reviewed-by: fjiang, mli, luhenry, fyang ! src/hotspot/cpu/riscv/assembler_riscv.hpp Changeset: bd095896 Branch: premain Author: Nizar Benalla Date: 2025-05-26 12:40:49 +0000 URL: https://git.openjdk.org/leyden/commit/bd095896dd6e3fccb932f3d9823008766e9ab18d 8356632: Fix remaining {@link/@linkplain} tags with refer to private/protected types in java.base Reviewed-by: weijun, liach ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/net/Socket.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java ! src/java.base/share/classes/javax/crypto/KEM.java Changeset: a300c356 Branch: premain Author: Daniel Skantz Date: 2025-05-26 14:22:12 +0000 URL: https://git.openjdk.org/leyden/commit/a300c356555019a42c19bf0c16184f6dee4ad96e 8357105: C2: compilation fails with "assert(false) failed: empty program detected during loop optimization" Reviewed-by: syan, rcastanedalo ! src/hotspot/share/opto/stringopts.cpp + test/hotspot/jtreg/compiler/stringopts/TestStackedConcatsAppendUncommonTrap.java Changeset: e8eff4d2 Branch: premain Author: Emanuel Peter Date: 2025-05-26 18:31:19 +0000 URL: https://git.openjdk.org/leyden/commit/e8eff4d25b984d503a4daa5d291b52a8d1e2f186 8357530: C2 SuperWord: Diagnostic flag AutoVectorizationOverrideProfitability Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/superword.cpp + test/hotspot/jtreg/compiler/loopopts/superword/TestAutoVectorizationOverrideProfitability.java Changeset: bbceab07 Branch: premain Author: Markus Gr?nlund Date: 2025-05-26 18:37:55 +0000 URL: https://git.openjdk.org/leyden/commit/bbceab072555d5e2f5d3e99ae07a5ca5e909d7dc 8352251: Implement JEP 518: JFR Cooperative Sampling Co-authored-by: Aleksey Shipilev Co-authored-by: Erik ?sterlund Co-authored-by: Boris Ulasevich Co-authored-by: Patricio Chilano Mateo Co-authored-by: Martin Doerr Co-authored-by: Fei Yang Co-authored-by: Amit Kumar Reviewed-by: eosterlund, egahlin ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/arm/frame_arm.inline.hpp ! src/hotspot/cpu/ppc/c1_CodeStubs_ppc.cpp ! src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/javaFrameAnchor_ppc.hpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp ! src/hotspot/cpu/riscv/frame_riscv.cpp ! src/hotspot/cpu/riscv/frame_riscv.inline.hpp ! src/hotspot/cpu/riscv/interp_masm_riscv.cpp ! src/hotspot/cpu/riscv/interp_masm_riscv.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/cpu/x86/frame_x86.cpp ! src/hotspot/cpu/x86/frame_x86.inline.hpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/os_posix.hpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ! src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp ! src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp ! src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jfr/jfr.cpp ! src/hotspot/share/jfr/jfr.hpp + src/hotspot/share/jfr/jfr.inline.hpp ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp ! src/hotspot/share/jfr/metadata/metadata.xml - src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp - src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.hpp + src/hotspot/share/jfr/periodic/sampling/jfrSampleRequest.cpp + src/hotspot/share/jfr/periodic/sampling/jfrSampleRequest.hpp ! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp ! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.hpp + src/hotspot/share/jfr/periodic/sampling/jfrThreadSampling.cpp + src/hotspot/share/jfr/periodic/sampling/jfrThreadSampling.hpp ! src/hotspot/share/jfr/recorder/jfrRecorder.cpp ! src/hotspot/share/jfr/recorder/jfrRecorder.hpp ! src/hotspot/share/jfr/recorder/service/jfrEventThrottler.cpp ! src/hotspot/share/jfr/recorder/service/jfrRecorderThread.cpp ! src/hotspot/share/jfr/recorder/service/jfrRecorderThread.hpp ! src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackFilterRegistry.cpp + src/hotspot/share/jfr/recorder/stacktrace/jfrStackFrame.cpp + src/hotspot/share/jfr/recorder/stacktrace/jfrStackFrame.hpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.hpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp + src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.cpp + src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.hpp + src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.inline.hpp ! src/hotspot/share/jfr/support/jfrThreadExtension.hpp ! src/hotspot/share/jfr/support/jfrThreadLocal.cpp ! src/hotspot/share/jfr/support/jfrThreadLocal.hpp ! src/hotspot/share/jfr/utilities/jfrLogTagSets.hpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/frame.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/safepointMechanism.cpp ! src/hotspot/share/runtime/safepointMechanism.hpp ! src/hotspot/share/runtime/safepointMechanism.inline.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp - src/hotspot/share/runtime/suspendedThreadTask.cpp ! src/hotspot/share/runtime/suspendedThreadTask.hpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/utilities/growableArray.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/LogTag.java ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc + test/jdk/jdk/jfr/event/profiling/TestSafepointLatency.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: 760f690e Branch: premain Author: Vladimir Kozlov Date: 2025-05-29 18:55:51 +0000 URL: https://git.openjdk.org/leyden/commit/760f690e173513914eec8faf698edafcf54002a6 Merge branch 'master' into premain through JDK-8352251 ! src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp ! src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threads.cpp ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! test/hotspot/jtreg/ProblemList.txt ! src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp ! src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/javaThread.inline.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threads.cpp ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! test/hotspot/jtreg/ProblemList.txt From duke at openjdk.org Fri May 30 05:43:42 2025 From: duke at openjdk.org (duke) Date: Fri, 30 May 2025 05:43:42 GMT Subject: git: openjdk/leyden: premain: 49 new changesets Message-ID: <9d418982-b06e-40c1-bf97-351aca914f95@openjdk.org> Changeset: 2c034f57 Branch: premain Author: Doug Lea
Date: 2025-05-26 22:37:42 +0000 URL: https://git.openjdk.org/leyden/commit/2c034f57d6b4229aaf195fdd6efd016cf694855f 8357146: ForkJoinPool:schedule(*) does not throw RejectedExecutionException when pool is shutdown Reviewed-by: alanb ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java ! test/jdk/java/util/concurrent/tck/ForkJoinPool20Test.java Changeset: 37d04a1e Branch: premain Author: Jasmine Karthikeyan Date: 2025-05-27 02:05:46 +0000 URL: https://git.openjdk.org/leyden/commit/37d04a1e365d005afec3651c5e25fdceeceb9313 8355512: Test compiler/vectorization/TestVectorZeroCount.java times out with -XX:TieredStopAtLevel=3 Reviewed-by: chagedorn, epeter ! test/hotspot/jtreg/compiler/vectorization/TestVectorZeroCount.java Changeset: 78d0dc75 Branch: premain Author: Feilong Jiang Date: 2025-05-27 03:39:28 +0000 URL: https://git.openjdk.org/leyden/commit/78d0dc75029dba7b4ba388f9a7f5f7b22e4b838e 8357460: RISC-V: Optimize array fill stub for small size Reviewed-by: wenanjian, fyang ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp Changeset: 85af573c Branch: premain Author: Joel Sikstr?m Date: 2025-05-27 06:58:57 +0000 URL: https://git.openjdk.org/leyden/commit/85af573cb6b5063c24f1efcbfb80bbace2883c7c 8356848: Separate Metaspace and GC printing Reviewed-by: stefank, stuefe ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/parallel/psScavenge.cpp ! src/hotspot/share/gc/serial/serialHeap.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/shared/collectedHeap.hpp ! src/hotspot/share/gc/z/zStat.cpp ! src/hotspot/share/memory/metaspace/metaspaceDCmd.cpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/services/diagnosticCommand.cpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/jtreg/runtime/ErrorHandling/ShowEventsOnCrashTest.java ! test/hotspot/jtreg/serviceability/dcmd/gc/HeapInfoTest.java ! test/hotspot/jtreg/serviceability/dcmd/vm/EventsTest.java Changeset: 7bc315fa Branch: premain Author: Bhavana Kilambi Committer: Xiaohong Gong Date: 2025-05-27 08:17:02 +0000 URL: https://git.openjdk.org/leyden/commit/7bc315fa6ac4e539e52b077f15c061516e208278 8355585: Aarch64: Add aarch64 backend for Float16 vector operations Reviewed-by: epeter, haosun, xgong, aph ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/share/adlc/dfa.cpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h ! test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java Changeset: 5924c2d6 Branch: premain Author: Jatin Bhateja Date: 2025-05-27 08:28:55 +0000 URL: https://git.openjdk.org/leyden/commit/5924c2d6c7f636b428bc7f43abe2115af4532358 8357267: ZGC: Handle APX EGPRs spilling in ZRuntimeCallSpill Reviewed-by: rcastanedalo, sviswanathan ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp Changeset: 7cb6e5eb Branch: premain Author: Michael McMahon Date: 2025-05-27 08:37:32 +0000 URL: https://git.openjdk.org/leyden/commit/7cb6e5eb3e004ad974a0c49e83014844f9f7cabb 8353124: java/lang/Thread/virtual/stress/Skynet.java#Z times out on macosx-x64-debug Reviewed-by: alanb ! test/jdk/java/lang/Thread/virtual/stress/Skynet.java Changeset: f62b9780 Branch: premain Author: Arno Zeller Committer: Aleksey Shipilev Date: 2025-05-27 09:11:00 +0000 URL: https://git.openjdk.org/leyden/commit/f62b9780c38ed3caa64726be5ea47667847157e3 8357448: AOT crashes on linux musl with AddReads.java Reviewed-by: mbaesken, shade, mdoerr ! src/hotspot/share/cds/aotClassLocation.cpp Changeset: aea32ec5 Branch: premain Author: Viktor Klang Date: 2025-05-27 09:17:29 +0000 URL: https://git.openjdk.org/leyden/commit/aea32ec5060a2e57947dc3e5d14613241e223ce4 8357647: Stream gatherers forward upstream size information to downstream Reviewed-by: liach, alanb ! src/java.base/share/classes/java/util/stream/GathererOp.java ! test/jdk/java/util/stream/GathererTest.java Changeset: b9db99d7 Branch: premain Author: Aleksey Shipilev Date: 2025-05-27 09:43:07 +0000 URL: https://git.openjdk.org/leyden/commit/b9db99d7f7e3720c7e34fbcd22ff9529054601f6 8357797: Use StructuredTaskScopeImpl.ST_NEW for state init Reviewed-by: alanb ! src/java.base/share/classes/java/util/concurrent/StructuredTaskScopeImpl.java Changeset: 9c191cc0 Branch: premain Author: Jan Lahoda Date: 2025-05-27 09:49:26 +0000 URL: https://git.openjdk.org/leyden/commit/9c191cc0fad4e2cd8ac021082acc494dc7503745 8356245: stdin.encoding and stdout.encoding in jshell don't respect console code pages Reviewed-by: asotona, cstein, liach ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java ! src/jdk.jshell/share/classes/jdk/jshell/execution/JdiDefaultExecutionControl.java ! test/langtools/jdk/jshell/InputUITest.java Changeset: 67d4ed17 Branch: premain Author: Ivan Walulya Date: 2025-05-27 10:43:16 +0000 URL: https://git.openjdk.org/leyden/commit/67d4ed173af325a5a28ee17765d491fd0cfe38c2 8357559: G1HeapRegionManager refactor rename functions related to the number of regions in different states Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1HeapRegionManager.cpp ! src/hotspot/share/gc/g1/g1HeapRegionManager.hpp ! src/hotspot/share/gc/g1/g1HeapRegionManager.inline.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1RemSet.cpp ! src/hotspot/share/gc/g1/g1RemSet.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! src/hotspot/share/gc/g1/g1YoungGCAllocationFailureInjector.cpp ! src/hotspot/share/prims/whitebox.cpp Changeset: b4b11d77 Branch: premain Author: Serhiy Sachkov Committer: Mark Sheppard Date: 2025-05-27 11:38:08 +0000 URL: https://git.openjdk.org/leyden/commit/b4b11d777137c21c8808bbba5bdf20a2b4ff5be6 8356443: Update open/test/jdk/TEST.groups manual test groups definitions with missing manual test Reviewed-by: msheppar ! test/jdk/TEST.groups Changeset: 72a3022d Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-27 12:35:31 +0000 URL: https://git.openjdk.org/leyden/commit/72a3022dc6a1521d8e3f08fe5d592f760fc462d2 8357842: PandocFilter misses copyright header Reviewed-by: syan, erikj ! make/jdk/src/classes/build/tools/pandocfilter/PandocFilter.java Changeset: cdff7b96 Branch: premain Author: Albert Mingkun Yang Date: 2025-05-27 14:33:35 +0000 URL: https://git.openjdk.org/leyden/commit/cdff7b963c0600e9a6fe9cd8561d7d04b30f190c 8357801: Parallel: Remove deprecated PSVirtualSpace methods Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/parallel/objectStartArray.cpp ! src/hotspot/share/gc/parallel/objectStartArray.hpp ! src/hotspot/share/gc/parallel/psOldGen.cpp ! src/hotspot/share/gc/parallel/psOldGen.hpp ! src/hotspot/share/gc/parallel/psVirtualspace.cpp ! src/hotspot/share/gc/parallel/psVirtualspace.hpp Changeset: c2953774 Branch: premain Author: Aleksey Shipilev Date: 2025-05-27 14:44:40 +0000 URL: https://git.openjdk.org/leyden/commit/c29537740efb04e061732a700582d43b1956cff4 8357800: Initialize JvmtiThreadState bool fields with bool literals Reviewed-by: alanb, stefank ! src/hotspot/share/prims/jvmtiThreadState.cpp Changeset: c1f066e1 Branch: premain Author: Brian Burkhalter Date: 2025-05-27 17:11:24 +0000 URL: https://git.openjdk.org/leyden/commit/c1f066e17eacf7649df4042e2fb985da9724ef40 8356888: (fs) FileSystems.newFileSystem that take an env must specify IllegalArgumentException Reviewed-by: lancea, alanb, jpai ! src/java.base/share/classes/java/nio/file/FileSystems.java Changeset: d4b923d1 Branch: premain Author: Per Minborg Date: 2025-05-27 19:11:12 +0000 URL: https://git.openjdk.org/leyden/commit/d4b923d175b07e39ee8ee2c79f04457ea1cfbdd0 8357268: Use JavaNioAccess.getBufferAddress rather than DirectBuffer.address() Reviewed-by: alanb, valeriep ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java ! src/java.base/share/classes/sun/nio/ch/IOUtil.java ! src/java.base/unix/classes/sun/nio/fs/UnixUserDefinedFileAttributeView.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java ! test/jdk/java/nio/channels/AsynchronousFileChannel/Basic.java ! test/jdk/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java Changeset: da228e06 Branch: premain Author: Per Minborg Date: 2025-05-27 19:15:40 +0000 URL: https://git.openjdk.org/leyden/commit/da228e069359bbab0e5c54f8cb2e20d67693b87c 8357145: CRC/Inflater/Deflater/Adler32 methods that take a ByteBuffer throw UOE if backed by shared memory segment Reviewed-by: alanb ! src/java.base/share/classes/java/util/zip/Adler32.java ! src/java.base/share/classes/java/util/zip/CRC32.java ! src/java.base/share/classes/java/util/zip/CRC32C.java ! src/java.base/share/classes/java/util/zip/Deflater.java ! src/java.base/share/classes/java/util/zip/Inflater.java ! test/jdk/java/util/zip/ChecksumBase.java ! test/jdk/java/util/zip/DeInflate.java Changeset: 4755276f Branch: premain Author: Brian Burkhalter Date: 2025-05-27 19:47:56 +0000 URL: https://git.openjdk.org/leyden/commit/4755276f36ccc989d9171fc9f92f8e886d4d99b9 8357912: (fs) Remove @since tag from java.nio.file.FileSystems.newFileSystem(Path,ClassLoader) Reviewed-by: lancea, alanb ! src/java.base/share/classes/java/nio/file/FileSystems.java Changeset: 11ad1733 Branch: premain Author: Andrey Turbanov Date: 2025-05-27 20:43:09 +0000 URL: https://git.openjdk.org/leyden/commit/11ad1733f8db3d8e868383fc9826963b9ffd620f 8354944: Remove unnecessary PartiallyOrderedSet.nodes Reviewed-by: serb, aivanov ! src/java.desktop/share/classes/javax/imageio/spi/PartiallyOrderedSet.java Changeset: 2e8b195a Branch: premain Author: William Kemper Date: 2025-05-27 21:40:27 +0000 URL: https://git.openjdk.org/leyden/commit/2e8b195a96e3b2a4ca27c64a923adc4334073128 8354078: Implement JEP 521: Generational Shenandoah Reviewed-by: ysr ! src/hotspot/share/gc/shenandoah/mode/shenandoahGenerationalMode.hpp ! test/hotspot/jtreg/gc/shenandoah/options/TestModeUnlock.java Changeset: f25f4a3e Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-27 22:41:39 +0000 URL: https://git.openjdk.org/leyden/commit/f25f4a3eb2f3ebba4af30471de9d35778c120d50 8349665: Make clean removes module-deps.gmk Reviewed-by: erikj ! make/Init.gmk ! make/Main.gmk ! make/PreInitSupport.gmk Changeset: c110623d Branch: premain Author: Alex Menkov Date: 2025-05-27 23:23:26 +0000 URL: https://git.openjdk.org/leyden/commit/c110623d38806c5170fbff640e77933dcef8981b 8357282: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java fails after ClassNotFoundException Reviewed-by: lmesnik, sspitsyn ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/vmTestbase/nsk/share/aod/AODRunnerArgParser.java Changeset: 4cad4379 Branch: premain Author: Steffen Nie?ing Committer: SendaoYan Date: 2025-05-28 01:54:48 +0000 URL: https://git.openjdk.org/leyden/commit/4cad437956ff75a377adba8a760e19dc6cf7dc8d 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null Reviewed-by: rriggs, jpai, liach ! src/java.base/share/classes/java/lang/reflect/Proxy.java Changeset: 96fb31e2 Branch: premain Author: Dingli Zhang Committer: Feilong Jiang Date: 2025-05-28 02:27:06 +0000 URL: https://git.openjdk.org/leyden/commit/96fb31e2dbc16875c6c8183096cd03f30d0632ee 8357695: RISC-V: Move vector intrinsic condition checks into match_rule_supported_vector Reviewed-by: fyang, fjiang ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 72b9aafd Branch: premain Author: Ioi Lam Date: 2025-05-28 02:39:59 +0000 URL: https://git.openjdk.org/leyden/commit/72b9aafd5a0dfb379a979f554fa99a767eef3e50 8357917: Assert in MetaspaceShared::preload_and_dump() when printing exception Reviewed-by: kvn, jrose ! src/hotspot/share/cds/metaspaceShared.cpp Changeset: 670ef8cc Branch: premain Author: Matthias Baesken Date: 2025-05-28 05:54:10 +0000 URL: https://git.openjdk.org/leyden/commit/670ef8cc52e6eb068ca6968142629abc1c424571 8357561: BootstrapLoggerTest does not work on Ubuntu 24 with LANG de_DE.UTF-8 Reviewed-by: dfuchs ! test/jdk/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerTest.java ! test/jdk/java/util/logging/LocalizedLevelName.java ! test/jdk/java/util/logging/SimpleFormatterFormat.java ! test/jdk/sun/util/logging/SourceClassName.java Changeset: db515566 Branch: premain Author: Thomas Schatzl Date: 2025-05-28 06:55:20 +0000 URL: https://git.openjdk.org/leyden/commit/db515566875b92bd4aff08cccc80d80b85f01514 8354428: [ubsan] g1BiasedArray.hpp: pointer overflow in address calculation Reviewed-by: ayang, kbarrett, mbaesken ! src/hotspot/share/gc/g1/g1BiasedArray.cpp ! src/hotspot/share/gc/g1/g1BiasedArray.hpp ! src/hotspot/share/gc/g1/vmStructs_g1.hpp ! test/hotspot/gtest/gc/g1/test_g1BiasedArray.cpp Changeset: 1d57ff8a Branch: premain Author: Marc Chevalier Date: 2025-05-28 07:52:17 +0000 URL: https://git.openjdk.org/leyden/commit/1d57ff8ad4938bc9ca9b1996eb200c1b51bdf300 8357781: Deep recursion in PhaseCFG::set_next_call leads to stack overflow Reviewed-by: thartmann, kvn, mhaessig ! src/hotspot/share/opto/block.hpp ! src/hotspot/share/opto/lcm.cpp + test/hotspot/jtreg/compiler/c2/StackOverflowInSetNextCall.java Changeset: efeb050e Branch: premain Author: Raffaello Giulietti Date: 2025-05-28 08:13:02 +0000 URL: https://git.openjdk.org/leyden/commit/efeb050e00145da18f979fe17c22da2f736dbd41 8357808: Add a command line option for specifying a counter in TestRandomFloatingDecimal Reviewed-by: liach ! test/jdk/jdk/internal/math/FloatingDecimal/TestRandomFloatingDecimal.java Changeset: f74fbfe5 Branch: premain Author: Axel Boldt-Christmas Date: 2025-05-28 08:20:48 +0000 URL: https://git.openjdk.org/leyden/commit/f74fbfe5de9dc5b90652956935642670c085938c 8357449: ZGC: Multiple medium page sizes Reviewed-by: stefank, jsikstro ! src/hotspot/share/gc/z/vmStructs_z.hpp ! src/hotspot/share/gc/z/zAllocationFlags.hpp ! src/hotspot/share/gc/z/zArguments.cpp ! src/hotspot/share/gc/z/zGlobals.cpp ! src/hotspot/share/gc/z/zGlobals.hpp ! src/hotspot/share/gc/z/zHeap.cpp ! src/hotspot/share/gc/z/zHeuristics.cpp ! src/hotspot/share/gc/z/zMappedCache.cpp ! src/hotspot/share/gc/z/zMappedCache.hpp ! src/hotspot/share/gc/z/zObjectAllocator.cpp ! src/hotspot/share/gc/z/zPage.cpp ! src/hotspot/share/gc/z/zPageAllocator.cpp ! src/hotspot/share/gc/z/zPageAllocator.hpp ! src/hotspot/share/gc/z/zRelocationSetSelector.cpp ! src/hotspot/share/gc/z/zRelocationSetSelector.hpp ! src/hotspot/share/gc/z/zRelocationSetSelector.inline.hpp ! src/hotspot/share/gc/z/zStat.cpp ! src/hotspot/share/gc/z/z_globals.hpp + test/hotspot/jtreg/gc/z/TestZMediumPageSizes.java Changeset: 1e0caedb Branch: premain Author: Albert Mingkun Yang Date: 2025-05-28 08:47:36 +0000 URL: https://git.openjdk.org/leyden/commit/1e0caedb9ab1c56e3986764ce260b94e423d4948 8357854: Parallel: Inline args of PSOldGen::initialize_performance_counters Reviewed-by: tschatzl, jsikstro ! src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp ! src/hotspot/share/gc/parallel/psOldGen.cpp ! src/hotspot/share/gc/parallel/psOldGen.hpp Changeset: f02190bc Branch: premain Author: Markus Gr?nlund Date: 2025-05-28 08:57:04 +0000 URL: https://git.openjdk.org/leyden/commit/f02190bc30bf3d203a5012140a72023622fc2d77 8357829: Commented out sample limit in JfrSamplerThread::task_stacktrace Reviewed-by: shade ! src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp Changeset: 4e1878ca Branch: premain Author: Andrew Haley Date: 2025-05-28 09:41:37 +0000 URL: https://git.openjdk.org/leyden/commit/4e1878ca452d1e781eb61610a94064c0c4798073 8355022: Implement JEP 506: Scoped Values Reviewed-by: liach, alanb ! src/java.base/share/classes/java/lang/ScopedValue.java ! src/java.base/share/classes/javax/security/auth/Subject.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! test/jdk/java/lang/ScopedValue/ManyBindings.java ! test/jdk/java/lang/ScopedValue/ScopedValueAPI.java ! test/jdk/java/lang/ScopedValue/UnboundValueAfterOOME.java Changeset: 39714b60 Branch: premain Author: Hannes Walln?fer Date: 2025-05-28 09:46:49 +0000 URL: https://git.openjdk.org/leyden/commit/39714b603040f1619f5e0e2a13ea8a90bb993c27 8357869: Remove PreviewNote taglet in its current form Reviewed-by: erikj ! make/Docs.gmk - make/jdk/src/classes/build/tools/taglet/PreviewNote.java Changeset: 627ef344 Branch: premain Author: Mikhail Yankelevich Committer: Michael McMahon Date: 2025-05-28 10:34:50 +0000 URL: https://git.openjdk.org/leyden/commit/627ef34498c31b5d16f9da423cfe0a5fe46a3562 8304065: HttpServer.stop should terminate immediately if no exchanges are in progress Co-authored-by: Eirik Bj?rsn?s Reviewed-by: dfuchs, michaelm ! src/jdk.httpserver/share/classes/sun/net/httpserver/ChunkedOutputStream.java ! src/jdk.httpserver/share/classes/sun/net/httpserver/Event.java ! src/jdk.httpserver/share/classes/sun/net/httpserver/FixedLengthOutputStream.java ! src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java ! src/jdk.httpserver/share/classes/sun/net/httpserver/UndefLengthOutputStream.java - src/jdk.httpserver/share/classes/sun/net/httpserver/WriteFinishedEvent.java + test/jdk/com/sun/net/httpserver/ServerStopTerminationTest.java Changeset: 0671309d Branch: premain Author: Per Minborg Date: 2025-05-28 10:57:57 +0000 URL: https://git.openjdk.org/leyden/commit/0671309de530822cc261e8251fc425c8aa3cc487 8357919: Arena::allocate returns segments with address zero if the segment length is zero after JDK-8345687 Reviewed-by: mcimadamore ! src/java.base/share/classes/jdk/internal/foreign/SegmentFactories.java ! test/jdk/java/foreign/TestSegments.java Changeset: f30e1541 Branch: premain Author: Serguei Spitsyn Date: 2025-05-28 11:38:20 +0000 URL: https://git.openjdk.org/leyden/commit/f30e15411f5c0fc90565dac19203fdc1ab43fd88 8357673: remove test serviceability/jvmti/vthread/TestPinCaseWithCFLH Reviewed-by: amenkov, lmesnik - test/hotspot/jtreg/serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java Changeset: 6ebae6cd Branch: premain Author: Casper Norrbin Committer: Albert Mingkun Yang Date: 2025-05-28 12:00:15 +0000 URL: https://git.openjdk.org/leyden/commit/6ebae6cded49f9b0b0d42899af3303647eca7848 8241678: Remove PerfData sampling via StatSampler Reviewed-by: jsjolen, ayang ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/share/gc/parallel/spaceCounters.cpp ! src/hotspot/share/gc/parallel/spaceCounters.hpp ! src/hotspot/share/gc/serial/cSpaceCounters.cpp ! src/hotspot/share/gc/serial/cSpaceCounters.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/runtime/perfData.hpp ! src/hotspot/share/runtime/perfDataTypes.hpp ! src/hotspot/share/runtime/perfMemory.cpp - src/hotspot/share/runtime/statSampler.cpp - src/hotspot/share/runtime/statSampler.hpp ! src/hotspot/share/runtime/threads.cpp ! src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/v1_0/PerfDataBuffer.java ! src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/resources/aliasmap ! src/jdk.jcmd/share/classes/sun/tools/jstat/ExpressionExecuter.java ! src/jdk.jcmd/share/classes/sun/tools/jstat/ExpressionResolver.java ! src/jdk.jcmd/share/classes/sun/tools/jstat/Parser.java + src/jdk.jcmd/share/classes/sun/tools/jstat/Timestamp.java ! src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options Changeset: c9e6c4d0 Branch: premain Author: Fabio Romano Committer: Raffaello Giulietti Date: 2025-05-28 12:48:47 +0000 URL: https://git.openjdk.org/leyden/commit/c9e6c4d0171ff6f419344f9341747c71416d4ec9 8356891: Some code simplifications in BigInteger Reviewed-by: rgiulietti ! src/java.base/share/classes/java/math/BigInteger.java Changeset: 4b9290af Branch: premain Author: Marc Chevalier Date: 2025-05-28 13:26:15 +0000 URL: https://git.openjdk.org/leyden/commit/4b9290af0a46bdf662735c24d00732a4c1601102 8356647: C2: Excessively strict assert in PhaseIdealLoop::do_unroll Reviewed-by: chagedorn, epeter, dlong ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp + test/hotspot/jtreg/compiler/loopopts/UnrollWideLoopHitsTooStrictAssert.java Changeset: 016cc4f3 Branch: premain Author: Markus Gr?nlund Date: 2025-05-28 13:51:24 +0000 URL: https://git.openjdk.org/leyden/commit/016cc4f333d1a59a7cd534cb7ee4c373087efd10 8357830: JfrVframeStream::_cont_entry shadows super-class field Reviewed-by: egahlin - src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.hpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.inline.hpp Changeset: 1a65719a Branch: premain Author: Markus Gr?nlund Date: 2025-05-28 13:51:40 +0000 URL: https://git.openjdk.org/leyden/commit/1a65719ab336336f94777df85bafeeef2c4d5b56 8357911: JFR: Fix subtle xor method tagging bug Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdMacros.hpp Changeset: 18285fc1 Branch: premain Author: Viktor Klang Date: 2025-05-28 14:23:23 +0000 URL: https://git.openjdk.org/leyden/commit/18285fc136e1a892ab54a705c1fa82e91325b06a 8356553: Incorrect uses of {@link} in AbstractQueuedLongSynchronizer and AbstractQueuedSynchronizer Reviewed-by: alanb ! src/java.base/share/classes/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java ! src/java.base/share/classes/java/util/concurrent/locks/AbstractQueuedSynchronizer.java Changeset: 7bd8375f Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-28 14:25:12 +0000 URL: https://git.openjdk.org/leyden/commit/7bd8375fe49eedecae7b2a1c75e7efb5ab06b22d 8357920: Add .rej and .orig to .gitignore Reviewed-by: syan, erikj ! .gitignore Changeset: a4f870df Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-28 14:42:21 +0000 URL: https://git.openjdk.org/leyden/commit/a4f870df553e4d7669edf6e454e147526ff2fae7 8357510: [REDO] RunTest variables should always be assigned Reviewed-by: erikj ! make/RunTests.gmk Changeset: 63d0e7ff Branch: premain Author: Magnus Ihse Bursie Date: 2025-05-28 14:42:35 +0000 URL: https://git.openjdk.org/leyden/commit/63d0e7ff117537bf4768b88c43a0231a14ed1512 8355725: SPEC_FILTER stopped working Reviewed-by: erikj ! make/Docs.gmk Changeset: 5fbf72e7 Branch: premain Author: Vladimir Kozlov Date: 2025-05-29 22:41:35 +0000 URL: https://git.openjdk.org/leyden/commit/5fbf72e79223b1cea1a1ca52da4beb5b0e5b9b86 Merge branch 'master' into premain through JDK-8355725 ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/runtime/perfData.hpp ! src/hotspot/share/runtime/perfDataTypes.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/services/diagnosticCommand.cpp ! src/java.base/share/classes/java/lang/reflect/Proxy.java ! test/hotspot/jtreg/ProblemList.txt ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/share/cds/aotClassLocation.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/runtime/perfData.hpp ! src/hotspot/share/runtime/perfDataTypes.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/services/diagnosticCommand.cpp ! src/java.base/share/classes/java/lang/reflect/Proxy.java ! test/hotspot/jtreg/ProblemList.txt From david.holmes at oracle.com Fri May 30 06:54:02 2025 From: david.holmes at oracle.com (David Holmes) Date: Fri, 30 May 2025 16:54:02 +1000 Subject: Questions about the Hermetic Java project In-Reply-To: References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> <105e5e22-cc87-48a0-978c-f2e472277843@oracle.com> Message-ID: <8d5075b2-fcbf-4be2-8510-9619b33aee87@oracle.com> On 30/05/2025 9:26 am, Jiangli Zhou wrote: > On Thu, May 29, 2025 at 3:17?PM David Holmes wrote: >> >> On 30/05/2025 2:57 am, Jiangli Zhou wrote: >>> On Wed, May 28, 2025 at 10:36?PM David Holmes wrote: >>>> >>>> Hi Jiangli, >>>> >>>> >>>> >>>> On 29/05/2025 3:27 am, Jiangli Zhou wrote: >>>>>>> This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. >>>>>> >>>>>> Thumbs up! That seems to be a good direction. Currently in the leyden >>>>>> branch, it first looks up the unique >>>>>> JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in >>>>>> libraries, then search for the dynamic libraries using the >>>>>> conventional naming when necessary. e.g.: >>>>>> >>>>>> https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a >>>>>> https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 >>>>>> >>>>>> When spec supports JNI_OnLoad_ and etc. for dynamic >>>>>> libraries, we may still need to support the conventional naming >>>>>> without the <_lib_name> part for existing libraries out there. >>>>> >>>>> Resuming the conversation on using >>>>> JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L >>>>> for dynamically linked JNI & agent libraries. It is related to >>>>> JDK-8350450 [1]: Compile object files once for both static and dynamic >>>>> builds. We have recently enabled building & tier1 testing for >>>>> static-jdk with release binary in GHA on linux-x64. The debug build >>>>> however cannot be enabled in GHA due to space/resource limit (please >>>>> see more details in JDK-8350450). So it's a good time to pick up >>>>> JDK-8350450 related work. Based on discussions with Magnus in >>>>> JDK-8350450 bug comments and separate emails from last year, I'll >>>>> extract the runtime changes from the leyden/hermetic-java-runtime >>>>> branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically >>>>> linked JNI/agent libraries. The work has been broadly tested in our >>>>> internal prototype on JDK 11 and newer versions (linux-x64). >>>>> >>>>> Regarding the spec part, Ron, Alan, Magnus and myself had several >>>>> discussions last year during hermetic Java meetings. The general >>>>> understanding was that using JNI_OnLoad_L (and etc) for dynamically >>>>> linked JDK native libraries requires no JNI/JVMTI spec change. I >>>>> wonder if the following languages should be relaxed a bit to address >>>>> potential questions. Any thoughts? >>>> >>>> I don't know exactly what was discussed, but I don't see how you can not >>>> update the JNI (and other) specifications to do what you want to do, if >>>> that involves invoking JNI_OnLoad_L in the dynamic case instead of >>>> JNI_OnLoad. ?? >>> >>> Hi David, >>> >>> (refreshing my memory based on hermetic Java meeting notes) >>> >>> It's based on the following language in the JNI spec, >>> https://docs.oracle.com/en/java/javase/21/docs/specs/jni/invocation.html#support-for-statically-linked-libraries: >>> >>> Support for Statically Linked Libraries >>> >>> "If dynamically linked library defines JNI_OnLoad_L and/or >>> JNI_OnUnload_L functions, these functions will be ignored." >>> >>> The spec allows JNI_OnLoad_L and etc in dynamically linked libraries. >>> For JDK internal native libraries, the implementation could use these >>> symbols without requiring changing the spec. Ron, Alan, or Magnus, >>> please correct or add any additional info. >> >> If this is only a convention for internal-use then I agree, no spec >> change needed. For internal-use-only we can define whatever load/unload >> hooks we like. > > Thanks, David. Yeah, that seems to be the rationale with using > JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L > in JDK native libraries, before any spec update. > > I just thought of one more thing related to the discussion now. Any > concern if the implementation does not ignore JNI_OnLoad_L and etc if > they are defined application's dynamically linked native libraries? Or > that's unspecified behavior and it's up to the implement to decide? For Internal libraries or external? For external you have to follow the spec - if both methods exist you only want to execute one of them. David ----- > Thanks! > Jiangli >> >> David >> >>> Best, >>> Jiangli >>> >>> >>>> >>>> David >>>> ----- >>>> >>>> >>>>> From JNI spec [3]: >>>>> >>>>> - JNI_OnLoad/JNI_OnUnload >>>>> Optional function defined by dynamically linked libraries. >>>>> >>>>> LINKAGE: >>>>> Exported from dynamically linked native libraries that contain >>>>> native method implementations. >>>>> >>>>> - JNI_OnLoad_L >>>>> Mandatory function that must be defined by statically linked libraries . >>>>> >>>>> LINKAGE: >>>>> Exported from statically linked native libraries that contain native >>>>> method implementations. >>>>> >>>>> - JNI_OnUnload_L >>>>> Optional function defined by statically linked libraries. >>>>> >>>>> From JVMTI spec [4]: >>>>> >>>>> An agent L whose image has been combined with the VM is defined as >>>>> statically linked if and only if the agent exports a function called >>>>> Agent_OnLoad_L. >>>>> >>>>> [1]: https://bugs.openjdk.org/browse/JDK-8350450 >>>>> [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime >>>>> [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ >>>>> [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html >>>>> >>>>> Best, >>>>> Jiangli >>>>> >>>>>> >>>>>>> >>>>>>> And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. >>>>>>> >>>>>>> A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. >>>>>> >>>>>> Thank you for taking this on! Potentially we could consider taking the >>>>>> objcopy to localizing hotspot symbols on unix-like platforms, based on >>>>>> https://github.com/openjdk/jdk/pull/17456 discussions. Additional >>>>>> testing is still needed to verify the solution. >>>>>> >>>>>>> >>>>>>> My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. >>>>>> >>>>>> Most of the JDK resources are now supported as hermetic jimage >>>>>> (lib/modules) bundled in the >>>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. >>>>>> The remaining sound.properties, ct.sym and .jfc files can be handled >>>>>> later. Overally, that part of the work has confirmed the hermetic >>>>>> jimage bundled solution is robust and helps resolve some of the >>>>>> difficult start-up sequence issues observed when the hermetic resource >>>>>> was implemented using JAR file based solution. >>>>>> >>>>>> It might be a good idea to follow up on the static linking discussion >>>>>> in tomorrow's zoom meeting (hope you'll be able to join tomorrow). >>>>>> >>>>>> Thanks! >>>>>> >>>>>> Jiangli >>>>>>> >>>>>>> /Magnus >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks! >>>>>>> Jiangli >>>>>>> >>>>>>> On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: >>>>>>>> >>>>>>>> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: >>>>>>>>> >>>>>>>>> Hi Magnus, >>>>>>>>> >>>>>>>>> Thanks for looking into this from the build perspective. >>>>>>>>> >>>>>>>>> On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> First some background for build-dev: I have spent some time looking at >>>>>>>>>> the build implications of the Hermetic Java effort, which is part of >>>>>>>>>> Project Leyden. A high-level overview is available here: >>>>>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source >>>>>>>>>> code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. >>>>>>>>> >>>>>>>>> Some additional hermetic Java related references that are also useful: >>>>>>>>> >>>>>>>>> - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that >>>>>>>>> links to the issues for resolving static linking issues so far >>>>>>>>> - https://github.com/openjdk/jdk21/pull/26 is the enhancement for >>>>>>>>> building the complete set of static libraries in JDK/VM, particularly >>>>>>>>> including libjvm.a >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hermetic Java faces several challenges, but the part that is relevant >>>>>>>>>> for the build system is the ability to create static libraries. We've >>>>>>>>>> had this functionality (in three different ways...) for some time, but >>>>>>>>>> it is rather badly implemented. >>>>>>>>>> >>>>>>>>>> As a result of my investigations, I have a bunch of questions. :-) I >>>>>>>>>> have gotten some answers in private discussion, but for the sake of >>>>>>>>>> transparency I will repeat them here, to foster an open dialogue. >>>>>>>>>> >>>>>>>>>> 1. Am I correct in understanding that the ultimate goal of this exercise >>>>>>>>>> is to be able to have jmods which include static libraries (*.a) of the >>>>>>>>>> native code which the module uses, and that the user can then run a >>>>>>>>>> special jlink command to have this linked into a single executable >>>>>>>>>> binary (which also bundles the *.class files and any additional >>>>>>>>>> resources needed)? >>>>>>>>>> >>>>>>>>>> 2. If so, is the idea to create special kinds of static jmods, like >>>>>>>>>> java.base-static.jmod, that contains *.a files instead of lib*.so files? >>>>>>>>>> Or is the idea that the normal jmod should contain both? >>>>>>>>>> >>>>>>>>>> 3. Linking .o and .a files into an executable is a formidable task. Is >>>>>>>>>> the intention to have jlink call a system-provided ld, or to bundle ld >>>>>>>>>> with jlink, or to reimplement this functionality in Java? >>>>>>>>> >>>>>>>>> I have a similar view as Alan responded in your other email thread. >>>>>>>>> Things are still in the early stage for the general solution. >>>>>>>>> >>>>>>>>> In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime >>>>>>>>> branch, when configuring JDK with --with-static-java=yes, the JDK >>>>>>>>> binary contains the following extra artifacts: >>>>>>>>> >>>>>>>>> - static-libs/*.a: The complete set of JDK/VM static libraries >>>>>>>>> - jdk/bin/javastatic: A demo Java launcher fully statically linked >>>>>>>>> with the selected JDK .a libraries (e.g. it currently statically link >>>>>>>>> with the headless) and libjvm.a. It's the standard Java launcher >>>>>>>>> without additional work for hermetic Java. >>>>>>>>> >>>>>>>>> In our prototype for hermetic Java, we build the hermetic executable >>>>>>>>> image (a single image) from the following input (see description on >>>>>>>>> singlejar packaging tool in >>>>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf): >>>>>>>>> >>>>>>>>> - A customized launcher (with additional work for hermetic) executable >>>>>>>>> fully statically linked with JDK/VM static libraries (.a files), >>>>>>>>> application natives and dependencies (e.g. in .a static libraries) >>>>>>>>> - JDK lib/modules, JDK resource files >>>>>>>>> - Application classes and resource files >>>>>>>>> >>>>>>>>> Including a JDK library .a into the corresponding .jmod would require >>>>>>>>> extracting the .a for linking with the executable. In some systems >>>>>>>>> that may cause memory overhead due to the extracted copy of the .a >>>>>>>>> files. I think we should consider the memory overhead issue. >>>>>>>>> >>>>>>>>> One possibility (as Alan described in his response) is for jlink to >>>>>>>>> invoke the ld on the build system. jlink could pass the needed JDK >>>>>>>>> static libraries and libjvm.a (provided as part of the JDK binary) to >>>>>>>>> ld based on the modules required for the application. >>>>>>>>> >>>>>>>> >>>>>>>> I gave a bit more thoughts on this one. For jlink to trigger ld, it >>>>>>>> would need to know the complete linker options and inputs. Those >>>>>>>> include options and inputs related to the application part as well. In >>>>>>>> some usages, it might be easier to handle native linking separately >>>>>>>> and pass the linker output, the executable to jlink directly. Maybe we >>>>>>>> could consider supporting different modes for various usages >>>>>>>> requirements, from static libraries and native linking point of view: >>>>>>>> >>>>>>>> Mode #1 >>>>>>>> Support .jmod packaged natives static libraries, for both JDK/VM .a >>>>>>>> and application natives and dependencies. If the inputs to jlink >>>>>>>> include .jmods, jlink can extract the .a libraries and pass the >>>>>>>> information to ld to link the executable. >>>>>>>> >>>>>>>> Mode #2 >>>>>>>> Support separate .a as jlink input. Jlink could pass the path >>>>>>>> information to the .a libraries and other linker options to ld to >>>>>>>> create the executable. >>>>>>>> >>>>>>>> For both mode #1 and #2, jlink would then use the linker output >>>>>>>> executable to create the final hermetic image. >>>>>>>> >>>>>>>> Mode #3 >>>>>>>> Support a fully linked executable as a jlink input. When a linked >>>>>>>> executable is given to jlink, it can process it directly with other >>>>>>>> JDK data/files to create the final image, without native linking step. >>>>>>>> >>>>>>>> Any other thoughts and considerations? >>>>>>>> >>>>>>>> Best, >>>>>>>> Jiangli >>>>>>>> >>>>>>>>>> >>>>>>>>>> 4. Is the intention is to allow users to create their own jmods with >>>>>>>>>> static libraries, and have these linked in as well? This seems to be the >>>>>>>>>> case. >>>>>>>>> >>>>>>>>> An alternative with less memory overhead could be using application >>>>>>>>> modular JAR and separate .a as the input for jlink. >>>>>>>>> >>>>>>>>>> If that is so, then there will always be the risk for name >>>>>>>>>> collisions, and we can only minimize the risk by making sure any global >>>>>>>>>> names are as unique as possible. >>>>>>>>> >>>>>>>>> Part of the current effort includes resolving the discovered symbol >>>>>>>>> collision issues with static linking. Will respond to your other email >>>>>>>>> on the symbol issue separately later. >>>>>>>>> >>>>>>>>>> >>>>>>>>>> 5. The original implementation of static builds in the JDK, created for >>>>>>>>>> the Mobile project, used a configure flag, --enable-static-builds, to >>>>>>>>>> change the entire behavior of the build system to only produce *.a files >>>>>>>>>> instead of lib*.so. In contrast, the current system is using a special >>>>>>>>>> target instead. >>>>>>>>> >>>>>>>>> I think we would need both configure flag and special target for the >>>>>>>>> static builds. >>>>>>>>> >>>>>>>>>> In my eyes, this is a much worse solution. Apart from >>>>>>>>>> the conceptual principle (if the build should generate static or dynamic >>>>>>>>>> libraries is definitely a property of what a "configuration" means), >>>>>>>>>> this makes it much harder to implement efficiently, since we cannot make >>>>>>>>>> changes in NativeCompilation.gmk, where they are needed. >>>>>>>>> >>>>>>>>> For the potential objcopy work to resolve symbol issues, we can add >>>>>>>>> that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We >>>>>>>>> have an internal prototype (not included in >>>>>>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done >>>>>>>>> by one of colleagues for localizing symbols in libfreetype using >>>>>>>>> objcopy. >>>>>>>>> >>>>>>>>>> >>>>>>>>>> That was not as much a question as a statement. ? But here is the >>>>>>>>>> question: Do you think it would be reasonable to restore the old >>>>>>>>>> behavior but with the new methods, so that we don't use special targets, >>>>>>>>>> but instead tells configure to generate static libraries? I'm thinking >>>>>>>>>> we should have a flag like "--with-library-type=" that can have values >>>>>>>>>> "dynamic" (which is default), "static" or "both". >>>>>>>>> >>>>>>>>> If we want to also build a fully statically linked launcher, maybe >>>>>>>>> --with-static-java? Being able to configure either dynamic, static or >>>>>>>>> both as you suggested also seems to be a good idea. >>>>>>>>> >>>>>>>>>> I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files >>>>>>>>>> into a single jmod file (see question 2 above), then it definitely is. >>>>>>>>>> In general, the cost of producing two kinds of libraries are quite >>>>>>>>>> small, compared to the cost of compiling the source code to object files. >>>>>>>>> >>>>>>>>> Completely agree. It would be good to avoid recompiling the .o file >>>>>>>>> for static and dynamic builds. As proposed in >>>>>>>>> https://bugs.openjdk.org/browse/JDK-8303796: >>>>>>>>> >>>>>>>>> It's beneficial to be able to build both .so and .a from the same set >>>>>>>>> of .o files. That would involve some changes to handle the dynamic JDK >>>>>>>>> and static JDK difference at runtime, instead of relying on the >>>>>>>>> STATIC_BUILD macro. >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Finally, I have looked at how to manipulate symbol visibility. There >>>>>>>>>> seems many ways forward, so I feel confident that we can find a good >>>>>>>>>> solution. >>>>>>>>>> >>>>>>>>>> One way forward is to use objcopy to manipulate symbol status >>>>>>>>>> (global/local). There is an option --localize-symbol in objcopy, that >>>>>>>>>> has been available in objcopy since at least 2.15, which was released >>>>>>>>>> 2004, so it should be safe to use. But ideally we should avoid using >>>>>>>>>> objcopy and do this as part of the linking process. This should be >>>>>>>>>> possible to do, given that we make changes in NativeCompilation.gmk -- >>>>>>>>>> see question 5 above. >>>>>>>>>> >>>>>>>>>> As a fallback, it is also possible to rename symbols, either piecewise >>>>>>>>>> or wholesale, using objcopy. There are many ways to do this, using >>>>>>>>>> --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this >>>>>>>>>> takes a file with a list of symbols). Thus we can always introduce a >>>>>>>>>> "post factum namespace" by renaming symbols. >>>>>>>>> >>>>>>>>> Renaming or redefining the symbol at build time could cause confusions >>>>>>>>> with debugging. That's a concern raised in >>>>>>>>> https://github.com/openjdk/jdk/pull/17456 discussions. >>>>>>>>> >>>>>>>>> Additionally, redefining symbols using tools like objcopy may not >>>>>>>>> handle member names referenced in string literals. For example, in >>>>>>>>> https://github.com/openjdk/jdk/pull/17456 additional changes are >>>>>>>>> needed in assembling and SA to reflect the symbol change. >>>>>>>>> >>>>>>>>>> >>>>>>>>>> So in the end, I think it will be fully possible to produce .a files >>>>>>>>>> that only has global symbols for the functions that are part of the API >>>>>>>>>> exposed by that library, and have all other symbols local, and make this >>>>>>>>>> is in a way that is consistent with the rest of the build system. >>>>>>>>>> >>>>>>>>>> Finally, a note on Hotspot. Due to debugging reasons, we export >>>>>>>>>> basically all symbols in hotspot as global. This is not reasonable to do >>>>>>>>>> for a static build. The effect of not exporting those symbols will be >>>>>>>>>> that SA will not function to 100%. On the other hand, I have no idea if >>>>>>>>>> SA works at all with a static build. Have you tested this? Is this part >>>>>>>>>> of the plan to support, or will it be officially dropped for Hermetic Java? >>>>>>>>> >>>>>>>>> We have done some testing with jtreg SA related tests for the fully >>>>>>>>> statically linked `javastatic`. >>>>>>>>> >>>>>>>>> If we use objcopy to localize symbols in hotspot, it's not yet clear >>>>>>>>> what's the impact on SA. We could do some tests. The other question >>>>>>>>> that I raised is the supported gcc versions (for partial linking) >>>>>>>>> related to the solution. >>>>>>>>> >>>>>>>>> Best, >>>>>>>>> Jiangli >>>>>>>>> >>>>>>>>>> >>>>>>>>>> /Magnus >>>>>>>>>> >>>> >> From mr at openjdk.org Fri May 30 18:41:43 2025 From: mr at openjdk.org (Mark Reinhold) Date: Fri, 30 May 2025 18:41:43 GMT Subject: git: openjdk/leyden-docs: master: Update main page Message-ID: <3b9b6b25-ca6e-465a-82d8-bdab274a1866@openjdk.org> Changeset: af7046e5 Branch: master Author: Mark Reinhold Date: 2025-05-30 14:39:09 +0000 URL: https://git.openjdk.org/leyden-docs/commit/af7046e56afa213ea1ea928dde84daa3d7b86d10 Update main page ! site/_index.md From jianglizhou at google.com Fri May 30 21:20:40 2025 From: jianglizhou at google.com (Jiangli Zhou) Date: Fri, 30 May 2025 14:20:40 -0700 Subject: Questions about the Hermetic Java project In-Reply-To: <8d5075b2-fcbf-4be2-8510-9619b33aee87@oracle.com> References: <6a9afe3f-e232-4636-8a2e-6112a6e68cce@oracle.com> <30fbc8de-74f9-483e-a1f4-7ab2f1f26fbd@oracle.com> <105e5e22-cc87-48a0-978c-f2e472277843@oracle.com> <8d5075b2-fcbf-4be2-8510-9619b33aee87@oracle.com> Message-ID: On Thu, May 29, 2025 at 11:54?PM David Holmes wrote: > > On 30/05/2025 9:26 am, Jiangli Zhou wrote: > > On Thu, May 29, 2025 at 3:17?PM David Holmes wrote: > >> > >> On 30/05/2025 2:57 am, Jiangli Zhou wrote: > >>> On Wed, May 28, 2025 at 10:36?PM David Holmes wrote: > >>>> > >>>> Hi Jiangli, > >>>> > >>>> > >>>> > >>>> On 29/05/2025 3:27 am, Jiangli Zhou wrote: > >>>>>>> This is unfortunately quite complex, and I have started a discussion with Alan if it is possible to update the JNI spec so that both static and dynamic entry points can have the form "JNI_OnLoad_". Ideally, I'd like to see us push for this with as much effort as possible. If we got this in place, static builds would be much easier, and the changes required for Hermetic Java even smaller. > >>>>>> > >>>>>> Thumbs up! That seems to be a good direction. Currently in the leyden > >>>>>> branch, it first looks up the unique > >>>>>> JNI_OnLoad<_lib_name>|Agent_OnLoad<_lib_name> etc for built-in > >>>>>> libraries, then search for the dynamic libraries using the > >>>>>> conventional naming when necessary. e.g.: > >>>>>> > >>>>>> https://github.com/openjdk/leyden/commit/a5c886d2e85a0ff0c3712a5488ae61d8c9d7ba1a > >>>>>> https://github.com/openjdk/leyden/commit/1da8e3240e0bd27366d19f2e7dde386e46015135 > >>>>>> > >>>>>> When spec supports JNI_OnLoad_ and etc. for dynamic > >>>>>> libraries, we may still need to support the conventional naming > >>>>>> without the <_lib_name> part for existing libraries out there. > >>>>> > >>>>> Resuming the conversation on using > >>>>> JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L > >>>>> for dynamically linked JNI & agent libraries. It is related to > >>>>> JDK-8350450 [1]: Compile object files once for both static and dynamic > >>>>> builds. We have recently enabled building & tier1 testing for > >>>>> static-jdk with release binary in GHA on linux-x64. The debug build > >>>>> however cannot be enabled in GHA due to space/resource limit (please > >>>>> see more details in JDK-8350450). So it's a good time to pick up > >>>>> JDK-8350450 related work. Based on discussions with Magnus in > >>>>> JDK-8350450 bug comments and separate emails from last year, I'll > >>>>> extract the runtime changes from the leyden/hermetic-java-runtime > >>>>> branch [2] for supporting JNI_OnLoad_L (and etc) for dynamically > >>>>> linked JNI/agent libraries. The work has been broadly tested in our > >>>>> internal prototype on JDK 11 and newer versions (linux-x64). > >>>>> > >>>>> Regarding the spec part, Ron, Alan, Magnus and myself had several > >>>>> discussions last year during hermetic Java meetings. The general > >>>>> understanding was that using JNI_OnLoad_L (and etc) for dynamically > >>>>> linked JDK native libraries requires no JNI/JVMTI spec change. I > >>>>> wonder if the following languages should be relaxed a bit to address > >>>>> potential questions. Any thoughts? > >>>> > >>>> I don't know exactly what was discussed, but I don't see how you can not > >>>> update the JNI (and other) specifications to do what you want to do, if > >>>> that involves invoking JNI_OnLoad_L in the dynamic case instead of > >>>> JNI_OnLoad. ?? > >>> > >>> Hi David, > >>> > >>> (refreshing my memory based on hermetic Java meeting notes) > >>> > >>> It's based on the following language in the JNI spec, > >>> https://docs.oracle.com/en/java/javase/21/docs/specs/jni/invocation.html#support-for-statically-linked-libraries: > >>> > >>> Support for Statically Linked Libraries > >>> > >>> "If dynamically linked library defines JNI_OnLoad_L and/or > >>> JNI_OnUnload_L functions, these functions will be ignored." > >>> > >>> The spec allows JNI_OnLoad_L and etc in dynamically linked libraries. > >>> For JDK internal native libraries, the implementation could use these > >>> symbols without requiring changing the spec. Ron, Alan, or Magnus, > >>> please correct or add any additional info. > >> > >> If this is only a convention for internal-use then I agree, no spec > >> change needed. For internal-use-only we can define whatever load/unload > >> hooks we like. > > > > Thanks, David. Yeah, that seems to be the rationale with using > > JNI_OnLoad_L|JNI_OnUnload_L|Agent_OnLoad_L|Agent_OnUnLoad_L|Agent_OnAttach_L > > in JDK native libraries, before any spec update. > > > > I just thought of one more thing related to the discussion now. Any > > concern if the implementation does not ignore JNI_OnLoad_L and etc if > > they are defined application's dynamically linked native libraries? Or > > that's unspecified behavior and it's up to the implement to decide? > > For Internal libraries or external? For external you have to follow the > spec - if both methods exist you only want to execute one of them. It's for the external (non-JDK) library that I'm a bit more cautious. In the existing code in JDK mainline, https://github.com/openjdk/jdk/blob/3cc630985d47be6ba4cf991698e999f17dbde203/src/java.base/share/classes/jdk/internal/loader/NativeLibraries.java#L117, loadLibrary() first tries to find the built-in library using JNI_OnLoad_L symbol (L is the library name). When dlsym is called to find the symbol from the main process, any of the already loaded shared libraries are also searched, as described by the dlsym man page (included related part below). https://man7.org/linux/man-pages/man3/dlsym.3.html: RTLD_DEFAULT Find the first occurrence of the desired symbol using the default shared object search order. The search will include global symbols in the executable and its dependencies, as well as symbols in shared objects that were dynamically loaded with the RTLD_GLOBAL flag. I think it would be rare, it is possible to construct such case: There are user JNI libraries A and B, with B is built as a dependency of A. A defines JNI_OnLoad_A and JNI_OnLoad. B defines JNI_OnLoad_B and JNI_OnLoad. When A is being loaded using loadLibrary(), loadLibrary() tries first to lookup JNI_OnLoad_A, which is not found. A is then loaded dynamically, which causes B being loaded implicitly as a dependency of A. Later when loadLibrary() is called for B, JNI_OnLoad_B would be found and then called. This is an existing behavior. I think it's an unspecified behavior and we don't need to add any additional checks to prevent JNI_OnLoad_B from being called. Thanks, Jiangli > > David > ----- > > > Thanks! > > Jiangli > >> > >> David > >> > >>> Best, > >>> Jiangli > >>> > >>> > >>>> > >>>> David > >>>> ----- > >>>> > >>>> > >>>>> From JNI spec [3]: > >>>>> > >>>>> - JNI_OnLoad/JNI_OnUnload > >>>>> Optional function defined by dynamically linked libraries. > >>>>> > >>>>> LINKAGE: > >>>>> Exported from dynamically linked native libraries that contain > >>>>> native method implementations. > >>>>> > >>>>> - JNI_OnLoad_L > >>>>> Mandatory function that must be defined by statically linked libraries . > >>>>> > >>>>> LINKAGE: > >>>>> Exported from statically linked native libraries that contain native > >>>>> method implementations. > >>>>> > >>>>> - JNI_OnUnload_L > >>>>> Optional function defined by statically linked libraries. > >>>>> > >>>>> From JVMTI spec [4]: > >>>>> > >>>>> An agent L whose image has been combined with the VM is defined as > >>>>> statically linked if and only if the agent exports a function called > >>>>> Agent_OnLoad_L. > >>>>> > >>>>> [1]: https://bugs.openjdk.org/browse/JDK-8350450 > >>>>> [2]: https://github.com/openjdk/leyden/tree/hermetic-java-runtime > >>>>> [3]: https://docs.oracle.com/en/java/javase/21/docs/specs/jni/ > >>>>> [4]: https://docs.oracle.com/en/java/javase/24/docs/specs/jvmti.html > >>>>> > >>>>> Best, > >>>>> Jiangli > >>>>> > >>>>>> > >>>>>>> > >>>>>>> And finally, on top of all of this, is the question of widening the platform support. To support linux/gcc with objcopy is trivial, but the question about Windows still remain. I have two possible ways forward, one is to check if there is alternative tooling to use (the prime candidate is the clang-ldd), and the other is to try to "fake" a partial linking by concatenating all source code before compiling. This is not ideal, though, for many reasons, and I am not keen on implementing it, not even for testing. And at this point, I have not had time to investigate any of these options much further, since I have been focusing on 1) above. > >>>>>>> > >>>>>>> A third option is of course to just say that due to toolchain limitations, static linking is not available on Windows. > >>>>>> > >>>>>> Thank you for taking this on! Potentially we could consider taking the > >>>>>> objcopy to localizing hotspot symbols on unix-like platforms, based on > >>>>>> https://github.com/openjdk/jdk/pull/17456 discussions. Additional > >>>>>> testing is still needed to verify the solution. > >>>>>> > >>>>>>> > >>>>>>> My recommendation is that you keep on working to resolve the (much more thorny) issues of resource access in Hermetic Java in your branch, where you have a prototype static build that works for you. In the meantime, I will make sure that there will be a functioning, stable and robust way of creating static builds in the mainline, that can be regularly tested and not bit-rot, like the static build hacks that has gone in before. > >>>>>> > >>>>>> Most of the JDK resources are now supported as hermetic jimage > >>>>>> (lib/modules) bundled in the > >>>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime branch. > >>>>>> The remaining sound.properties, ct.sym and .jfc files can be handled > >>>>>> later. Overally, that part of the work has confirmed the hermetic > >>>>>> jimage bundled solution is robust and helps resolve some of the > >>>>>> difficult start-up sequence issues observed when the hermetic resource > >>>>>> was implemented using JAR file based solution. > >>>>>> > >>>>>> It might be a good idea to follow up on the static linking discussion > >>>>>> in tomorrow's zoom meeting (hope you'll be able to join tomorrow). > >>>>>> > >>>>>> Thanks! > >>>>>> > >>>>>> Jiangli > >>>>>>> > >>>>>>> /Magnus > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> Thanks! > >>>>>>> Jiangli > >>>>>>> > >>>>>>> On Thu, Feb 15, 2024 at 12:01?PM Jiangli Zhou wrote: > >>>>>>>> > >>>>>>>> On Wed, Feb 14, 2024 at 5:07?PM Jiangli Zhou wrote: > >>>>>>>>> > >>>>>>>>> Hi Magnus, > >>>>>>>>> > >>>>>>>>> Thanks for looking into this from the build perspective. > >>>>>>>>> > >>>>>>>>> On Wed, Feb 14, 2024 at 1:00?AM Magnus Ihse Bursie > >>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>> First some background for build-dev: I have spent some time looking at > >>>>>>>>>> the build implications of the Hermetic Java effort, which is part of > >>>>>>>>>> Project Leyden. A high-level overview is available here: > >>>>>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf and the current source > >>>>>>>>>> code is here: https://github.com/openjdk/leyden/tree/hermetic-java-runtime. > >>>>>>>>> > >>>>>>>>> Some additional hermetic Java related references that are also useful: > >>>>>>>>> > >>>>>>>>> - https://bugs.openjdk.org/browse/JDK-8303796 is an umbrella bug that > >>>>>>>>> links to the issues for resolving static linking issues so far > >>>>>>>>> - https://github.com/openjdk/jdk21/pull/26 is the enhancement for > >>>>>>>>> building the complete set of static libraries in JDK/VM, particularly > >>>>>>>>> including libjvm.a > >>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Hermetic Java faces several challenges, but the part that is relevant > >>>>>>>>>> for the build system is the ability to create static libraries. We've > >>>>>>>>>> had this functionality (in three different ways...) for some time, but > >>>>>>>>>> it is rather badly implemented. > >>>>>>>>>> > >>>>>>>>>> As a result of my investigations, I have a bunch of questions. :-) I > >>>>>>>>>> have gotten some answers in private discussion, but for the sake of > >>>>>>>>>> transparency I will repeat them here, to foster an open dialogue. > >>>>>>>>>> > >>>>>>>>>> 1. Am I correct in understanding that the ultimate goal of this exercise > >>>>>>>>>> is to be able to have jmods which include static libraries (*.a) of the > >>>>>>>>>> native code which the module uses, and that the user can then run a > >>>>>>>>>> special jlink command to have this linked into a single executable > >>>>>>>>>> binary (which also bundles the *.class files and any additional > >>>>>>>>>> resources needed)? > >>>>>>>>>> > >>>>>>>>>> 2. If so, is the idea to create special kinds of static jmods, like > >>>>>>>>>> java.base-static.jmod, that contains *.a files instead of lib*.so files? > >>>>>>>>>> Or is the idea that the normal jmod should contain both? > >>>>>>>>>> > >>>>>>>>>> 3. Linking .o and .a files into an executable is a formidable task. Is > >>>>>>>>>> the intention to have jlink call a system-provided ld, or to bundle ld > >>>>>>>>>> with jlink, or to reimplement this functionality in Java? > >>>>>>>>> > >>>>>>>>> I have a similar view as Alan responded in your other email thread. > >>>>>>>>> Things are still in the early stage for the general solution. > >>>>>>>>> > >>>>>>>>> In the https://github.com/openjdk/leyden/tree/hermetic-java-runtime > >>>>>>>>> branch, when configuring JDK with --with-static-java=yes, the JDK > >>>>>>>>> binary contains the following extra artifacts: > >>>>>>>>> > >>>>>>>>> - static-libs/*.a: The complete set of JDK/VM static libraries > >>>>>>>>> - jdk/bin/javastatic: A demo Java launcher fully statically linked > >>>>>>>>> with the selected JDK .a libraries (e.g. it currently statically link > >>>>>>>>> with the headless) and libjvm.a. It's the standard Java launcher > >>>>>>>>> without additional work for hermetic Java. > >>>>>>>>> > >>>>>>>>> In our prototype for hermetic Java, we build the hermetic executable > >>>>>>>>> image (a single image) from the following input (see description on > >>>>>>>>> singlejar packaging tool in > >>>>>>>>> https://cr.openjdk.org/~jiangli/hermetic_java.pdf): > >>>>>>>>> > >>>>>>>>> - A customized launcher (with additional work for hermetic) executable > >>>>>>>>> fully statically linked with JDK/VM static libraries (.a files), > >>>>>>>>> application natives and dependencies (e.g. in .a static libraries) > >>>>>>>>> - JDK lib/modules, JDK resource files > >>>>>>>>> - Application classes and resource files > >>>>>>>>> > >>>>>>>>> Including a JDK library .a into the corresponding .jmod would require > >>>>>>>>> extracting the .a for linking with the executable. In some systems > >>>>>>>>> that may cause memory overhead due to the extracted copy of the .a > >>>>>>>>> files. I think we should consider the memory overhead issue. > >>>>>>>>> > >>>>>>>>> One possibility (as Alan described in his response) is for jlink to > >>>>>>>>> invoke the ld on the build system. jlink could pass the needed JDK > >>>>>>>>> static libraries and libjvm.a (provided as part of the JDK binary) to > >>>>>>>>> ld based on the modules required for the application. > >>>>>>>>> > >>>>>>>> > >>>>>>>> I gave a bit more thoughts on this one. For jlink to trigger ld, it > >>>>>>>> would need to know the complete linker options and inputs. Those > >>>>>>>> include options and inputs related to the application part as well. In > >>>>>>>> some usages, it might be easier to handle native linking separately > >>>>>>>> and pass the linker output, the executable to jlink directly. Maybe we > >>>>>>>> could consider supporting different modes for various usages > >>>>>>>> requirements, from static libraries and native linking point of view: > >>>>>>>> > >>>>>>>> Mode #1 > >>>>>>>> Support .jmod packaged natives static libraries, for both JDK/VM .a > >>>>>>>> and application natives and dependencies. If the inputs to jlink > >>>>>>>> include .jmods, jlink can extract the .a libraries and pass the > >>>>>>>> information to ld to link the executable. > >>>>>>>> > >>>>>>>> Mode #2 > >>>>>>>> Support separate .a as jlink input. Jlink could pass the path > >>>>>>>> information to the .a libraries and other linker options to ld to > >>>>>>>> create the executable. > >>>>>>>> > >>>>>>>> For both mode #1 and #2, jlink would then use the linker output > >>>>>>>> executable to create the final hermetic image. > >>>>>>>> > >>>>>>>> Mode #3 > >>>>>>>> Support a fully linked executable as a jlink input. When a linked > >>>>>>>> executable is given to jlink, it can process it directly with other > >>>>>>>> JDK data/files to create the final image, without native linking step. > >>>>>>>> > >>>>>>>> Any other thoughts and considerations? > >>>>>>>> > >>>>>>>> Best, > >>>>>>>> Jiangli > >>>>>>>> > >>>>>>>>>> > >>>>>>>>>> 4. Is the intention is to allow users to create their own jmods with > >>>>>>>>>> static libraries, and have these linked in as well? This seems to be the > >>>>>>>>>> case. > >>>>>>>>> > >>>>>>>>> An alternative with less memory overhead could be using application > >>>>>>>>> modular JAR and separate .a as the input for jlink. > >>>>>>>>> > >>>>>>>>>> If that is so, then there will always be the risk for name > >>>>>>>>>> collisions, and we can only minimize the risk by making sure any global > >>>>>>>>>> names are as unique as possible. > >>>>>>>>> > >>>>>>>>> Part of the current effort includes resolving the discovered symbol > >>>>>>>>> collision issues with static linking. Will respond to your other email > >>>>>>>>> on the symbol issue separately later. > >>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> 5. The original implementation of static builds in the JDK, created for > >>>>>>>>>> the Mobile project, used a configure flag, --enable-static-builds, to > >>>>>>>>>> change the entire behavior of the build system to only produce *.a files > >>>>>>>>>> instead of lib*.so. In contrast, the current system is using a special > >>>>>>>>>> target instead. > >>>>>>>>> > >>>>>>>>> I think we would need both configure flag and special target for the > >>>>>>>>> static builds. > >>>>>>>>> > >>>>>>>>>> In my eyes, this is a much worse solution. Apart from > >>>>>>>>>> the conceptual principle (if the build should generate static or dynamic > >>>>>>>>>> libraries is definitely a property of what a "configuration" means), > >>>>>>>>>> this makes it much harder to implement efficiently, since we cannot make > >>>>>>>>>> changes in NativeCompilation.gmk, where they are needed. > >>>>>>>>> > >>>>>>>>> For the potential objcopy work to resolve symbol issues, we can add > >>>>>>>>> that conditionally in NativeCompilation.gmk if STATIC_LIBS is true. We > >>>>>>>>> have an internal prototype (not included in > >>>>>>>>> https://github.com/openjdk/leyden/tree/hermetic-java-runtime yet) done > >>>>>>>>> by one of colleagues for localizing symbols in libfreetype using > >>>>>>>>> objcopy. > >>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> That was not as much a question as a statement. ? But here is the > >>>>>>>>>> question: Do you think it would be reasonable to restore the old > >>>>>>>>>> behavior but with the new methods, so that we don't use special targets, > >>>>>>>>>> but instead tells configure to generate static libraries? I'm thinking > >>>>>>>>>> we should have a flag like "--with-library-type=" that can have values > >>>>>>>>>> "dynamic" (which is default), "static" or "both". > >>>>>>>>> > >>>>>>>>> If we want to also build a fully statically linked launcher, maybe > >>>>>>>>> --with-static-java? Being able to configure either dynamic, static or > >>>>>>>>> both as you suggested also seems to be a good idea. > >>>>>>>>> > >>>>>>>>>> I am not sure if "both" are needed, but if we want to bundle both lib*.so and *.a files > >>>>>>>>>> into a single jmod file (see question 2 above), then it definitely is. > >>>>>>>>>> In general, the cost of producing two kinds of libraries are quite > >>>>>>>>>> small, compared to the cost of compiling the source code to object files. > >>>>>>>>> > >>>>>>>>> Completely agree. It would be good to avoid recompiling the .o file > >>>>>>>>> for static and dynamic builds. As proposed in > >>>>>>>>> https://bugs.openjdk.org/browse/JDK-8303796: > >>>>>>>>> > >>>>>>>>> It's beneficial to be able to build both .so and .a from the same set > >>>>>>>>> of .o files. That would involve some changes to handle the dynamic JDK > >>>>>>>>> and static JDK difference at runtime, instead of relying on the > >>>>>>>>> STATIC_BUILD macro. > >>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Finally, I have looked at how to manipulate symbol visibility. There > >>>>>>>>>> seems many ways forward, so I feel confident that we can find a good > >>>>>>>>>> solution. > >>>>>>>>>> > >>>>>>>>>> One way forward is to use objcopy to manipulate symbol status > >>>>>>>>>> (global/local). There is an option --localize-symbol in objcopy, that > >>>>>>>>>> has been available in objcopy since at least 2.15, which was released > >>>>>>>>>> 2004, so it should be safe to use. But ideally we should avoid using > >>>>>>>>>> objcopy and do this as part of the linking process. This should be > >>>>>>>>>> possible to do, given that we make changes in NativeCompilation.gmk -- > >>>>>>>>>> see question 5 above. > >>>>>>>>>> > >>>>>>>>>> As a fallback, it is also possible to rename symbols, either piecewise > >>>>>>>>>> or wholesale, using objcopy. There are many ways to do this, using > >>>>>>>>>> --prefix-symbols, --redefine-sym or --redefine-syms (note the -s, this > >>>>>>>>>> takes a file with a list of symbols). Thus we can always introduce a > >>>>>>>>>> "post factum namespace" by renaming symbols. > >>>>>>>>> > >>>>>>>>> Renaming or redefining the symbol at build time could cause confusions > >>>>>>>>> with debugging. That's a concern raised in > >>>>>>>>> https://github.com/openjdk/jdk/pull/17456 discussions. > >>>>>>>>> > >>>>>>>>> Additionally, redefining symbols using tools like objcopy may not > >>>>>>>>> handle member names referenced in string literals. For example, in > >>>>>>>>> https://github.com/openjdk/jdk/pull/17456 additional changes are > >>>>>>>>> needed in assembling and SA to reflect the symbol change. > >>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> So in the end, I think it will be fully possible to produce .a files > >>>>>>>>>> that only has global symbols for the functions that are part of the API > >>>>>>>>>> exposed by that library, and have all other symbols local, and make this > >>>>>>>>>> is in a way that is consistent with the rest of the build system. > >>>>>>>>>> > >>>>>>>>>> Finally, a note on Hotspot. Due to debugging reasons, we export > >>>>>>>>>> basically all symbols in hotspot as global. This is not reasonable to do > >>>>>>>>>> for a static build. The effect of not exporting those symbols will be > >>>>>>>>>> that SA will not function to 100%. On the other hand, I have no idea if > >>>>>>>>>> SA works at all with a static build. Have you tested this? Is this part > >>>>>>>>>> of the plan to support, or will it be officially dropped for Hermetic Java? > >>>>>>>>> > >>>>>>>>> We have done some testing with jtreg SA related tests for the fully > >>>>>>>>> statically linked `javastatic`. > >>>>>>>>> > >>>>>>>>> If we use objcopy to localize symbols in hotspot, it's not yet clear > >>>>>>>>> what's the impact on SA. We could do some tests. The other question > >>>>>>>>> that I raised is the supported gcc versions (for partial linking) > >>>>>>>>> related to the solution. > >>>>>>>>> > >>>>>>>>> Best, > >>>>>>>>> Jiangli > >>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> /Magnus > >>>>>>>>>> > >>>> > >> > From duke at openjdk.org Fri May 30 22:23:00 2025 From: duke at openjdk.org (duke) Date: Fri, 30 May 2025 22:23:00 GMT Subject: git: openjdk/leyden: premain: 2 new changesets Message-ID: <442a39f4-43ac-4458-b3c3-20ddb9c3c122@openjdk.org> Changeset: e3f85c96 Branch: premain Author: Igor Veresov Date: 2025-05-28 15:15:03 +0000 URL: https://git.openjdk.org/leyden/commit/e3f85c961b4c1e5e01aedf3a0f4e1b0e6ff457fd 8355003: Implement JEP 515: Ahead-of-Time Method Profiling Co-authored-by: John R Rose Co-authored-by: Vladimir Ivanov Co-authored-by: Ioi Lam Co-authored-by: Vladimir Kozlov Co-authored-by: Aleksey Shipilev Reviewed-by: kvn, ihse, cjplummer, iklam ! make/hotspot/lib/JvmFeatures.gmk ! src/hotspot/share/cds/aotArtifactFinder.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/aotLinkedClassBulkLoader.hpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveBuilder.hpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/cppVtables.cpp ! src/hotspot/share/cds/dumpAllocStats.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/runTimeClassInfo.hpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciInstanceKlass.hpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciMethodData.cpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/ci/ciObjectFactory.hpp ! src/hotspot/share/classfile/compactHashtable.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/compiler/compilerDefinitions.hpp ! src/hotspot/share/compiler/compiler_globals.hpp ! src/hotspot/share/logging/logTag.hpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/memory/metadataFactory.hpp ! src/hotspot/share/memory/metaspaceClosure.hpp ! src/hotspot/share/oops/array.hpp ! src/hotspot/share/oops/array.inline.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassFlags.hpp ! src/hotspot/share/oops/klass.hpp ! src/hotspot/share/oops/klass.inline.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/oops/methodCounters.cpp ! src/hotspot/share/oops/methodCounters.hpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/methodData.hpp + src/hotspot/share/oops/trainingData.cpp + src/hotspot/share/oops/trainingData.hpp ! src/hotspot/share/runtime/init.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/FileMapInfo.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java + test/hotspot/jtreg/runtime/cds/appcds/aotProfile/AOTProfileFlags.java Changeset: 89069777 Branch: premain Author: Vladimir Kozlov Date: 2025-05-30 15:21:58 +0000 URL: https://git.openjdk.org/leyden/commit/89069777a8f6aed115428bee2f4e6a0a0b570df6 Port JEP 515 from mainline ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/oops/trainingData.hpp ! src/hotspot/share/runtime/init.cpp ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/aotProfile/AOTProfileFlags.java ! src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/oops/trainingData.hpp ! src/hotspot/share/runtime/init.cpp ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/aotProfile/AOTProfileFlags.java From duke at openjdk.org Sat May 31 01:51:30 2025 From: duke at openjdk.org (duke) Date: Sat, 31 May 2025 01:51:30 GMT Subject: git: openjdk/leyden: premain: 53 new changesets Message-ID: <42293542-af83-4dee-a7c4-f0a97f4731e1@openjdk.org> Changeset: 4ced4e73 Branch: premain Author: gauthamkrishnanibm Committer: Roger Riggs Date: 2025-05-28 15:38:00 +0000 URL: https://git.openjdk.org/leyden/commit/4ced4e73fc0a517df826860839681004bb67e624 8334742: Change java.time month/day field types to 'byte' Reviewed-by: rriggs ! src/java.base/share/classes/java/time/LocalDate.java ! src/java.base/share/classes/java/time/MonthDay.java ! src/java.base/share/classes/java/time/YearMonth.java ! src/java.base/share/classes/java/time/chrono/HijrahDate.java Changeset: 2e6838a2 Branch: premain Author: Thomas Schatzl Date: 2025-05-28 15:49:34 +0000 URL: https://git.openjdk.org/leyden/commit/2e6838a20d52e9fa0a3b7322f2cb548e034b5d83 8357307: VM GC operations should have a public gc_succeeded() Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1VMOperations.hpp ! src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp ! src/hotspot/share/gc/serial/serialHeap.cpp ! src/hotspot/share/gc/shared/collectedHeap.cpp ! src/hotspot/share/gc/shared/gcVMOperations.hpp Changeset: e579cca6 Branch: premain Author: PAWAN CHAWDHARY Committer: Leonid Mesnik Date: 2025-05-28 15:59:37 +0000 URL: https://git.openjdk.org/leyden/commit/e579cca619147aa51563dc00f374e02db49e1238 8354475: TestDockerMemoryMetricsSubgroup.java fails with exitValue = 1 Reviewed-by: lmesnik, mseledtsov ! test/jdk/jdk/internal/platform/docker/TestDockerMemoryMetricsSubgroup.java Changeset: 8949c074 Branch: premain Author: Alexey Semenyuk Date: 2025-05-28 16:18:46 +0000 URL: https://git.openjdk.org/leyden/commit/8949c07484bd2ea0ab1e5207d45e6ef3694b7428 8357930: Amendment for JDK-8333664 Reviewed-by: almatvee ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageFileExtras.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageFile.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationBuilder.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/FileAssociationGroup.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/FromParams.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherData.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherStartupInfoBuilder.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/ModuleInfo.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/StandardBundlerParam.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Application.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ApplicationWriter.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/BundleCreator.java = src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/BundleSpec.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/BundlingEnvironment.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/BundlingOperation.java + src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/ExternalApplication.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/LauncherModularStartupInfoMixin.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/Package.java - src/jdk.jpackage/share/classes/jdk/jpackage/internal/model/PackageWriter.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/CollectionUtils.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/util/TokenReplace.java ! test/jdk/tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/AppImageFileTest.java Changeset: b2a61a99 Branch: premain Author: Naoto Sato Date: 2025-05-28 16:24:04 +0000 URL: https://git.openjdk.org/leyden/commit/b2a61a9972493d67d0f1a9f3f529c11e45838d5b 8356985: Use "stdin.encoding" in Console's read*() methods Reviewed-by: jlu, smarks, alanb, vyazici ! src/java.base/share/classes/java/io/Console.java ! src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java ! src/java.base/share/classes/jdk/internal/io/JdkConsoleProvider.java ! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/execution/impl/ConsoleImpl.java ! test/jdk/java/io/Console/CharsetTest.java + test/jdk/java/io/Console/StdinEncodingTest.java = test/jdk/java/io/Console/csp/module-info.java + test/jdk/java/io/Console/csp/provider/UppercasingCharsetProvider.java ! test/jdk/java/io/Console/script.exp + test/jdk/java/io/Console/stdinEncoding.exp Changeset: cd052c72 Branch: premain Author: Henry Jen Date: 2025-05-28 17:22:41 +0000 URL: https://git.openjdk.org/leyden/commit/cd052c72cdb62186e66c1d2ecf9216f3df61b242 8345431: Improve jar --validate to detect duplicate or invalid entries Reviewed-by: lancea, jpai ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java ! src/jdk.jartool/share/classes/sun/tools/jar/Validator.java ! src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties ! src/jdk.jartool/share/man/jar.md + test/jdk/tools/jar/ValidatorTest.java Changeset: 28f50931 Branch: premain Author: Gerard Ziemski Date: 2025-05-28 19:14:36 +0000 URL: https://git.openjdk.org/leyden/commit/28f509317d477c5f4076658f9ae9995aa6c53631 8356233: NMT: tty->print_cr should not be used in VirtualMemoryTracker::add_reserved_region() Reviewed-by: jsjolen, dholmes ! src/hotspot/share/nmt/virtualMemoryTracker.cpp Changeset: bb2c80c0 Branch: premain Author: Anthony Scarpino Date: 2025-05-28 19:52:18 +0000 URL: https://git.openjdk.org/leyden/commit/bb2c80c0e9923385e0b6243c0ebff9afef208470 8298420: Implement JEP 470: PEM Encodings of Cryptographic Objects (Preview) Reviewed-by: weijun, mr, mullan, jnimeh ! src/java.base/share/classes/java/security/AsymmetricKey.java + src/java.base/share/classes/java/security/DEREncodable.java ! src/java.base/share/classes/java/security/KeyPair.java + src/java.base/share/classes/java/security/PEMDecoder.java + src/java.base/share/classes/java/security/PEMEncoder.java + src/java.base/share/classes/java/security/PEMRecord.java ! src/java.base/share/classes/java/security/cert/X509CRL.java ! src/java.base/share/classes/java/security/cert/X509Certificate.java ! src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java ! src/java.base/share/classes/java/security/spec/X509EncodedKeySpec.java ! src/java.base/share/classes/javax/crypto/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/sun/security/ec/ECKeyFactory.java ! src/java.base/share/classes/sun/security/ec/ECPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/ec/XDHKeyFactory.java ! src/java.base/share/classes/sun/security/ec/XDHPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/ec/ed/EdDSAKeyFactory.java ! src/java.base/share/classes/sun/security/ec/ed/EdDSAPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/pkcs/NamedPKCS8Key.java ! src/java.base/share/classes/sun/security/pkcs/PKCS8Key.java ! src/java.base/share/classes/sun/security/provider/DSAPrivateKey.java ! src/java.base/share/classes/sun/security/provider/KeyProtector.java ! src/java.base/share/classes/sun/security/provider/X509Factory.java ! src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPublicKeyImpl.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! src/java.base/share/classes/sun/security/util/KeyUtil.java ! src/java.base/share/classes/sun/security/util/Pem.java ! src/java.base/share/classes/sun/security/x509/X509Key.java ! src/java.base/share/conf/security/java.security ! test/jdk/java/security/KeyFactory/KeyFactoryGetKeySpecForInvalidSpec.java + test/jdk/java/security/PEM/PEMData.java + test/jdk/java/security/PEM/PEMDecoderTest.java + test/jdk/java/security/PEM/PEMEncoderTest.java + test/jdk/javax/crypto/EncryptedPrivateKeyInfo/EncryptKey.java + test/jdk/javax/crypto/EncryptedPrivateKeyInfo/GetKey.java ! test/jdk/sun/security/pkcs/pkcs8/PKCS8Test.java Changeset: b7f0f480 Branch: premain Author: Shaojin Wen Date: 2025-05-28 20:36:44 +0000 URL: https://git.openjdk.org/leyden/commit/b7f0f480cefb7295bbd5f8830458b69baf2eaff6 8357681: Fixed the DigitList::toString method causing incorrect results during debugging Reviewed-by: jlu, naoto ! src/java.base/share/classes/java/text/DigitList.java Changeset: dede3532 Branch: premain Author: Ioi Lam Date: 2025-05-28 22:12:14 +0000 URL: https://git.openjdk.org/leyden/commit/dede3532f7238d527fb89be41f1b8050bde02ee3 8355798: Implement JEP 514: Ahead-of-Time Command Line Ergonomics Reviewed-by: erikj, kvn, asmehra ! doc/testing.html ! doc/testing.md ! make/RunTests.gmk ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! src/java.base/share/man/java.md ! test/hotspot/jtreg/TEST.groups - test/hotspot/jtreg/runtime/cds/appcds/AOTFlags.java - test/hotspot/jtreg/runtime/cds/appcds/UseAppCDS_Test.java + test/hotspot/jtreg/runtime/cds/appcds/aotCache/SpecialCacheNames.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/MethodHandleTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/WeakReferenceTest.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java + test/hotspot/jtreg/runtime/cds/appcds/aotFlags/AOTFlags.java + test/hotspot/jtreg/runtime/cds/appcds/aotFlags/FileNameSubstitution.java + test/hotspot/jtreg/runtime/cds/appcds/aotFlags/JDK_AOT_VM_OPTIONS.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java ! test/setup_aot/TestSetupAOT.java Changeset: 2ec6ab34 Branch: premain Author: Ioi Lam Date: 2025-05-28 22:58:34 +0000 URL: https://git.openjdk.org/leyden/commit/2ec6ab347a18f454e33a3a281daf1d50a1fd5e27 8357525: Default CDS archive becomes non-deterministic after JDK-8305895 Reviewed-by: shade, coleenp ! src/hotspot/share/oops/klass.cpp Changeset: 83a28048 Branch: premain Author: Lei Zhu Committer: SendaoYan Date: 2025-05-29 05:40:36 +0000 URL: https://git.openjdk.org/leyden/commit/83a280485889573d5709b2bb59185d11ab6a38da 8357408: runtime/interpreter/CountBytecodesTest.java should be flagless Reviewed-by: shade, syan, lmesnik ! test/hotspot/jtreg/runtime/interpreter/CountBytecodesTest.java Changeset: 04e0fe00 Branch: premain Author: Phil Race Date: 2025-05-29 05:52:12 +0000 URL: https://git.openjdk.org/leyden/commit/04e0fe00abcf1d7919a50e0c9dd44ce2856984ea 8356049: Need a simple way to play back a sound clip Reviewed-by: serb, aivanov, kizune ! src/java.desktop/share/classes/com/sun/media/sound/DataPusher.java ! src/java.desktop/share/classes/com/sun/media/sound/JavaSoundAudioClip.java + src/java.desktop/share/classes/javax/sound/SoundClip.java + src/java.desktop/share/classes/javax/sound/package-info.java ! src/java.desktop/share/classes/module-info.java + test/jdk/javax/sound/SoundClip/LoopExitTest.java + test/jdk/javax/sound/SoundClip/SoundClipTest.java + test/jdk/javax/sound/SoundClip/badsound.wav + test/jdk/javax/sound/SoundClip/javasound.wav Changeset: d43f588d Branch: premain Author: Adam Sotona Date: 2025-05-29 07:03:26 +0000 URL: https://git.openjdk.org/leyden/commit/d43f588db1b39724da2823b73fe09f8609fd8e48 8357955: java.lang.classfile.Signature.ArrayTypeSig.of IAE not thrown for dims > 255 Reviewed-by: jlahoda ! src/java.base/share/classes/java/lang/classfile/Signature.java ! test/jdk/jdk/classfile/SignaturesTest.java Changeset: 07f5b762 Branch: premain Author: Erik Gahlin Date: 2025-05-29 08:31:17 +0000 URL: https://git.openjdk.org/leyden/commit/07f5b762a09e4fe9f7ba71368593f6dfa0ff8f6e 8352738: Implement JEP 520: JFR Method Timing and Tracing Co-authored-by: Markus Gr?nlund Reviewed-by: shade, mgronlun ! src/hotspot/share/classfile/modules.hpp + src/hotspot/share/jfr/instrumentation/jfrClassTransformer.cpp + src/hotspot/share/jfr/instrumentation/jfrClassTransformer.hpp ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/jfr/instrumentation/jfrJvmtiAgent.cpp ! src/hotspot/share/jfr/instrumentation/jfrJvmtiAgent.hpp ! src/hotspot/share/jfr/jfr.cpp ! src/hotspot/share/jfr/jfr.hpp ! src/hotspot/share/jfr/jni/jfrJavaSupport.cpp ! src/hotspot/share/jfr/jni/jfrJavaSupport.hpp ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/jni/jfrJniMethod.hpp ! src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdLoadBarrier.inline.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdMacros.hpp + src/hotspot/share/jfr/support/jfrAnnotationElementIterator.cpp + src/hotspot/share/jfr/support/jfrAnnotationElementIterator.hpp + src/hotspot/share/jfr/support/jfrAnnotationIterator.cpp + src/hotspot/share/jfr/support/jfrAnnotationIterator.hpp ! src/hotspot/share/jfr/support/jfrKlassExtension.hpp + src/hotspot/share/jfr/support/methodtracer/jfrClassFilterClosure.cpp + src/hotspot/share/jfr/support/methodtracer/jfrClassFilterClosure.hpp + src/hotspot/share/jfr/support/methodtracer/jfrFilter.cpp + src/hotspot/share/jfr/support/methodtracer/jfrFilter.hpp + src/hotspot/share/jfr/support/methodtracer/jfrFilterManager.cpp + src/hotspot/share/jfr/support/methodtracer/jfrFilterManager.hpp + src/hotspot/share/jfr/support/methodtracer/jfrInstrumentedClass.hpp + src/hotspot/share/jfr/support/methodtracer/jfrMethodProcessor.cpp + src/hotspot/share/jfr/support/methodtracer/jfrMethodProcessor.hpp + src/hotspot/share/jfr/support/methodtracer/jfrMethodTracer.cpp + src/hotspot/share/jfr/support/methodtracer/jfrMethodTracer.hpp + src/hotspot/share/jfr/support/methodtracer/jfrTraceTagging.cpp + src/hotspot/share/jfr/support/methodtracer/jfrTraceTagging.hpp + src/hotspot/share/jfr/support/methodtracer/jfrTracedMethod.cpp + src/hotspot/share/jfr/support/methodtracer/jfrTracedMethod.hpp ! src/hotspot/share/jfr/utilities/jfrLogTagSets.hpp ! src/hotspot/share/jfr/utilities/jfrRelation.hpp ! src/hotspot/share/logging/logTag.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp + src/jdk.jfr/share/classes/jdk/jfr/events/MethodTimingEvent.java + src/jdk.jfr/share/classes/jdk/jfr/events/MethodTraceEvent.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/EventControl.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/JDKEvents.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVMUpcalls.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/LogTag.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/MetadataRepository.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformEventType.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecorder.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecording.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/SecuritySupport.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/ShutdownHook.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/query/Field.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/query/FieldFormatter.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/query/QueryParser.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/query/view.ini + src/jdk.jfr/share/classes/jdk/jfr/internal/settings/FilterSetting.java + src/jdk.jfr/share/classes/jdk/jfr/internal/settings/MethodSetting.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/ExcludeList.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/Filter.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/Instrumentation.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/Method.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/Modification.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/PlatformTracer.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/TimedClass.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/TimedMethod.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tracing/Transform.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/util/Bytecode.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/util/ValueFormatter.java ! src/jdk.jfr/share/classes/jdk/jfr/package-info.java + src/jdk.jfr/share/classes/jdk/jfr/tracing/MethodTracer.java ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc ! test/jdk/jdk/jfr/api/settings/TestSettingControl.java + test/jdk/jdk/jfr/event/tracing/Apple.java + test/jdk/jdk/jfr/event/tracing/Banana.java + test/jdk/jdk/jfr/event/tracing/Car.java + test/jdk/jdk/jfr/event/tracing/StaticInitializer.java + test/jdk/jdk/jfr/event/tracing/TestClinit.java + test/jdk/jdk/jfr/event/tracing/TestCombinedFilters.java + test/jdk/jdk/jfr/event/tracing/TestFilterClass.java + test/jdk/jdk/jfr/event/tracing/TestFilterClassAnnotation.java + test/jdk/jdk/jfr/event/tracing/TestFilterMethod.java + test/jdk/jdk/jfr/event/tracing/TestFilterMethodAnnotation.java + test/jdk/jdk/jfr/event/tracing/TestInstrumentation.java + test/jdk/jdk/jfr/event/tracing/TestMethodTiming.java + test/jdk/jdk/jfr/event/tracing/TestMethodTrace.java + test/jdk/jdk/jfr/event/tracing/TestMultipleRecordings.java + test/jdk/jdk/jfr/event/tracing/TestMultipleThreads.java + test/jdk/jdk/jfr/event/tracing/TestRestrictedClasses.java + test/jdk/jdk/jfr/event/tracing/TestRetransformFalse.java + test/jdk/jdk/jfr/event/tracing/TestWithClassLoaders.java + test/jdk/jdk/jfr/event/tracing/TestWithModules.java ! test/lib/jdk/test/lib/jfr/EventNames.java ! test/lib/jdk/test/lib/jfr/Events.java Changeset: a2743bab Branch: premain Author: Hannes Walln?fer Date: 2025-05-29 09:19:02 +0000 URL: https://git.openjdk.org/leyden/commit/a2743bab4fd203b0791cf47e617c1a95b05ab3cc 8357458: Missing Highlight.js license file Reviewed-by: jlahoda ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java + src/jdk.javadoc/share/legal/highlightjs.md ! test/langtools/jdk/javadoc/doclet/checkLibraryVersions/CheckLibraryVersions.java ! test/langtools/jdk/javadoc/doclet/testLegalNotices/TestLegalNotices.java Changeset: 4cf729cf Branch: premain Author: Thomas Stuefe Date: 2025-05-29 10:42:50 +0000 URL: https://git.openjdk.org/leyden/commit/4cf729cfac57c9aec692a52c1f3f95f2403e7958 8323497: On x64, use 32-bit immediate moves for narrow klass base if possible Reviewed-by: shade, kvn, rkennke ! src/hotspot/cpu/x86/compressedKlass_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/share/oops/compressedKlass.cpp ! src/hotspot/share/oops/compressedKlass.hpp ! test/hotspot/jtreg/runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java Changeset: d8a78302 Branch: premain Author: Aleksey Shipilev Date: 2025-05-29 15:06:51 +0000 URL: https://git.openjdk.org/leyden/commit/d8a783020d247d2c01834db14b44d239ad1f2bf4 8357999: SA: FileMapInfo.metadataTypeArray initialization issue after JDK-8355003 Reviewed-by: ayang, iklam, kvn, sspitsyn ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/FileMapInfo.java Changeset: 79aff26c Branch: premain Author: Brian Burkhalter Date: 2025-05-29 15:20:39 +0000 URL: https://git.openjdk.org/leyden/commit/79aff26c2880922b92863911d8a5a035ba9a1e75 8354724: Methods in java.io.Reader to read all characters and all lines Reviewed-by: rriggs, smarks, jpai, alanb ! src/java.base/share/classes/java/io/Reader.java + test/jdk/java/io/Reader/ReadAll.java Changeset: f3188682 Branch: premain Author: Justin Lu Date: 2025-05-29 17:01:28 +0000 URL: https://git.openjdk.org/leyden/commit/f318868268f32934a2f0c4e26a6c75360d8e74b1 8348328: Update IANA Language Subtag Registry to Version 2025-05-15 Reviewed-by: iris, naoto ! src/java.base/share/data/lsrdata/language-subtag-registry.txt ! test/jdk/java/util/Locale/LanguageSubtagRegistryTest.java Changeset: e3063678 Branch: premain Author: Ioi Lam Date: 2025-05-29 17:06:42 +0000 URL: https://git.openjdk.org/leyden/commit/e306367813db7c8a3ecac5e46740600b7ab04f9d 8357693: AOTCodeCompressedOopsTest.java failed with -XX:+UseLargePages Reviewed-by: kvn, shade ! src/hotspot/share/cds/filemap.cpp Changeset: e509997f Branch: premain Author: Justin Lu Date: 2025-05-29 17:39:08 +0000 URL: https://git.openjdk.org/leyden/commit/e509997fe87a09513b8f79d303cc69392d2cb7b0 8357275: Locale.Builder.setLanguageTag should mention conversions made on language tag Reviewed-by: naoto ! src/java.base/share/classes/java/util/Locale.java Changeset: d922e318 Branch: premain Author: Shaojin Wen Date: 2025-05-29 20:09:01 +0000 URL: https://git.openjdk.org/leyden/commit/d922e318bc2104d69c46403bceb609d538f3259a 8349400: Improve startup speed via eliminating nested classes Reviewed-by: valeriep, rriggs ! src/java.base/share/classes/sun/security/util/KnownOIDs.java Changeset: 727412d1 Branch: premain Author: Shaojin Wen Date: 2025-05-29 20:09:58 +0000 URL: https://git.openjdk.org/leyden/commit/727412d1b5f0764363ebd2ff600d4b7f0c99bb9b 8357690: Add @Stable and final to java.lang.CharacterDataLatin1 and other CharacterData classes Reviewed-by: naoto ! make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java ! src/java.base/share/classes/java/lang/CharacterData.java ! src/java.base/share/classes/java/lang/CharacterData00.java.template ! src/java.base/share/classes/java/lang/CharacterData01.java.template ! src/java.base/share/classes/java/lang/CharacterData02.java.template ! src/java.base/share/classes/java/lang/CharacterData03.java.template ! src/java.base/share/classes/java/lang/CharacterData0E.java.template ! src/java.base/share/classes/java/lang/CharacterDataLatin1.java.template ! src/java.base/share/classes/java/lang/CharacterDataPrivateUse.java ! src/java.base/share/classes/java/lang/CharacterDataUndefined.java Changeset: cb8eea4e Branch: premain Author: Boris Ulasevich Date: 2025-05-29 21:29:35 +0000 URL: https://git.openjdk.org/leyden/commit/cb8eea4ecd12669e361baac8bb6e71cde7937812 8356095: AArch64: Obsolete -XX:+NearCPool option Reviewed-by: aph ! src/hotspot/cpu/aarch64/globals_aarch64.hpp ! src/hotspot/share/runtime/arguments.cpp Changeset: 648c337b Branch: premain Author: Dean Long Date: 2025-05-29 21:41:49 +0000 URL: https://git.openjdk.org/leyden/commit/648c337bea5ec65908cab02eaf232243ccf2d4bf 8356648: runtime/Thread/AsyncExceptionTest.java fails with +StressCompiledExceptionHandlers Reviewed-by: thartmann, kvn ! src/hotspot/share/c1/c1_Runtime1.cpp ! test/hotspot/jtreg/runtime/Thread/AsyncExceptionTest.java Changeset: a05f9dea Branch: premain Author: Alexey Semenyuk Date: 2025-05-29 21:44:47 +0000 URL: https://git.openjdk.org/leyden/commit/a05f9dea18ec812abad1dbe0084c0c58384a9076 8358017: Various enhancements of jpackage test helpers Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers-test/jdk/jpackage/test/AnnotationsTest.java ! test/jdk/tools/jpackage/helpers-test/jdk/jpackage/test/JUnitAdapter.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/FileAssociations.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/HelloApp.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JavaTool.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacSign.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacSignVerify.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/RunnablePackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TestBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TestInstance.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TestMethodSupplier.java Changeset: 64503c78 Branch: premain Author: Prasanta Sadhukhan Date: 2025-05-30 02:06:56 +0000 URL: https://git.openjdk.org/leyden/commit/64503c784bbddc638ce0098f5c6ef0cb81cbf938 8357299: Graphics copyArea doesn't copy any pixels when there is overflow Reviewed-by: achung, kizune, prr ! src/java.desktop/share/native/libawt/java2d/loops/Blit.c + test/jdk/java/awt/Graphics/BrokenBoundsClip.java Changeset: fd51b039 Branch: premain Author: Alexander Matveev Date: 2025-05-30 03:07:04 +0000 URL: https://git.openjdk.org/leyden/commit/fd51b03910ba90ca1c46a4204b8940421338e22e 8351369: [macos] Use --install-dir option with DMG packaging Reviewed-by: asemenyuk ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgPackageBuilder.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgPackager.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/DMGsetup.scpt ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources.properties ! test/jdk/tools/jpackage/share/InstallDirTest.java Changeset: 20005511 Branch: premain Author: Amit Kumar Date: 2025-05-30 03:50:43 +0000 URL: https://git.openjdk.org/leyden/commit/20005511e3612d6a5f12fa83066f02c88c628e8b 8353500: [s390x] Intrinsify Unsafe::setMemory Reviewed-by: lucy, mdoerr ! src/hotspot/cpu/s390/stubGenerator_s390.cpp Changeset: 6f9e1175 Branch: premain Author: Daniel Skantz Date: 2025-05-30 06:23:11 +0000 URL: https://git.openjdk.org/leyden/commit/6f9e1175a983c735c1beed755ec5b14b476858d7 8356246: C2: Compilation fails with "assert(bol->is_Bool()) failed: unexpected if shape" in StringConcat::eliminate_unneeded_control Reviewed-by: rcastanedalo, kvn ! src/hotspot/share/opto/stringopts.cpp + test/hotspot/jtreg/compiler/stringopts/TestStackedConcatsSharedTest.java Changeset: e33eeeea Branch: premain Author: Abhishek Kumar Date: 2025-05-30 06:25:08 +0000 URL: https://git.openjdk.org/leyden/commit/e33eeeea04fc7899bf66b0a2fdaccc30060854b4 8341311: [Accessibility,macOS,VoiceOver] VoiceOver announces incorrect number of items in submenu of JPopupMenu Reviewed-by: asemenov, kizune ! src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/MenuAccessibility.m + test/jdk/javax/accessibility/TestPopupMenuChildCount.java Changeset: 566e3b21 Branch: premain Author: nibjen Committer: Sean Coffey Date: 2025-05-30 09:22:16 +0000 URL: https://git.openjdk.org/leyden/commit/566e3b21ed14748cb0d9117b6bd58b4bfcf625c6 8357253: Test test/jdk/sun/security/ssl/SSLSessionImpl/ResumeClientTLS12withSNI.java writes in src dir Reviewed-by: coffeys ! test/jdk/sun/security/ssl/SSLSessionImpl/ResumeClientTLS12withSNI.java Changeset: a0eb1900 Branch: premain Author: Qizheng Xing Committer: Joel Sikstr?m Date: 2025-05-30 09:41:08 +0000 URL: https://git.openjdk.org/leyden/commit/a0eb1900c91531db26d1086a3b251bce0cf7c141 8358104: Fix ZGC compilation error on GCC 10.2 Reviewed-by: kbarrett, jsikstro ! src/hotspot/share/gc/z/zMappedCache.cpp Changeset: acd64ba2 Branch: premain Author: Anjian Wen Committer: Feilong Jiang Date: 2025-05-30 10:56:37 +0000 URL: https://git.openjdk.org/leyden/commit/acd64ba24afd508689803adaa6714a784946979c 8357626: RISC-V: Tighten up template interpreter method entry code Reviewed-by: fyang, fjiang ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp Changeset: 12ee80ca Branch: premain Author: Alexey Ivanov Date: 2025-05-30 13:31:35 +0000 URL: https://git.openjdk.org/leyden/commit/12ee80cac754c1a6dd37191a9f80c01de8b659ad 8357675: Amend headless message Reviewed-by: prr, shade ! src/java.desktop/unix/classes/sun/awt/PlatformGraphicsInfo.java Changeset: ae3d96a4 Branch: premain Author: Thomas Stuefe Date: 2025-05-30 13:40:25 +0000 URL: https://git.openjdk.org/leyden/commit/ae3d96a4ec87262bc2f01d87fe91daa5d0d3966f 8357683: (process) SIGQUIT still blocked after JDK-8234262 with jdk.lang.Process.launchMechanism=FORK or VFORK Reviewed-by: rriggs ! src/java.base/unix/native/jspawnhelper/jspawnhelper.c ! src/java.base/unix/native/libjava/childproc.c ! test/jdk/java/lang/ProcessBuilder/UnblockSignals.java Changeset: 26275a10 Branch: premain Author: Archie Cobbs Date: 2025-05-30 14:42:36 +0000 URL: https://git.openjdk.org/leyden/commit/26275a10b2aa75f0d4ff49248a3309f9d7b19bf3 8355753: @SuppressWarnings("this-escape") not respected for indirect leak via field Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ThisEscapeAnalyzer.java ! test/langtools/tools/javac/warnings/ThisEscape.java ! test/langtools/tools/javac/warnings/ThisEscape.out Changeset: 99048c3d Branch: premain Author: Artur Barashev Date: 2025-05-30 16:03:13 +0000 URL: https://git.openjdk.org/leyden/commit/99048c3d4a66be9bf586949bd08e33cb091fa6bf 8357033: Reduce stateless session ticket size Reviewed-by: wetmore, djelinski, ascarpino ! src/java.base/share/classes/sun/security/ssl/PreSharedKeyExtension.java ! src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java ! src/java.base/share/classes/sun/security/ssl/SessionTicketExtension.java ! test/jdk/sun/security/ssl/SSLSessionImpl/ResumeChecksServer.java ! test/jdk/sun/security/ssl/SSLSessionImpl/ResumeChecksServerStateless.java Changeset: 81464cd1 Branch: premain Author: Justin Lu Date: 2025-05-30 17:13:04 +0000 URL: https://git.openjdk.org/leyden/commit/81464cd1141ebdf0cdde22e7388b97224d810f4a 8358089: Remove the GenerateKeyList.java test tool Reviewed-by: naoto - test/jdk/java/util/Locale/GenerateKeyList.java Changeset: eaf7815e Branch: premain Author: Naoto Sato Date: 2025-05-30 17:22:51 +0000 URL: https://git.openjdk.org/leyden/commit/eaf7815ea6854de603a1b5c179799a9ef5d37f42 8357886: Remove TimeZoneNames_* of the COMPAT locale data provider Reviewed-by: joehw, jlu - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_de.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_en_CA.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_en_GB.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_en_IE.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_es.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_fr.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_hi.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_it.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ja.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ko.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_pt_BR.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_sv.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_CN.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_HK.java - src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_TW.java Changeset: 4fa4f151 Branch: premain Author: Naoto Sato Date: 2025-05-30 17:23:52 +0000 URL: https://git.openjdk.org/leyden/commit/4fa4f15122213afea5cb25166c3b36a1c395b06c 8357882: Use UTF-8 encoded data in LocaleDataTest Reviewed-by: jlu, joehw ! test/jdk/sun/text/resources/LocaleData.cldr ! test/jdk/sun/text/resources/LocaleDataTest.java Changeset: 3cc63098 Branch: premain Author: Chris Plummer Date: 2025-05-30 17:36:03 +0000 URL: https://git.openjdk.org/leyden/commit/3cc630985d47be6ba4cf991698e999f17dbde203 8353955: nsk/jdi tests should be fixed to not always require includevirtualthreads=y Reviewed-by: sspitsyn, amenkov, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassPrepareEvent/thread/thread001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod011/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod012/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod013/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/request/request001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventIterator/nextEvent/nextevent001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq005/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq006/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq007/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq008/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq009/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/createStepRequest/crstepreq010/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/stepRequests/stepreq001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocatableEvent/thread/thread001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod010/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod011/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod012/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod013/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/waitingThreads/waitingthreads002/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/allThreads/allthreads001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/share/ArgumentParser.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Binder.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jdi/SerialExecutionDebugger.java ! test/hotspot/jtreg/vmTestbase/nsk/share/jpda/DebugeeArgumentHandler.java Changeset: 82807d43 Branch: premain Author: Chris Plummer Date: 2025-05-30 17:58:46 +0000 URL: https://git.openjdk.org/leyden/commit/82807d43f8d18b186428be88a80ebe28892517cc 8357184: Test vmTestbase/nsk/jdi/ExceptionEvent/_itself_/exevent008/TestDescription.java fails with unreported exception Reviewed-by: lmesnik, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ExceptionEvent/_itself_/exevent008.java Changeset: b7ca672d Branch: premain Author: Ashutosh Mehra Date: 2025-05-30 18:26:19 +0000 URL: https://git.openjdk.org/leyden/commit/b7ca672d5c5f11f472110154868f08299f6e8796 8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds Reviewed-by: kvn, adinn ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 94039e22 Branch: premain Author: Daniel Gredler Committer: Harshitha Onkar Date: 2025-05-30 19:16:17 +0000 URL: https://git.openjdk.org/leyden/commit/94039e22bbe943888e858d8ae278145e2668526a 8353230: Emoji rendering regression after JDK-8208377 Reviewed-by: prr, honkar ! src/java.desktop/macosx/classes/sun/font/CCharToGlyphMapper.java ! src/java.desktop/share/classes/sun/font/CMap.java ! src/java.desktop/share/classes/sun/font/CharToGlyphMapper.java ! src/java.desktop/share/classes/sun/font/CompositeGlyphMapper.java ! src/java.desktop/share/classes/sun/font/Font2D.java ! src/java.desktop/share/classes/sun/font/FontUtilities.java ! src/java.desktop/share/classes/sun/font/HBShaper.java ! src/java.desktop/share/classes/sun/font/TrueTypeGlyphMapper.java ! src/java.desktop/share/classes/sun/font/Type1GlyphMapper.java ! src/java.desktop/share/classes/sun/print/RasterPrinterJob.java ! src/java.desktop/share/native/libfontmanager/sunFont.c ! src/java.desktop/unix/classes/sun/font/NativeGlyphMapper.java + test/jdk/java/awt/font/GlyphVector/GlyphVectorGsubTest.java Changeset: c9d6e012 Branch: premain Author: Anthony Scarpino Date: 2025-05-30 20:13:00 +0000 URL: https://git.openjdk.org/leyden/commit/c9d6e01233fbc9f3a95a4879feff906748649c54 8358076: KeyFactory.getInstance("EdDSA").generatePublic(null) throws NPE Reviewed-by: weijun ! src/java.base/share/classes/sun/security/ec/ECKeyFactory.java ! src/java.base/share/classes/sun/security/ec/XDHKeyFactory.java ! src/java.base/share/classes/sun/security/ec/ed/EdDSAKeyFactory.java ! src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java Changeset: 14e41ab0 Branch: premain Author: Chris Plummer Date: 2025-05-30 20:14:14 +0000 URL: https://git.openjdk.org/leyden/commit/14e41ab055955ffd7cf9e8129cc3269b4e3807b7 8357172: Extend try block in nsk/jdi tests to capture exceptions thrown by Debuggee.classByName() Reviewed-by: lmesnik, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod010.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/newInstance/newinstance009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod008.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/invokeMethod/invokemethod014.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/StackFrame/setValue/setvalue005/setvalue005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/ownedMonitors/ownedmonitors002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/popFrames/popframes007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002.java Changeset: abbffc01 Branch: premain Author: Alex Menkov Date: 2025-05-30 21:00:34 +0000 URL: https://git.openjdk.org/leyden/commit/abbffc0103826a2e02fe52ef9b55890a57944933 8358202: ProblemList vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java Reviewed-by: sspitsyn, cjplummer ! test/hotspot/jtreg/ProblemList.txt Changeset: 09301c1d Branch: premain Author: Ian Graves Date: 2025-05-30 21:11:38 +0000 URL: https://git.openjdk.org/leyden/commit/09301c1dc03a44e5c56a91303de81ba01dabfe71 8356634: VectorShape#largestShapeFor should have public access Reviewed-by: psandoz ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShape.java ! test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java Changeset: db340e54 Branch: premain Author: Alex Menkov Date: 2025-05-30 21:11:58 +0000 URL: https://git.openjdk.org/leyden/commit/db340e54f83cf7bf72abb94c9cf9cdac007ed38a 8356222: Thread.print command reports waiting on the Class initialization monitor for both carrier and virtual threads Reviewed-by: alanb, sspitsyn ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.hpp + test/hotspot/jtreg/serviceability/dcmd/thread/ClassInitMonitorVThread.java Changeset: 0df8c968 Branch: premain Author: Mohamed Issa Committer: Sandhya Viswanathan Date: 2025-05-30 21:47:20 +0000 URL: https://git.openjdk.org/leyden/commit/0df8c9684b8782ef830e2bd425217864c3f51784 8353686: Optimize Math.cbrt for x86 64 bit platforms Reviewed-by: sviswanathan, sparasa, jbhateja ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c1_LIRGenerator_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.hpp + src/hotspot/cpu/x86/stubGenerator_x86_64_cbrt.cpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86_64.cpp ! src/hotspot/share/c1/c1_Compiler.cpp ! src/hotspot/share/c1/c1_GraphBuilder.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/interpreter/abstractInterpreter.cpp ! src/hotspot/share/interpreter/abstractInterpreter.hpp ! src/hotspot/share/interpreter/templateInterpreterGenerator.cpp ! src/hotspot/share/interpreter/zero/zeroInterpreterGenerator.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/runtime/stubDeclarations.hpp ! src/java.base/share/classes/java/lang/Math.java + test/micro/org/openjdk/bench/java/lang/CbrtPerf.java Changeset: 03f9ea45 Branch: premain Author: Vladimir Kozlov Date: 2025-05-30 18:48:12 +0000 URL: https://git.openjdk.org/leyden/commit/03f9ea456d572330f96f7965ff13933eec8ac391 Merge branch 'master' into premain ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/s390/stubGenerator_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/share/c1/c1_Compiler.cpp ! src/hotspot/share/c1/c1_GraphBuilder.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/modules.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/interpreter/abstractInterpreter.cpp ! src/hotspot/share/interpreter/abstractInterpreter.hpp ! src/hotspot/share/interpreter/templateInterpreterGenerator.cpp ! src/hotspot/share/interpreter/zero/zeroInterpreterGenerator.cpp ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/logging/logTag.hpp ! src/hotspot/share/oops/compressedKlass.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stubDeclarations.hpp ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/runtime/cds/appcds/AOTToolOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/SpecialCacheNames.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java = test/hotspot/jtreg/runtime/cds/appcds/aotFlags/AOTFlags.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/s390/stubGenerator_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/share/c1/c1_Compiler.cpp ! src/hotspot/share/c1/c1_GraphBuilder.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/cdsConfig.cpp ! src/hotspot/share/cds/cdsConfig.hpp ! src/hotspot/share/cds/cds_globals.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/modules.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/interpreter/abstractInterpreter.cpp ! src/hotspot/share/interpreter/abstractInterpreter.hpp ! src/hotspot/share/interpreter/templateInterpreterGenerator.cpp ! src/hotspot/share/interpreter/zero/zeroInterpreterGenerator.cpp ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/logging/logTag.hpp ! src/hotspot/share/oops/compressedKlass.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stubDeclarations.hpp ! src/java.base/share/classes/jdk/internal/misc/CDS.java ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups + test/hotspot/jtreg/runtime/cds/appcds/AOTToolOptions.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCache/SpecialCacheNames.java ! test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeFlags.java ! test/hotspot/jtreg/runtime/cds/appcds/aotFlags/AOTFlags.java ! test/lib/jdk/test/lib/cds/CDSAppTester.java