RFR: 8253228: [JVMCI] provide more info on fatal JVMCI errors

Doug Simon dnsimon at openjdk.java.net
Mon Nov 16 22:42:09 UTC 2020


There are a number of places in JVMCI that abort VM execution due to unexpected Java exceptions and other error conditions. Currently, a message and the exception stack (if any) is printed and then the VM is shutdown via the global `vm_exit` function.
This PR changes the behavior in this scenario to raise a fatal VM error so that a hs-err log file is produced which provides more context.

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

Commit messages:
 - create hs-err log on fatal JVMCI errors

Changes: https://git.openjdk.java.net/jdk/pull/1240/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1240&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253228
  Stats: 34 lines in 4 files changed: 0 ins; 15 del; 19 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1240.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1240/head:pull/1240

PR: https://git.openjdk.java.net/jdk/pull/1240


More information about the hotspot-compiler-dev mailing list