Skip to content

Commit c8eea59

Browse files
committed
8332919: SA PointerLocation needs to print a newline after dumping java thread info for JNI Local Ref
Reviewed-by: kevinw, dholmes
1 parent bc7d9e3 commit c8eea59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PointerLocation.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ public void printOn(PrintStream tty, boolean printAddress, boolean verbose) {
359359
tty.print(" JNI handle block (" + handleBlock.top() + " handle slots present)");
360360
if (handleThread.isJavaThread()) {
361361
tty.print(" for JavaThread ");
362-
((JavaThread) handleThread).printThreadIDOn(tty); // includes "\n"
362+
((JavaThread) handleThread).printThreadIDOn(tty);
363+
tty.println();
363364
} else {
364365
tty.println(" for a non-Java Thread");
365366
}

0 commit comments

Comments
 (0)