RFR: 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2 [v2]

Frederic Thevenet fthevenet at openjdk.org
Wed Oct 25 12:50:29 UTC 2023


On Wed, 25 Oct 2023 08:46:52 GMT, Frederic Thevenet <fthevenet at openjdk.org> wrote:

>> This PR addresses OS detection not working properly when running test-prebuilt on MSYS2, which causes some Windows specific tests to misbehave or fail in Github Actions.
>
> Frederic Thevenet has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use 'else ifeq' statement

NB: The test failure in [linux-x86 / test (langtools/tier1)](https://github.com/fthevenet/jdk/actions/runs/6637903215/job/18035072862#logs) is caused by a JVM crash:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (g1ConcurrentMark.cpp:1680), pid=23337, tid=23347
#  fatal error: Overflow during reference processing, can not continue. Current mark stack depth: 65472, MarkStackSize: 65536, MarkStackSizeMax: 4194304. Please increase MarkStackSize and/or MarkStackSizeMax and restart.


I believe it is unrelated, as the logs show the correct environment was inferred for this test:

Detected target OS, type and env: [linux] [unix] [linux]

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16343#issuecomment-1779201236


More information about the build-dev mailing list