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

Erik Gahlin egahlin at openjdk.org
Fri Aug 16 23:09:01 UTC 2024


On Fri, 16 Aug 2024 19:27:47 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> I wonder if it is possible to do this without the addition of FILE. Maybe most of the code can be shared, but we need a bit of dcmd specific code to invoke this filename expansion code.

In JFR and JMC we have made the distinction between data type and content type. In this case, the data type would be STRING, but the content type would FILE. Maybe something similar could be added to the dcmd framework?

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

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


More information about the hotspot-dev mailing list