1300 check_loader_lock_contention(lockObject, THREAD); |
1300 check_loader_lock_contention(lockObject, THREAD); |
1301 ObjectLocker ol(lockObject, THREAD, true); |
1301 ObjectLocker ol(lockObject, THREAD, true); |
1302 ik->restore_unshareable_info(loader_data, protection_domain, CHECK_(nh)); |
1302 ik->restore_unshareable_info(loader_data, protection_domain, CHECK_(nh)); |
1303 } |
1303 } |
1304 |
1304 |
1305 if (TraceClassLoading) { |
1305 if (log_is_enabled(Info, classload)) { |
1306 ResourceMark rm; |
1306 ik()->print_loading_log(LogLevel::Info, loader_data, NULL); |
1307 tty->print("[Loaded %s", ik->external_name()); |
1307 } |
1308 tty->print(" from shared objects file"); |
1308 // No 'else' here as logging levels are not mutually exclusive |
1309 if (class_loader.not_null()) { |
1309 |
1310 tty->print(" by %s", loader_data->loader_name()); |
1310 if (log_is_enabled(Debug, classload)) { |
1311 } |
1311 ik()->print_loading_log(LogLevel::Debug, loader_data, NULL); |
1312 tty->print_cr("]"); |
|
1313 } |
1312 } |
1314 |
1313 |
1315 if (DumpLoadedClassList != NULL && classlist_file->is_open()) { |
1314 if (DumpLoadedClassList != NULL && classlist_file->is_open()) { |
1316 // Only dump the classes that can be stored into CDS archive |
1315 // Only dump the classes that can be stored into CDS archive |
1317 if (SystemDictionaryShared::is_sharing_possible(loader_data)) { |
1316 if (SystemDictionaryShared::is_sharing_possible(loader_data)) { |