On Fri, 24 May 2024 20:03:53 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
> If PointerLocation discovers that an address is for a JNI local ref, it will > print information about the thread that owns the JNI local ref. For > JavaThreads it calls the printThreadIDOn(tty) method. There's a comment on > the call that says that it 'includes "\n"'. This is actually not true, and a > separate println() is needed. I noticed this when using the clhsdb findpc > command on a JNI local ref and noted that the next "hdsb> " prompt was > printed at the end of the findpc output instead of on a new line. This pull request has now been integrated. Changeset: c8eea59f Author: Chris Plummer <cjplum...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/c8eea59f508158075382079316cf0990116ff98e Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod 8332919: SA PointerLocation needs to print a newline after dumping java thread info for JNI Local Ref Reviewed-by: kevinw, dholmes ------------- PR: https://git.openjdk.org/jdk/pull/19402