We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 786c5fb commit 24fae7aCopy full SHA for 24fae7a
src/hotspot/share/classfile/classLoaderData.cpp
@@ -1009,7 +1009,11 @@ void ClassLoaderData::print_on(outputStream* out) const {
1009
_holder.print_on(out);
1010
out->print_cr("");
1011
}
1012
- out->print_cr(" - class loader " INTPTR_FORMAT, p2i(_class_loader.ptr_raw()));
+ if (!_unloading) {
1013
+ out->print_cr(" - class loader " INTPTR_FORMAT, p2i(_class_loader.peek()));
1014
+ } else {
1015
+ out->print_cr(" - class loader <unloading, oop is bad>");
1016
+ }
1017
out->print_cr(" - metaspace " INTPTR_FORMAT, p2i(_metaspace));
1018
out->print_cr(" - unloading %s", _unloading ? "true" : "false");
1019
out->print_cr(" - class mirror holder %s", _has_class_mirror_holder ? "true" : "false");
1 commit comments
openjdk-notifier[bot] commentedon Feb 15, 2024
Review
Issues