mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 22:48:35 +00:00
8253641: Missing newline in the printout of certain JFR events
Co-authored-by: Michael Bien <mbien42@gmail.com> Reviewed-by: mgronlun
This commit is contained in:
parent
89e5444554
commit
e577c8c852
@ -437,13 +437,16 @@ public final class PrettyWriter extends EventPrintWriter {
|
||||
private void printClassLoader(RecordedClassLoader cl, String postFix) {
|
||||
// Purposely not printing class loader name to avoid cluttered output
|
||||
RecordedClass clazz = cl.getType();
|
||||
print(clazz == null ? "null" : clazz.getName());
|
||||
if (clazz != null) {
|
||||
print(clazz.getName());
|
||||
print(" (");
|
||||
print("id = ");
|
||||
print(String.valueOf(cl.getId()));
|
||||
println(")");
|
||||
print(")");
|
||||
} else {
|
||||
print("null");
|
||||
}
|
||||
println(postFix);
|
||||
}
|
||||
|
||||
private void printJavaFrame(RecordedFrame f, String postFix) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user