RFR(XS): 8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
mikhailo.seledtsov at oracle.com
Tue Dec 2 01:59:57 UTC 2014
Test changes look good.
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
> 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.
> ran the testcase via jtreg on linux_x64 and windows_x64
More information about the hotspot-runtime-dev