mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8266822: Rename MetaspaceShared::is_old_class to be more explicit about what "old" means
Reviewed-by: iklam, minqi, coleenp
This commit is contained in:
parent
616244f43a
commit
57c6ba6e6b
7 changed files with 32 additions and 31 deletions
|
@ -1382,7 +1382,7 @@ bool SystemDictionaryShared::should_be_excluded(InstanceKlass* k) {
|
|||
warn_excluded(k, "Failed verification");
|
||||
return true;
|
||||
} else {
|
||||
if (!MetaspaceShared::is_old_class(k)) {
|
||||
if (!k->has_old_class_version()) {
|
||||
warn_excluded(k, "Not linked");
|
||||
return true;
|
||||
}
|
||||
|
@ -1397,7 +1397,7 @@ bool SystemDictionaryShared::should_be_excluded(InstanceKlass* k) {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (MetaspaceShared::is_old_class(k) && k->is_linked()) {
|
||||
if (k->has_old_class_version() && k->is_linked()) {
|
||||
warn_excluded(k, "Old class has been linked");
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue