8261941: Use ClassLoader for unregistered classes during -Xshare:dump

Reviewed-by: iklam, minqi
This commit is contained in:
Calvin Cheung 2021-09-16 17:32:02 +00:00
parent 7e92abe7a4
commit 12fa7073c5
10 changed files with 171 additions and 116 deletions

View file

@ -349,10 +349,6 @@ class InstanceKlass: public Klass {
// Check if the class can be shared in CDS
bool is_shareable() const;
void clear_shared_class_loader_type() {
_misc_flags &= ~shared_loader_type_bits();
}
bool shared_loading_failed() const {
return (_misc_flags & _misc_shared_loading_failed) != 0;
}