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

Anton Kozlov akozlov at openjdk.java.net
Mon Jul 12 11:15:57 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.

This pull request has now been integrated.

Changeset: 7cbb67a3
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7cbb67a3f8adc83a5b51c092a66480d7b22a6bea
Stats:     35 lines in 11 files changed: 12 ins; 8 del; 15 mod

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

Reviewed-by: rschmelter, clanger

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

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


More information about the serviceability-dev mailing list