RFR: 8272586: emit abstract machine code in hs-err logs
Doug Simon
dnsimon at openjdk.java.net
Wed Oct 6 14:30:35 UTC 2021
On Thu, 9 Sep 2021 16:56:57 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> This enhances hs-err logs to:
> * Show the [abstract machine code](https://bugs.openjdk.java.net/browse/JDK-8213084) of the crashing frame if a disassembler is not installed.
> * Show machine code for the top frames on the native stack.
>
> An interpreter or stub frame is only shown if it is the crashing frame.
>
> A sample of the enhanced hs-err log can be seen [here](https://bugs.openjdk.java.net/secure/attachment/96664/hs_err_pid7179.log).
src/hotspot/share/utilities/vmError.cpp line 913:
> 911: // The first 10 unique code units on the stack should be sufficient
> 912: // for investigating crashes.
> 913: int printed_len = 10;
Maybe 10 is too big?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5446
More information about the hotspot-dev
mailing list