mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
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:
parent
a65b58e18d
commit
eb6d311b66
5 changed files with 47 additions and 61 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue