RFR: 8342769: HotSpot Windows/gcc port is broken [v17]

Kim Barrett kbarrett at openjdk.org
Tue Nov 11 21:08:14 UTC 2025


On Tue, 11 Nov 2025 13:01:23 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> Several areas in HotSpot are broken in the gcc port. These, with the exception of 1 rather big oversight within SharedRuntime::frem and SharedRuntime::drem, are all minor correctness issues within the code. These mostly can be fixed with simple changes to the code. Note that I am not sure whether the SharedRuntime::frem and SharedRuntime::drem fix is correct. It may be that they can be removed entirely
>
> Julian Waters has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 30 commits:
> 
>  - Merge branch 'master' into hotspot
>  - CAST_FROM_FN_PTR in os_windows.cpp
>  - Merge branch 'master' into hotspot
>  - Merge branch 'openjdk:master' into hotspot
>  - _WINDOWS && AARCH64 in sharedRuntime.hpp
>  - AARCH64 in sharedRuntimeRem.cpp
>  - Refactor sharedRuntime.cpp
>  - CAST_FROM_FN_PTR in os_windows.cpp
>  - Merge branch 'openjdk:master' into hotspot
>  - fmod_winarm64 in sharedRuntime.cpp
>  - ... and 20 more: https://git.openjdk.org/jdk/compare/29100320...b93febb3

Some of these disparate changes are things I would approve of if they were
offered separately. Others I think need more work.

For example, for the sharedRuntime changes, is the fmod of infinity issue with
Windows, or is it with Visual Studio. If the latter, the conditionalization of
the workaround is wrong.  Also, has a bug been filed with Microsoft for this?
Or has it perhaps already been fixed in some version?

Also, there are comments using "ARM64" but we use "AARCH64" in code.

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

PR Comment: https://git.openjdk.org/jdk/pull/21627#issuecomment-3518725739


More information about the hotspot-dev mailing list