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)");
if (handleThread.isJavaThread()) {
tty.print(" for JavaThread ");
((JavaThread) handleThread).printThreadIDOn(tty); // includes "\n"
((JavaThread) handleThread).printThreadIDOn(tty);
tty.println();
} else {
tty.println(" for a non-Java Thread");
}