8241244: CDS dynamic dump asserts in ArchivePtrBitmapCleaner::do_bit

Reviewed-by: minqi, coleenp
This commit is contained in:
Ioi Lam 2020-03-23 13:27:22 -07:00
parent f0ba0dc6dc
commit 81353a56f9

View file

@ -1096,6 +1096,10 @@ bool SystemDictionaryShared::should_be_excluded(InstanceKlass* k) {
warn_excluded(k, "In error state");
return true;
}
if (k->has_been_redefined()) {
warn_excluded(k, "Has been redefined");
return true;
}
if (k->shared_classpath_index() < 0 && is_builtin(k)) {
// These are classes loaded from unsupported locations (such as those loaded by JVMTI native
// agent during dump time).