8261551: Remove special CDS handling in Metaspace::allocate

Reviewed-by: minqi, dholmes, stuefe
This commit is contained in:
Ioi Lam 2021-03-26 03:37:14 +00:00
parent fe8ef3223d
commit 41657b15ac
5 changed files with 6 additions and 12 deletions

View file

@ -3413,7 +3413,7 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
#endif
if (DumpSharedSpaces) {
MetaspaceShared::preload_and_dump(CHECK_JNI_ERR);
MetaspaceShared::preload_and_dump();
ShouldNotReachHere();
}