RFR: JDK-8321975: Print when add_reserved_region fails even in product mode
Johan Sjölen
jsjolen at openjdk.org
Wed Dec 13 14:07:04 UTC 2023
Hi,
We recently had a user e-mail hotspot-dev about a JVM crash which hit `ShouldNotReachHere` in `add_reserved_region`. As the logging is disabled in product builds the user couldn't supply us with all of the available information, quite unfortunate for us. I propose that we print the region information unconditionally and print the stacks also.
-------------
Commit messages:
- Check if detailed
- Print more and even in product
Changes: https://git.openjdk.org/jdk/pull/17086/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17086&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8321975
Stats: 7 lines in 1 file changed: 5 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/17086.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17086/head:pull/17086
PR: https://git.openjdk.org/jdk/pull/17086
More information about the hotspot-runtime-dev
mailing list