RFR(XS): 8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
Mikhailo Seledtsov
mikhailo.seledtsov at oracle.com
Tue Dec 2 01:59:57 UTC 2014
Test changes look good.
Thank you,
Misha
On 12/1/2014 12:10 PM, Calvin Cheung wrote:
> JBS: https://bugs.openjdk.java.net/browse/JDK-8065050
>
> Adding more checks on the SharedMiscDataSize, ShareReadOnlySize, and
> SharedReadWriteSize.
>
> For the SharedMiscDataSize, it is based on
> MetaspaceShared::generate_vtable_methods(). Similar to what was done
> for the SharedMiscCodeSize.
>
> For the ShareReadOnlySize and SharedReadWriteSize, I'm checking if
> they are at least the default size.
> I think it's reasonable to enforce the ro and rw sizes to be at least
> the default size. A default dump of CDS archive requires >8M of ro
> space and >11M of rw space.
>
> webrev:
> http://cr.openjdk.java.net/~ccheung/8065050/webrev/
>
> tests:
> ran the testcase via jtreg on linux_x64 and windows_x64
> JPRT
>
> thanks,
> Calvin
More information about the hotspot-runtime-dev
mailing list