mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8193332: MetaspaceShared::check_shared_class_loader_type is not used during archive creation
Reviewed-by: lfoltan, jiangli
This commit is contained in:
parent
03096d9b75
commit
f9742fc0a6
6 changed files with 29 additions and 16 deletions
|
@ -326,6 +326,10 @@ class InstanceKlass: public Klass {
|
|||
return (_misc_flags & _misc_is_shared_app_class) != 0;
|
||||
}
|
||||
|
||||
void clear_class_loader_type() {
|
||||
_misc_flags &= ~loader_type_bits();
|
||||
}
|
||||
|
||||
void set_class_loader_type(s2 loader_type) {
|
||||
switch (loader_type) {
|
||||
case ClassLoader::BOOT_LOADER:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue