[jdk11u-dev] RFR: 8267666: Add option to jcmd GC.heap_dump to use existing file

Christoph Langer clanger at openjdk.java.net
Wed Jul 14 20:32:10 UTC 2021


On Wed, 14 Jul 2021 13:27:25 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> To be able to use the -overwrite flag for domain sockets or pipes this would be needed, but overwriting an existing file would work.
> 
> I had not backported my change to 11, because the diff between 15 and 11 was large and it wasn't a bugfix, so not strictly needed. But if there is interest, it should be possible.

Hm, together with this change actually https://bugs.openjdk.java.net/browse/JDK-8234510 seems more worthwhile to do. Maybe you want to look into bringing it to JDK11 now, @schmelter-sap? In any case, this backport seems to be good as is and does not need JDK-8234510 as a prerequisite, though its use is limited for the moment.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/131


More information about the jdk-updates-dev mailing list