mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8223626: move print() functions to cpp files
Improve debugging experience Reviewed-by: dholmes, dlong
This commit is contained in:
parent
c90f3ee68b
commit
77d60eff6a
44 changed files with 100 additions and 45 deletions
|
@ -915,6 +915,8 @@ void ClassLoaderData::print_value_on(outputStream* out) const {
|
|||
}
|
||||
}
|
||||
|
||||
void ClassLoaderData::print_value() const { print_value_on(tty); }
|
||||
|
||||
#ifndef PRODUCT
|
||||
void ClassLoaderData::print_on(outputStream* out) const {
|
||||
out->print("ClassLoaderData CLD: " PTR_FORMAT ", loader: " PTR_FORMAT ", loader_klass: %s {",
|
||||
|
@ -933,6 +935,8 @@ void ClassLoaderData::print_on(outputStream* out) const {
|
|||
}
|
||||
#endif // PRODUCT
|
||||
|
||||
void ClassLoaderData::print() const { print_on(tty); }
|
||||
|
||||
void ClassLoaderData::verify() {
|
||||
assert_locked_or_safepoint(_metaspace_lock);
|
||||
oop cl = class_loader();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue