[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN [v2]
From:       David Holmes <dholmes () openjdk ! org>
Date:       2023-02-25 3:11:10
Message-ID: SCVFc34vu-CJMM3SjYW5OXcbmeppgO4wJGzDAQ0N4do=.edc778ae-9f99-49e5-af80-7d68ad07c6fe () github ! com
[Download RAW message or body]

On Thu, 23 Feb 2023 17:06:59 GMT, Sergey Bylokhov <serb@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
> 
> Sergey Bylokhov has updated the pull request incrementally with one additional \
> commit since the last revision: 
> Update JMXStatusTest.java

Marked as reviewed by dholmes (Reviewer).

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic