Integrated: JDK-8259539: JDK-8255711 broke trap messages

Thomas Stuefe stuefe at openjdk.java.net
Tue Jan 12 11:43:54 UTC 2021


On Mon, 11 Jan 2021 09:20:56 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: ac2dee56
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ac2dee56
Stats:     23 lines in 3 files changed: 20 ins; 0 del; 3 mod

8259539: JDK-8255711 broke trap messages

Reviewed-by: lfoltan, dholmes

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

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


More information about the hotspot-runtime-dev mailing list