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

Incorrect declaration of bitsInByte in regmask.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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)

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

              Created:
              Updated:
              Resolved: