From 0cae888046e0b014e2222d16ef9f830cecf8f8dd Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Thu, 30 Jan 2025 16:14:43 +0000 Subject: [PATCH] 8349003: NativeCallStack::print_on() output is unreadable Reviewed-by: stuefe, dholmes --- src/hotspot/share/utilities/nativeCallStack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/utilities/nativeCallStack.cpp b/src/hotspot/share/utilities/nativeCallStack.cpp index c1f9a88bf0d..7b6d4a3660b 100644 --- a/src/hotspot/share/utilities/nativeCallStack.cpp +++ b/src/hotspot/share/utilities/nativeCallStack.cpp @@ -113,6 +113,6 @@ void NativeCallStack::print_on(outputStream* out) const { DEBUG_ONLY(assert_not_fake();) for (int i = 0; i < NMT_TrackingStackDepth && _stack[i] != nullptr; i++) { print_frame(out, _stack[i]); + out->cr(); } - out->cr(); }