JDK-7086553 : JVM loop optimization functioning incorrectly
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6u28
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: other
  • Submitted: 2011-09-02
  • Updated: 2013-09-12
  • Resolved: 2011-09-06
Related Reports
Duplicate :  
Description
This is a hotspot bug for bug db 12556084

The Oracle XML parser has a particular loop which when optimized by c2 produces incorrect results. There is a small test case attached; when run on a nahalem-class machine with Linux, the test case will fail about 20% of the time using JDK 6u28 (and earlier releases). I have been unable to get it to fail on Solaris or faster Intel machines.

There have been discussions that the root cause of this bug is 7044738, but that bug is marked as fixed delivered in 6u28 build 03, for which the attached test case is failing. So rather than re-opening that bug, I am filing this new bug.

Comments
EVALUATION It is duplicate of 5091921. Next changes in oracle/xml/parser/v2/XMLByteReader.java fixed problem: 573c573 < static final int INFINITY = Integer.MAX_VALUE; --- > static final int INFINITY = Integer.MAX_VALUE/2;
06-09-2011