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

Incorrect declaration of bitsInByte in regmask.cpp

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      In share/vm/opto/regmask.cpp, bitsInByte is declared like this: extern uint8_t bitsInByte[512];

      This does not match the actual definition in share/vm/libadt/vectset.cpp:
      uint8_t bitsInByte[256] = { // ...

      (Discovered by the linker during a trial run with link time optimization)

        Attachments

          Activity

            People

            • Assignee:
              rraghavan Rahul Raghavan
              Reporter:
              ihse Magnus Ihse Bursie
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: