RFR: 8283488: AArch64: Improve stack trace accuracy in hs log

Andrew Haley aph at openjdk.java.net
Tue Mar 22 09:21:36 UTC 2022


On Tue, 22 Mar 2022 07:23:34 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> I'm not sure if this solution is acceptable as it is a bit tricky, any input is appreciated.

Not really, no. It's too hacky and fragile for inclusion in mainline.
But there is a correct way to handle this: use libunwind, and walk the stack in a precise way. That would be best for Linux, and perhaps for some other operating systems too.

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

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


More information about the hotspot-dev mailing list