RFR: 8337506: Disable "best-fit" mapping on Windows command line
Alan Bateman
alanb at openjdk.org
Fri Aug 2 18:23:36 UTC 2024
On Fri, 2 Aug 2024 18:00:28 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> The first call to `WideCharToMultiByte()` returns the required size for the multibyte buffer. When it returns 0, `exit(1)` is issued inside `JLI_MemAlloc()`.
That's a bit subtle. I think it needs to be handled here or at least include a comment to say that it returns 0 on error which will cause JLI_MemAlloc to exit.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20428#discussion_r1702179487
More information about the hotspot-runtime-dev
mailing list