Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1401060

Summary: Poor StrictMath performance due to non-optimized compilation
Product: Red Hat Enterprise Linux 7 Reporter: Gustavo Romero <gusbromero>
Component: java-1.8.0-openjdkAssignee: Andrew John Hughes <ahughes>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3CC: ahughes, dbhole, gusbromero, jvanek
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: java-1.8.0-openjdk-1.8.0.111-4.b18.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 08:46:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1390370    

Description Gustavo Romero 2016-12-02 16:27:04 UTC
Description of problem:

Currently fdlibm optimization is disabled for PPC64, as a consequence StrictMath methods like, but not limited to, sin(), cos(), and tan() perform poorly. 

JBS bug id comprising full discussion and references:
https://bugs.openjdk.java.net/browse/JDK-8170153

How reproducible:
Please refer to "Initial discussion on ML" link for a full discussion and how to reproduce the issue.

Comment 1 Gustavo Romero 2016-12-02 16:29:02 UTC
Dear maintainer, upstream patch for OpenJDK 9 is reviewed and awaiting Oracle's approval to be merged. Backport to OpenJDK 8 will be requested in the due time but is trivial.

Thanks.

Comment 2 Gustavo Romero 2016-12-19 20:05:19 UTC
Hi Andrew,

Please, find the patches in question already backported to 8u upstream:

http://hg.openjdk.java.net/jdk8u/jdk8u-dev/rev/fddd627ea372
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/80927e772b9a

Thanks.

Comment 3 Andrew John Hughes 2017-01-09 18:10:16 UTC
Looks like they're already in the aarch64/jdk8u repo too:

http://hg.openjdk.java.net/aarch64-port/jdk8u/rev/7dc91fd23728
http://hg.openjdk.java.net/aarch64-port/jdk8u/jdk/rev/7c54c63ba667

So we'll pick them up anyway.

Comment 7 errata-xmlrpc 2017-08-01 08:46:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1831