Set FileMapRegion::mapped_base() to null if mapping fails

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 21
    • Component/s: hotspot
    • b02

      Since JDK-8296158, FileMapRegion::mapped_base() may be non-null if the region's CRC check has failed.

      For cleanliness, we should reset FileMapRegion::mapped_base() to nullptr in case the mapping fails for any reasons.

            Assignee:
            Matias Saavedra Silva
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: