On Thu, 23 Feb 2023 05:16:52 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> Implementation of the "ManagementAgent.status" indirectly depends on the size 
> of "O_BUFLEN".
> 
> The root cause is usage of 
> [print_cr()](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/utilities/ostream.cpp#L153)
>  which may 
> [truncate](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/utilities/ostream.cpp#L101)
>  the output.
> 
> The solution is similar to the 
> [JDK-8263640](https://bugs.openjdk.org/browse/JDK-8263640). see discussion 
> about that approach https://github.com/openjdk/jdk/pull/4616

This pull request has now been integrated.

Changeset: a43931b7
Author:    Sergey Bylokhov <s...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/a43931b79cb25d218e8f9b4d4f3a106f59cb2d37
Stats:     4 lines in 2 files changed: 1 ins; 0 del; 3 mod

8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN

Reviewed-by: dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/12724

Reply via email to