JDK-7169934 : pow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs24
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2012-05-18
  • Updated: 2013-07-31
  • Resolved: 2012-05-26
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 7 JDK 8 Other
7u40Resolved 8Fixed hs24Fixed
Related Reports
Relates :  
Description
On x64, 7133857 broke pow(x,y) when x<0 and y is an odd integer. This affects debug builds only. int(y) is moved to an register to be tested for parity but between the load of int(y) and the test for parity some debugging code changes the content of the integer register.
This should affect only the interpreter and c1.

Comments
The issue is not present in 7u40b31-fastdebug, but it can't be reproduced as it was backported in the first hs24-based build of JDK 7 and was fixed in JDK 8 in the same build where it was introduced. Closed as not verified (setup not available).
31-07-2013

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e2961d14584b
29-06-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/e2961d14584b
21-05-2012

EVALUATION See description.
18-05-2012