Incorrect declaration of bitsInByte in regmask.cpp

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • b120

      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)

            Assignee:
            Rahul Raghavan
            Reporter:
            Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: