JDK-7100757 : The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8-pool
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2011-10-13
  • Updated: 2014-03-13
  • Resolved: 2011-11-10
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8 Other
6u34Resolved 7u2 b12Fixed 8Resolved hs20.9Resolved
Related Reports
Relates :  
Relates :  
Description
BitSet.nextSetBit() may produce incorrect result in 32bit VM on Sparc.

countTrailingZerosL() should use iRegIsafe dst register:

-instruct countTrailingZerosL(iRegI dst, iRegL src, flagsReg cr) %{
+instruct countTrailingZerosL(iRegIsafe dst, iRegL src, flagsReg cr) %{

I will add a regression test.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hsx22/hotspot/rev/714bf7aefe10
2011-10-19

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/4bac06a82bc3
2011-10-15

EVALUATION See description.
2011-10-14