Proposal: Add overwrite heapdump flag to java

Elon Azoulay elon.azoulay at gmail.com
Wed May 24 17:46:00 UTC 2023


Hi,
I submitted a pull request <https://github.com/openjdk/jdk/pull/13276> to
expose the overwrite flag to HeapDumpOnOutOfMemoryError.
The flag is already exposed to jcmd as -overwrite.This is to facilitate
creating a heapdump within a container native environment.
We use this internally to dump the heap dump to a fifo so that we could
read it in a separate container.Let me know what needs to be done in terms
of creating an issue and getting my pr merged.

I am a new contributor and would be happy to contribute more!

Cheers,

Elon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230524/361c3e5a/attachment.htm>


More information about the jdk-dev mailing list