RFR: [XS] 8227171: provide function names in native stack trace on aix with xlc16
Baesken, Matthias
matthias.baesken at sap.com
Thu Jul 4 07:30:42 UTC 2019
Hello, any more reviews ?
May I push the change ?
Best regards, Matthias
From: Thomas Stüfe <thomas.stuefe at gmail.com>
Sent: Mittwoch, 3. Juli 2019 14:09
To: Baesken, Matthias <matthias.baesken at sap.com>
Cc: build-dev at openjdk.java.net; ppc-aix-port-dev at openjdk.java.net
Subject: Re: RFR: [XS] 8227171: provide function names in native stack trace on aix with xlc16
Looks good and trivial. Thanks for fixing.
..Thomas
On Wed, Jul 3, 2019 at 2:02 PM Baesken, Matthias <matthias.baesken at sap.com<mailto:matthias.baesken at sap.com>> wrote:
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/20190704/8e6b78b7/attachment.html>
More information about the ppc-aix-port-dev
mailing list