RFR: 8334492: DiagnosticCommands (jcmd) should accept %p in output filenames and substitute PID [v9]

Sonia Zaldana Calles szaldana at openjdk.org
Tue Jul 23 18:12:32 UTC 2024


On Wed, 17 Jul 2024 14:21:05 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> * In all cases: please, in case of an error, don't THROW, don't do `warning`. Instead, just print to the `output()` of the DCmd. You want an error to appear to the user of the dcmd - so, to stdout or stderr of the jcmd process issuing the command. Not an exception in the target JVM process, nor a warning in the target JVM stderr stream

FYI, I filed [JDK-8337047](https://bugs.openjdk.org/browse/JDK-8337047) to track this.

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

PR Comment: https://git.openjdk.org/jdk/pull/20198#issuecomment-2245923827


More information about the serviceability-dev mailing list