Re: RFR: 8365579: ml64.exe is not the right assembler for Windows aarch64

2025-08-14 Thread Julian Waters
On Thu, 14 Aug 2025 23:59:23 GMT, Saint Wesonga wrote: > [ml64](https://learn.microsoft.com/en-us/cpp/assembler/masm/ml-and-ml64-command-line-reference?view=msvc-170) > is set as the assembler for the Windows platform but is specific to the x64 > platform. The > [armasm64](https://learn.micros

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Julian Waters
On Thu, 14 Aug 2025 19:13:18 GMT, Kim Barrett wrote: > But `-fno-exceptions` _is_ used for gcc -fno-exceptions to my knowledge is only set in TOOLCHAIN_CFLAGS_JVM and for adlc compiled for Linux. That must mean gtest uses the same flags that the regular JVM does. I was not aware of that, so th

Re: RFR: 8365491: VSCode IDE: add basic configuration for the Oracle Java extension [v2]

2025-08-14 Thread Manuel Hässig
On Wed, 13 Aug 2025 14:23:37 GMT, Manuel Hässig wrote: >> This PR adds a basic configuration for the [Oracle Java VSCode >> extension](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java) >> to the `vscode-project-*` targets. > > Manuel Hässig has updated the pull request inc

Re: RFR: 8365491: VSCode IDE: add basic configuration for the Oracle Java extension [v3]

2025-08-14 Thread Manuel Hässig
> This PR adds a basic configuration for the [Oracle Java VSCode > extension](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java) > to the `vscode-project-*` targets. Manuel Hässig has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Thomas Stuefe
On Thu, 14 Aug 2025 14:44:21 GMT, Julian Waters wrote: >> According to >> https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should >> not build gtest with `/EHsc`. >> >> I can honestly say I don't fully understand the consequences of this change, >> but at least it passes

Re: RFR: 8364973: Add JVMTI stress testing mode [v6]

2025-08-14 Thread Leonid Mesnik
On Fri, 15 Aug 2025 04:33:59 GMT, Leonid Mesnik wrote: >> The fix added JVMTI stress testing mode. >> >> This mode enables stress agent that could be executed with jtreg test and >> help to ensure that jvmti functionality doesn't break the other JVM/JDK >> functionality. >> >> I filed few iss

Re: RFR: 8364973: Add JVMTI stress testing mode [v6]

2025-08-14 Thread Leonid Mesnik
> The fix added JVMTI stress testing mode. > > This mode enables stress agent that could be executed with jtreg test and > help to ensure that jvmti functionality doesn't break the other JVM/JDK > functionality. > > I filed few issues and more are coming. I want to push the agent so it is > po

RFR: 8365579: ml64.exe is not the right assembler for Windows aarch64

2025-08-14 Thread Saint Wesonga
[ml64](https://learn.microsoft.com/en-us/cpp/assembler/masm/ml-and-ml64-command-line-reference?view=msvc-170) is set as the assembler for the Windows platform but is specific to the x64 platform. The [armasm64](https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-command-line-refere

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Thu, 14 Aug 2025 19:24:21 GMT, Kim Barrett wrote: > My guess is that MSVC C4530 needs to be disabled when building libgtest even > when we're not enabling exceptions for the same reason that I expected that > warning from our jfr/test_networkUtilization.cpp. > > That jfr test includes ``, a

Re: RFR: 8364973: Add JVMTI stress testing mode [v5]

2025-08-14 Thread Magnus Ihse Bursie
On Thu, 14 Aug 2025 19:49:24 GMT, Erik Joelsson wrote: > I think this new option should be documented in testing.md/html. Yes, I agree. I tried to ask for this above. @lmesnik When you have updated the markdown file, run `make update-build-docs` to generate the html version. - PR

Re: RFR: 8364973: Add JVMTI stress testing mode [v5]

2025-08-14 Thread Erik Joelsson
On Thu, 14 Aug 2025 19:44:59 GMT, Leonid Mesnik wrote: >> The fix added JVMTI stress testing mode. >> >> This mode enables stress agent that could be executed with jtreg test and >> help to ensure that jvmti functionality doesn't break the other JVM/JDK >> functionality. >> >> I filed few iss

Re: RFR: 8364973: Add JVMTI stress testing mode [v4]

2025-08-14 Thread Leonid Mesnik
On Thu, 14 Aug 2025 17:57:47 GMT, Leonid Mesnik wrote: >> The fix added JVMTI stress testing mode. >> >> This mode enables stress agent that could be executed with jtreg test and >> help to ensure that jvmti functionality doesn't break the other JVM/JDK >> functionality. >> >> I filed few iss

Re: RFR: 8364973: Add JVMTI stress testing mode [v5]

2025-08-14 Thread Leonid Mesnik
> The fix added JVMTI stress testing mode. > > This mode enables stress agent that could be executed with jtreg test and > help to ensure that jvmti functionality doesn't break the other JVM/JDK > functionality. > > I filed few issues and more are coming. I want to push the agent so it is > po

Re: RFR: 8365244: Some test control variables are undocumented in doc/testing.md

2025-08-14 Thread Erik Joelsson
On Thu, 14 Aug 2025 19:26:29 GMT, Volkan Yazici wrote: > Synchronize `make/RunTests.gmk` keyword variables with > `doc/testing.{md,html}`. Marked as reviewed by erikj (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/26789#pullrequestreview-3121900093

Re: RFR: 8260555: Change the default TIMEOUT_FACTOR from 4 to 1 [v2]

2025-08-14 Thread Doug Simon
On Wed, 13 Aug 2025 14:22:08 GMT, Leo Korinth wrote: >> This changes the timeout factor from 4 to 1. Most of the changes add >> timeouts to individual test cases so that I am able to run them with a >> timeout factor of 0.7 (some margin to the checked in factor of one) >> >> In addition to cha

RFR: 8365244: Some test control variables are undocumented in doc/testing.md

2025-08-14 Thread Volkan Yazici
Synchronize `make/RunTests.gmk` keyword variables with `doc/testing.{md,html}`. - Commit messages: - Synchronize `make/RunTests.gmk` keyword variables with `doc/testing.{md,html}` Changes: https://git.openjdk.org/jdk/pull/26789/files Webrev: https://webrevs.openjdk.org/?repo=jdk&

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Thu, 14 Aug 2025 14:44:21 GMT, Julian Waters wrote: > I did take a brief look at the other Pull Request, but I still don't really > understand this fully. Doesn't the gtest framework itself use C++ exceptions > (As Thomas mentioned)? After all, this is likely why -fno-exceptions is not > us

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Thu, 14 Aug 2025 14:06:07 GMT, Thomas Stuefe wrote: > googletest uses C++ exceptions: > > ``` > thomas@starfish:/shared/projects/openjdk/gtest/googletest-1.14.0$ ack 'throw > [a-zA-Z]' | wc -l > 68 That just says there is source code that could potentially use exceptions, depending on conf

Re: RFR: 8364973: Add JVMTI stress testing mode [v4]

2025-08-14 Thread Leonid Mesnik
> The fix added JVMTI stress testing mode. > > This mode enables stress agent that could be executed with jtreg test and > help to ensure that jvmti functionality doesn't break the other JVM/JDK > functionality. > > I filed few issues and more are coming. I want to push the agent so it is > po

Integrated: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread David Beaumont
On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont wrote: > Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. This pull request

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees [v2]

2025-08-14 Thread duke
On Thu, 14 Aug 2025 15:21:29 GMT, David Beaumont wrote: >> Allows files or directories called .git to indicate likely use of Git for >> VCS in IntelliJ. >> Tested locally in a worktree and normal repository. It produces: >> >> >> >> >> >> >> in both cases, as expected. > > David

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees [v2]

2025-08-14 Thread Aleksey Shipilev
On Thu, 14 Aug 2025 15:21:29 GMT, David Beaumont wrote: >> Allows files or directories called .git to indicate likely use of Git for >> VCS in IntelliJ. >> Tested locally in a worktree and normal repository. It produces: >> >> >> >> >> >> >> in both cases, as expected. > > David

Re: RFR: 8365491: VSCode IDE: add basic configuration for the Oracle Java extension

2025-08-14 Thread Jan Lahoda
On Wed, 13 Aug 2025 14:24:28 GMT, Manuel Hässig wrote: > > I would suggest to drop: `"jdk.advanced.disable.nbjavac": true,` > > Can you elaborate on the surprising results? When developing the JDK we will > most probably use features not supported by the `nbjavac`. In general, it can be anythi

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees [v2]

2025-08-14 Thread David Beaumont
> Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. David Beaumont has updated the pull request incrementally with one additiona

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread David Beaumont
On Thu, 14 Aug 2025 14:54:43 GMT, Aleksey Shipilev wrote: >> Allows files or directories called .git to indicate likely use of Git for >> VCS in IntelliJ. >> Tested locally in a worktree and normal repository. It produces: >> >> >> >> >> >> >> in both cases, as expected. > > bin

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread Magnus Ihse Bursie
On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont wrote: > Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. LGTM, if you fix t

Re: RFR: 8365491: VSCode IDE: add basic configuration for the Oracle Java extension [v2]

2025-08-14 Thread Magnus Ihse Bursie
On Wed, 13 Aug 2025 14:23:37 GMT, Manuel Hässig wrote: >> This PR adds a basic configuration for the [Oracle Java VSCode >> extension](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java) >> to the `vscode-project-*` targets. > > Manuel Hässig has updated the pull request inc

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread Aleksey Shipilev
On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont wrote: > Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. bin/idea.sh line 1

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Magnus Ihse Bursie
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Julian Waters
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Julian Waters
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread Maurizio Cimadamore
On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont wrote: > Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. Marked as reviewed

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Thomas Stuefe
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Kim Barrett
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread Erik Joelsson
On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont wrote: > Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. Marked as reviewed

Integrated: 8365098: make/RunTests.gmk generates a wrong path to test artifacts on Alpine

2025-08-14 Thread Roman Marchenko
On Tue, 12 Aug 2025 10:51:06 GMT, Roman Marchenko wrote: > This change fixes the test artifact path on Alpine as `'[_*1000]'` is not > recognized as a correct pattern, at least on Alpine 3.11. > > Without this fix, on Alpine the command `make test-prebuilt` generated paths > like the followin

Fwd: DALEQ: An Open-Source Tool for Assessing Java Binary Equivalence

2025-08-14 Thread Magnus Ihse Bursie
While not directly applicable to the JDK, this is still interesting from a general reproducible build perspective. /Magnus Forwarded Message Subject:DALEQ: An Open-Source Tool for Assessing Java Binary Equivalence Date: Fri, 8 Aug 2025 03:42:47 + From: Jens Diet

Re: RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread Volkan Yazici
On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont wrote: > Allows files or directories called .git to indicate likely use of Git for VCS > in IntelliJ. > Tested locally in a worktree and normal repository. It produces: > > > > > > > in both cases, as expected. Marked as reviewed

RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees

2025-08-14 Thread David Beaumont
Allows files or directories called .git to indicate likely use of Git for VCS in IntelliJ. Tested locally in a worktree and normal repository. It produces: in both cases, as expected. - Commit messages: - Simple fix (just checking file) Changes: https://git.openjdk

Re: RFR: 8365098: make/RunTests.gmk generates a wrong path to test artifacts on Alpine

2025-08-14 Thread duke
On Tue, 12 Aug 2025 10:51:06 GMT, Roman Marchenko wrote: > This change fixes the test artifact path on Alpine as `'[_*1000]'` is not > recognized as a correct pattern, at least on Alpine 3.11. > > Without this fix, on Alpine the command `make test-prebuilt` generated paths > like the followin

Re: RFR: 8346719: Add relaunchers to the static JDK image for missing executables [v3]

2025-08-14 Thread Magnus Ihse Bursie
On Mon, 11 Aug 2025 17:20:30 GMT, Erik Joelsson wrote: >> This solution was modeled on how we create `module-included-libs.txt`. I >> agree that it is a bit hacky to inject this kind of stuff in ModuleWrapper, >> but I can't see how we can do it more cleanly. That's the only point at >> which

Re: RFR: 8365098: make/RunTests.gmk generates a wrong path to test artifacts on Alpine

2025-08-14 Thread Magnus Ihse Bursie
On Tue, 12 Aug 2025 20:09:15 GMT, Erik Joelsson wrote: > The explanation for this can be found here: > https://mail.openjdk.org/pipermail/build-dev/2017-November/020334.html Thank you for digging that out! I was just about to check why in the world we could ever have written something so wonky.

Re: RFR: 8365098: make/RunTests.gmk generates a wrong path to test artifacts on Alpine

2025-08-14 Thread Magnus Ihse Bursie
On Tue, 12 Aug 2025 10:51:06 GMT, Roman Marchenko wrote: > This change fixes the test artifact path on Alpine as `'[_*1000]'` is not > recognized as a correct pattern, at least on Alpine 3.11. > > Without this fix, on Alpine the command `make test-prebuilt` generated paths > like the followin

Re: RFR: 8365231: Don't build gtest with /EHsc

2025-08-14 Thread Magnus Ihse Bursie
On Mon, 11 Aug 2025 09:55:20 GMT, Magnus Ihse Bursie wrote: > According to > https://github.com/openjdk/jdk/pull/26661#issuecomment-3162014034, we should > not build gtest with `/EHsc`. > > I can honestly say I don't fully understand the consequences of this change, > but at least it passes

Re: RFR: 8365312: GCC 12 cannot compile SVE on aarch64 with auto-var-init pattern

2025-08-14 Thread Magnus Ihse Bursie
On Thu, 14 Aug 2025 06:46:46 GMT, Kim Barrett wrote: >> `-ftrivial-auto-var-init=pattern` [1] supported by gcc-12 was added recently >> to help detect uses of uninitialized memory. [2] Under this extension mode, >> `__builtin_clear_padding` is called to clear the padding bits in object >> repr

Re: RFR: 8364973: Add JVMTI stress testing mode [v3]

2025-08-14 Thread Magnus Ihse Bursie
On Mon, 11 Aug 2025 19:32:39 GMT, Leonid Mesnik wrote: > Thank you feedback, I explained the usage of > JTREG_JVMTI_STRESS_AGENT > and applied your changes. I can't see any updates to this PR? Did you forget to push your commits? - PR Comment: https://git.openjdk.org/jdk/pull/26360

Re: RFR: 8365053: Refresh hotspot precompiled.hpp with headers based on current frequency [v11]

2025-08-14 Thread Magnus Ihse Bursie
On Tue, 12 Aug 2025 11:32:42 GMT, Francesco Andreuzzi wrote: >> In this PR I propose to refresh the included headers in hotspot >> `precompiled.hpp`. The current set of precompiled headers was refreshed in >> 2018, 7 years ago. I repeated the same operations and measurements after >> refreshin

Re: RFR: 8364664: gtest death tests failing on Windows

2025-08-14 Thread Magnus Ihse Bursie
On Wed, 6 Aug 2025 18:05:24 GMT, Saint Wesonga wrote: > https://github.com/openjdk/jdk/commit/0054bbed7fce5b8566655d6910b09b10c952e609 > (from https://bugs.openjdk.org/browse/JDK-8343756) caused the gtest death > tests to fail on Windows with the error message "Caught > std::exception-derived

Re: Got a warning treated as an error -- should I keep trying to build? And if so, how?

2025-08-14 Thread David Alayachew
Thanks, it worked! All I needed to do was run the flag you gave me on my bash configure, then reattempt the make images command, and it worked! Building the JDK has gotten easier than the last time I tried it. On Tue, Aug 12, 2025 at 10:46 AM Kim Barrett wrote: > On 8/11/25 8:16 PM, David Alayac

Re: RFR: 8365312: GCC 12 cannot compile SVE on aarch64 with auto-var-init pattern

2025-08-14 Thread Jaikiran Pai
On Wed, 13 Aug 2025 09:16:15 GMT, Fei Gao wrote: > `-ftrivial-auto-var-init=pattern` [1] supported by gcc-12 was added recently > to help detect uses of uninitialized memory. [2] Under this extension mode, > `__builtin_clear_padding` is called to clear the padding bits in object > representati