Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7100757

The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      sparc
    • OS:
      solaris_10

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: