8231125: Improve testing of parallel loading of shared classes by the boot class loader

Reviewed-by: ccheung, coleenp, dholmes
This commit is contained in:
Ioi Lam 2019-09-22 17:16:35 -07:00
parent 83f41d2736
commit 9c92ecba04
4 changed files with 75 additions and 31 deletions

View file

@ -1270,6 +1270,7 @@ InstanceKlass* SystemDictionary::load_shared_class(InstanceKlass* ik,
TRAPS) {
if (ik != NULL) {
assert(!ik->is_unshareable_info_restored(), "shared class can be loaded only once");
Symbol* class_name = ik->name();
bool visible = is_shared_class_visible(