JDK-8155864 : api/java_lang/Math/cos_cos6 and sin_sin6 fail
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-05-02
  • Updated: 2020-09-01
  • Resolved: 2016-05-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b120Fixed
Related Reports
Relates :  
Description
STATUS:Failed.test cases: 1; all failed; first test case failure: Math2053
----------out2:(5/432)----------
Math2053 : cos failed for 7ff0000000000000 Expected 7ff8000000000000 +/- 1 ulp Got: 7ff0000000000000
Math2053 : cos failed for fff0000000000000 Expected 7ff8000000000000 +/- 1 ulp Got: fff0000000000000
Math2053 : cos failed for 7ff0000000000000 Expected 7fffffffffffffff +/- 1 ulp Got: 7ff0000000000000
Math2053 : cos failed for fff0000000000000 Expected 7fffffffffffffff +/- 1 ulp Got: fff0000000000000
cos failed 4 out of 4 tests
result: Failed. test cases: 1; all failed; first test case failure: Math2053

Math2053 : sin failed for 7ff0000000000000 Expected 7ff8000000000000 +/- 1 ulp Got: 7ff0000000000000
Math2053 : sin failed for fff0000000000000 Expected 7ff8000000000000 +/- 1 ulp Got: fff0000000000000
Math2053 : sin failed for 7ff0000000000000 Expected 7fffffffffffffff +/- 1 ulp Got: 7ff0000000000000
Math2053 : sin failed for fff0000000000000 Expected 7fffffffffffffff +/- 1 ulp Got: fff0000000000000
sin failed 4 out of 4 tests
result: Failed. test cases: 1; all failed; first test case failure: Math2053

Comments
verified by PIT
26-07-2017

Sorry I wasn't clear. I just happened to notice that the webrev was parented against JDK9-hs-comp instead of JDK9-hs so I interpreted that to mean that the fix was heading to JDK9-hs-comp first. I don't need the webrev regenerated, but please push to JDK9-hs when the fix has been adequately reviewed and tested.
03-05-2016

The current fix/ webrev should work. It does not depend on anything from jdk9-hs-comp. Let me know if you still need the webrev compared against jdk9-hs.
03-05-2016

Since this is an integration_blocker and a PIT failure, this fix needs to be pushed directly to JDK9-hs. Currently the repo is parented against: Compare against: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/ Does this fix depend on any other changes are in JDK9-hs-comp that are not in JDK9-hs?
03-05-2016

Webrev for fix: http://cr.openjdk.java.net/~vdeshpande/8155864/webrev.00/
03-05-2016

If there is no simple solution for this we will need to rollback JDK-8152907 changes.
03-05-2016

Vivek, please look.
03-05-2016

Bumped this bug to P1 since it caused PIT to fail.
03-05-2016

the tests fail only on x64
02-05-2016

most probably caused by JDK-8152907
02-05-2016

the tests fail in both Xmixed and Xcomp mode
02-05-2016