8154791: Xlog classload too redundant msgs info/debug

Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code

Reviewed-by: iklam, dholmes
This commit is contained in:
Rachel Protacio 2017-05-08 09:45:24 -04:00
parent a65b58e18d
commit eb6d311b66
5 changed files with 47 additions and 61 deletions

View file

@ -1384,14 +1384,7 @@ InstanceKlass* SystemDictionary::load_shared_class(InstanceKlass* ik,
ik->restore_unshareable_info(loader_data, protection_domain, CHECK_NULL);
}
if (log_is_enabled(Info, class, load)) {
ik->print_loading_log(LogLevel::Info, loader_data, NULL, NULL);
}
// No 'else' here as logging levels are not mutually exclusive
if (log_is_enabled(Debug, class, load)) {
ik->print_loading_log(LogLevel::Debug, loader_data, NULL, NULL);
}
ik->print_class_load_logging(loader_data, NULL, NULL);
// For boot loader, ensure that GetSystemPackage knows that a class in this
// package was loaded.