RFR: 8317132: Prepare HotSpot for permissive-

Jorn Vernee jvernee at openjdk.org
Thu Sep 28 11:59:23 UTC 2023


On Thu, 28 Sep 2023 03:22:30 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

src/hotspot/os/windows/os_windows.cpp line 2912:

> 2910: #if defined(USE_VECTORED_EXCEPTION_HANDLING)
> 2911: LONG WINAPI topLevelUnhandledExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo) {
> 2912:   if (InterceptOSException) {

I may be missing something, but why not just use `if (!InterceptOSException)` here and get rid of the `goto`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15955#discussion_r1340013115


More information about the hotspot-runtime-dev mailing list