Description
The CDS region checksum verification is split into two functions:
bool FileMapInfo::region_crc_check(char* buf, size_t size, int expected_crc);
bool FileMapInfo::verify_region_checksum(int i);
We call one of them in some cases, and another one in other cases, with no apparently logic.
These should be refactored and simplified.
bool FileMapInfo::region_crc_check(char* buf, size_t size, int expected_crc);
bool FileMapInfo::verify_region_checksum(int i);
We call one of them in some cases, and another one in other cases, with no apparently logic.
These should be refactored and simplified.
Attachments
Issue Links
- relates to
-
JDK-8302777 CDS should not relocate heap if mapping fails
-
- Closed
-
-
JDK-8302790 Set FileMapRegion::mapped_base() to null if mapping fails
-
- Resolved
-