RFR: 8267666: Add option to jcmd GC.heap_dump to use existing file

Chris Plummer cjplummer at openjdk.java.net
Tue May 25 21:43:21 UTC 2021


On Tue, 25 May 2021 11:23:33 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Please review a small change that adds an option to GC.heap_dump to use an existing file. 
> 
> The option is necessary if the target file is a predefined file-like object, like a named pipe. This opens up a lot of possibilities to process a heap dump without storing it to the file system first.
> 
> Reviews of the CSR linked to the bug would be appreciated as well.

@AntonKozlov I thought there was recently a thread were you discussed this, but I can't find it. If there was one, can you include a link? Thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/4183


More information about the hotspot-runtime-dev mailing list