8271939: Clean up primitive raw accessors in oopDesc

Reviewed-by: stefank, tschatzl
This commit is contained in:
Roman Kennke 2021-08-09 10:31:31 +00:00
parent b84a9c7b37
commit a86ac0d1e3
10 changed files with 13 additions and 43 deletions

View file

@ -1022,7 +1022,7 @@ oop HeapShared::archive_reachable_objects_from(int level,
// class_data will be restored explicitly at run time.
guarantee(orig_obj == SystemDictionary::java_platform_loader() ||
orig_obj == SystemDictionary::java_system_loader() ||
java_lang_ClassLoader::loader_data_raw(orig_obj) == NULL, "must be");
java_lang_ClassLoader::loader_data(orig_obj) == NULL, "must be");
java_lang_ClassLoader::release_set_loader_data(archived_obj, NULL);
}
}