8332919: SA PointerLocation needs to print a newline after dumping java thread info for JNI Local Ref

Reviewed-by: kevinw, dholmes
This commit is contained in:
Chris Plummer 2024-05-29 18:23:23 +00:00
parent bc7d9e3d0b
commit c8eea59f50

View File

@ -359,7 +359,8 @@ public class PointerLocation {
tty.print(" JNI handle block (" + handleBlock.top() + " handle slots present)"); tty.print(" JNI handle block (" + handleBlock.top() + " handle slots present)");
if (handleThread.isJavaThread()) { if (handleThread.isJavaThread()) {
tty.print(" for JavaThread "); tty.print(" for JavaThread ");
((JavaThread) handleThread).printThreadIDOn(tty); // includes "\n" ((JavaThread) handleThread).printThreadIDOn(tty);
tty.println();
} else { } else {
tty.println(" for a non-Java Thread"); tty.println(" for a non-Java Thread");
} }