RelocIterator should correctly handle nullptr address of relocation data

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • None
    • b17

      Currently RelocIterator assumes that address of relocation data is never null even when there were no relocations. It never checks for null and assumes that `current - 1` address is valid.

      It was true before JDK-8343789 which moved relocation data from code blob.
      JDK-8352112 resolved the issue with setting relocation data address to some valid address.

      We should consider enabling RelocIterator correctly handle null address of relocation data.

            Assignee:
            Boris Ulasevich
            Reporter:
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: