Hi all,
I'm working on "8377946: Use DWARF in mixed jstack on Linux AArch64". It
makes changes for platform dependent codes, so could you help?
JBS: https://bugs.openjdk.org/browse/JDK-8377946
PR: https://github.com/openjdk/jdk/pull/29731
I want to implement native stack unwinder on `jhsdb jstack --mixed` with
DWARF. It already works on AMD64 Linux, this PR targets to implement it
to AArch64 Linux.
(Most of) DWARF related code is platform independent. So I separated
them from AMD64 code in SA first, and some platform dependent code
(especially register definitions) are separated independent header files
with macros. However we saw some build error on other unsupported
platforms such as RISC-V.
I modified Makefile (make/modules/jdk.hotspot.agent/Lib.gmk) to exclude
DWARF related sources on unsupported platform. It seems to work, but we
do not sure it works on all platforms. Unfortunately we cannot test on
all of platforms (Linux: RISC-V, PPC64, s390x) because we do not have
them.
So could you help following points?
1. Check whether the PR (#29731) works on each platforms.
2. Help to implement unwinder with DWARF if you want to support it on
your platforms.
Best regards,
Yasumasa