RFR: 8317132: Prepare HotSpot for permissive- [v6]

Julian Waters jwaters at openjdk.org
Mon Oct 30 13:12:59 UTC 2023


On Wed, 4 Oct 2023 04:46:29 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> Prepare HotSpot for the permissive- Visual C++ flag, this change contains all of the fixes required for HotSpot to compile under the stricter mode activated when the permissive- flag is passed
>> 
>> - Reworks code in topLevelUnhandledExceptionFilter for os_windows.cpp to avoid goto jumping across uninitialized locals
>> - Adds a CAST_FROM_FN_PTR cast to the return value from ::signal to void, as they cannot be implicitly converted
>> - symbolengine.cpp's SimpleBufferWithFallback's templates cannot work with a raw char (Actual fix under discussion)
>> - Removed a throw() specification from a mismatched definition in allocation.cpp
>
> Julian Waters has updated the pull request incrementally with three additional commits since the last revision:
> 
>  - Initialized thread in os_windows.cpp
>  - Oops in os_windows.cpp
>  - Remove goto in os_windows.cpp

I am going to add -permissive- temporarily to check the GHA logs for anything I have missed, I'm not going to integrate this yet. Would also still like to get @tstuefe opinion on the InterruptOSException changes...

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

PR Comment: https://git.openjdk.org/jdk/pull/15955#issuecomment-1785156051


More information about the hotspot-runtime-dev mailing list