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

Anton Kozlov akozlov at openjdk.java.net
Wed Jun 2 20:05:56 UTC 2021


> 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.

Anton Kozlov has updated the pull request incrementally with two additional commits since the last revision:

 - Fix create_binary_file
 - Rename option to -overwrite

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4183/files
  - new: https://git.openjdk.java.net/jdk/pull/4183/files/7faa6900..8b97a1e4

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4183&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4183&range=01-02

  Stats: 26 lines in 11 files changed: 0 ins; 8 del; 18 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4183.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4183/head:pull/4183

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


More information about the serviceability-dev mailing list