JDK-8066649 : 8u backport for 8065618 is incorrect
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u40
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-12-04
  • Updated: 2015-02-10
  • Resolved: 2014-12-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 7 JDK 8
7u80Fixed 8u40 b18Fixed
Related Reports
Relates :  
Description
The code in ifg.cpp is very different in 8u40. I prepared and pushed backport which is incorrect:

http://cr.openjdk.java.net/~kvn/8065618_8u/webrev/

In jdk9 the new code returns 'false' from separate method. In jdk8u there is no such method and corresponding code is inlined into build_ifg_physical().
The new code in 8u backport should not return but instead should guard the execution of the following code.
Comments
noreg-hard: I found this mistake by looking on code. The same as for 8065618, I was not able to write the test.
04-12-2014