RFR: 8349003: NativeCallStack::print_on() output is unreadable
Zhengyu Gu
zgu at openjdk.org
Thu Jan 30 13:42:48 UTC 2025
On Thu, 30 Jan 2025 10:46:48 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> > I reported this last year https://bugs.openjdk.org/browse/JDK-8344603 and the runtime triaged and assigned it to you @tstuefe . But I guess something fell through the cracks.
>
> Oh, I missed that one completely :-( No, you are right, that is a bug that needs fixing. Weird that it only shows up at some output lines. @zhengyu123 by adding a single cr, looking at https://bugs.openjdk.org/browse/JDK-8344603, would we not now show multiple newlines in some places?
Now you use `NativeCallStackPrinter::print_stack()` for NMT reporting and it does line break [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/nmt/nativeCallStackPrinter.cpp#L52)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23359#issuecomment-2624547890
More information about the hotspot-dev
mailing list