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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 21
    • 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.

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

              Created:
              Updated:
              Resolved: