JDK-6365558 : Win AMD64 PSDK Hotspot with /O2 generates bad code for CompressedLineNumberWriteStream::write_pair
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2005-12-20
  • Updated: 2012-10-08
  • Resolved: 2006-01-19
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
6 b67Fixed
Related Reports
Relates :  
Description
When built with the April 2005 Platform SDK on AMD64 with /O2, Hotspot fails a number of NSK tests (the complete list is attached).  The failures are due to the PSDK optimizing compiler generating bad code for CompressedLineNumberWriteStream::write_pair.  As a result when line number tables are read from class files, every line number is mapped to a bci of 0, causing problems when the JDI tests try to set breakpoints.

Comments
EVALUATION Need to turn off optimization for the method mentioned in the description.
20-12-2005