mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems. Reviewed-by: coleenp, rehn, hseigel
This commit is contained in:
parent
c011c03c17
commit
da0fe9d476
38 changed files with 219 additions and 217 deletions
|
@ -76,9 +76,9 @@ static void trace_class_resolution(const Klass* to_class) {
|
|||
const char * to = to_class->external_name();
|
||||
// print in a single call to reduce interleaving between threads
|
||||
if (source_file != NULL) {
|
||||
log_debug(classresolve)("%s %s %s:%d (reflection)", from, to, source_file, line_number);
|
||||
log_debug(class, resolve)("%s %s %s:%d (reflection)", from, to, source_file, line_number);
|
||||
} else {
|
||||
log_debug(classresolve)("%s %s (reflection)", from, to);
|
||||
log_debug(class, resolve)("%s %s (reflection)", from, to);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -761,7 +761,7 @@ static oop get_mirror_from_signature(methodHandle method,
|
|||
Handle(THREAD, protection_domain),
|
||||
true,
|
||||
CHECK_NULL);
|
||||
if (log_is_enabled(Debug, classresolve)) {
|
||||
if (log_is_enabled(Debug, class, resolve)) {
|
||||
trace_class_resolution(k);
|
||||
}
|
||||
return k->java_mirror();
|
||||
|
@ -816,7 +816,7 @@ static Handle new_type(Symbol* signature, KlassHandle k, TRAPS) {
|
|||
Handle(THREAD, k->protection_domain()),
|
||||
true, CHECK_(Handle()));
|
||||
|
||||
if (log_is_enabled(Debug, classresolve)) {
|
||||
if (log_is_enabled(Debug, class, resolve)) {
|
||||
trace_class_resolution(result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue