RFR: JDK-8259539: JDK-8255711 broke trap messages
Thomas Stuefe
stuefe at openjdk.java.net
Mon Jan 11 11:32:11 UTC 2021
SIGTRAP/SIGILL are used on ppc/aarch64 to implement traps in compiled code (print a trap message and stop with a fatal error).
JDK-8255711 reworked and unified that coding. Calls down into VMError::report_and_die() had been factored out of platform dependent code. Since that change, traps are handled the same as normal crashes, so we loose the detail message associated with a trap. This functionality should be restored.
-------------
Commit messages:
- JDK-8259539-restore-trap-messages
Changes: https://git.openjdk.java.net/jdk/pull/2022/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2022&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8259539
Stats: 24 lines in 3 files changed: 22 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/2022.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2022/head:pull/2022
PR: https://git.openjdk.java.net/jdk/pull/2022
More information about the hotspot-runtime-dev
mailing list