RFR: 8283488: AArch64: Improve stack trace accuracy in hs log
Andrew Haley
aph-open at littlepinkcloud.com
Tue Mar 22 19:57:57 UTC 2022
On 3/22/22 11:13, Denghui Dong wrote:
>> 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
I'm pretty sure that libunwind will work from a technical point of view, but
there may be complex issues to do with libunwind availability, licensing, and
so on. Please bring this to discussion early, maybe evenbefore you have a complete
working solution.
More information about the hotspot-dev
mailing list