RFR: JDK-8327769: jcmd GC.heap_dump without options should write to location given by -XX:HeapDumpPath, if set [v10]

Matthias Baesken mbaesken at openjdk.org
Thu Mar 28 15:11:39 UTC 2024


On Thu, 28 Mar 2024 07:02:16 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Wouldn't this just be a case of changing a flag description? As luck has it, the flag already has a generic name that is not tied to OOMs.

Yes it is some work on documentation (but seems some doc work needs to be done anyway because it was forgotten when `HeapDumpGzipLevel` was introduced). 
And the current name is generic and does not mention the OOM case in the name itself, the current implementation would better match the name if it was `HeapDumpPathOnOom` or something like this.

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

PR Comment: https://git.openjdk.org/jdk/pull/18190#issuecomment-2025456286


More information about the serviceability-dev mailing list