RFR: [XS] 8227171: provide function names in native stack trace on aix with xlc16
Baesken, Matthias
matthias.baesken at sap.com
Wed Jul 3 12:01:09 UTC 2019
Hello please review this small fix for AIX (needed with the new xlc16) .
Currently we miss function names in the hs_err file :
0x0000000115098660 - 0x090000000f629a4c libjvm.so::<nameless function>+0x6c (C++ saves_lr stores_bc gpr_saved:4 )
0x00000001150986f0 - 0x09000000113594bc libjvm.so::<nameless function>+0x95c (C++ saves_lr stores_bc gpr_saved:18 )
The output contains "nameless function" instead of the (member) function names .
Looks like this unwanted behavior was introduced when switching to the xlc16 compiler.
With xlc16, it looks like we have to configure the traceback table generation to get the output we need.
The -qtbtable=full setting can be used for this _
https://www.ibm.com/support/knowledgecenter/SSGH4D_16.1.0/com.ibm.xlf161.aix.doc/compiler_ref/tbtable.html
Bug / webrev :
https://bugs.openjdk.java.net/browse/JDK-8227171
http://cr.openjdk.java.net/~mbaesken/webrevs/8227171.0/
Thanks, Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20190703/c1365ab5/attachment.html>
More information about the ppc-aix-port-dev
mailing list