RFR(s) 8246382: assert in MetaspaceShared::map_archives

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Thu Jun 11 15:34:00 UTC 2020


This looks good.
thanks,
Coleen

On 6/10/20 9:47 PM, Calvin Cheung wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8246382
> webrev: http://cr.openjdk.java.net/~ccheung/jdk15/8246382/webrev.00/
>
> 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 
> FileMapInfo::validate_header.
>
> Testing: tier1, 2 (in progress)
>               all appcds tests passed locally on linux.
>
> thanks,
>
> Calvin
>



More information about the hotspot-runtime-dev mailing list