mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8006537: Assert when dumping archive with default methods
Reviewed-by: coleenp
This commit is contained in:
parent
6799149f7d
commit
59f0209008
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue