RFR: JDK-8319307: DCmds should not assert on truncation and should report truncation [v2]
Thomas Stuefe
stuefe at openjdk.org
Mon Nov 13 07:15:56 UTC 2023
On Mon, 13 Nov 2023 05:51:44 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > IMHO the real error is not honoring the flush() request.
>
> Did we look into fixing that?
No easy way to do that. The underlying jcmd protocol works on a request-answer base, so it is not prepared to stream output as it comes. Even if we change that, and it would be good to change, this would possibly add incompatibilities with older jcmd versions (being able to use any jcmd on any VM is really handy).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16474#issuecomment-1807580854
More information about the hotspot-runtime-dev
mailing list