mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8152632: Rename LogHandle(...) to Log(...)
Reviewed-by: brutisso, mlarsson, rprotacio
This commit is contained in:
parent
ff771a6686
commit
15c4140ae5
49 changed files with 138 additions and 138 deletions
|
@ -1089,7 +1089,7 @@ void InstanceKlass::call_class_initializer_impl(instanceKlassHandle this_k, TRAP
|
|||
assert(!this_k->is_initialized(), "we cannot initialize twice");
|
||||
if (log_is_enabled(Info, classinit)) {
|
||||
ResourceMark rm;
|
||||
outputStream* log = LogHandle(classinit)::info_stream();
|
||||
outputStream* log = Log(classinit)::info_stream();
|
||||
log->print("%d Initializing ", call_class_initializer_impl_counter++);
|
||||
this_k->name()->print_value_on(log);
|
||||
log->print_cr("%s (" INTPTR_FORMAT ")", h_method() == NULL ? "(no method)" : "", p2i(this_k()));
|
||||
|
@ -3010,11 +3010,11 @@ void InstanceKlass::print_loading_log(LogLevel::type type,
|
|||
assert(type == LogLevel::Info || type == LogLevel::Debug, "sanity");
|
||||
|
||||
if (type == LogLevel::Info) {
|
||||
log = LogHandle(classload)::info_stream();
|
||||
log = Log(classload)::info_stream();
|
||||
} else {
|
||||
assert(type == LogLevel::Debug,
|
||||
"print_loading_log supports only Debug and Info levels");
|
||||
log = LogHandle(classload)::debug_stream();
|
||||
log = Log(classload)::debug_stream();
|
||||
}
|
||||
|
||||
// Name and class hierarchy info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue