RFR(s) 8246382: assert in MetaspaceShared::map_archives
calvin.cheung at oracle.com
Thu Jun 11 01:47:17 UTC 2020
The bug is due to the base CDS archive used for dynamic dumping does not
match the one used during runtime.
Currently, the checking of the base archive header CRC is done in
DynamicArchive::validate but it is after the assert in
MetaSpace::map_archives. A fix is to do the check earlier in
Testing: tier1, 2 (in progress)
all appcds tests passed locally on linux.
More information about the hotspot-runtime-dev