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.
For cleanliness, we should reset FileMapRegion::mapped_base() to nullptr in case the mapping fails for any reasons.
- relates to
-
JDK-8296158 Refactor the verification of CDS region checksum
-
- Resolved
-
-
JDK-8302777 CDS should not relocate heap if mapping fails
-
- Closed
-