JDK-6663848 : assert(i < Max(),"oob") in C2 with -Xcomp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-02-15
  • Updated: 2012-02-01
  • Resolved: 2011-03-07
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 6 JDK 7 Other
6u14Fixed 7Fixed hs13Fixed
Description
The following assertion is observed at least on linux-i586/amd64 with both JDK 6u10 (1.6.0_10-ea-b10) and JDK 7 (1.7.0-ea-b24):
     #  src/share/vm/opto/block.hpp:60)
     #  assert(i < Max(),"oob")

It occurs only in -Xcomp mode. Only C2 is affected.

Product build crashes during execution.

Testcase and hs_err file are attached.

Comments
EVALUATION NeverBranchNodes should have ideal methods which allow them to fold up and they should also participate in the malformed control flow bailout checks.
24-04-2008