8006537: Assert when dumping archive with default methods

Reviewed-by: coleenp
This commit is contained in:
Jon Masamitsu 2013-01-17 19:04:48 -08:00
parent 6799149f7d
commit 59f0209008
2 changed files with 7 additions and 1 deletions

View file

@ -318,6 +318,7 @@ ClassLoaderData::~ClassLoaderData() {
}
Metaspace* ClassLoaderData::metaspace_non_null() {
assert(!DumpSharedSpaces, "wrong metaspace!");
// If the metaspace has not been allocated, create a new one. Might want
// to create smaller arena for Reflection class loaders also.
// The reason for the delayed allocation is because some class loaders are