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

Denghui Dong ddong at openjdk.java.net
Tue Mar 22 11:13:35 UTC 2022


On Tue, 22 Mar 2022 09:17:48 GMT, Andrew Haley <aph 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.

Thanks, I will try to use libunwind.

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

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


More information about the hotspot-dev mailing list