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

Calvin Cheung calvin.cheung at oracle.com
Thu Jun 11 15:44:58 UTC 2020


Hi Coleen, Ioi,

Thanks for your review!

Calvin

On 6/11/20 8:34 AM, coleen.phillimore at oracle.com wrote:
>
> 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