Proposal: Add overwrite heapdump flag to java

David Holmes david.holmes at oracle.com
Thu May 25 05:48:33 UTC 2023


Hi Elon,

I would suggest taking this up on serviceability-dev - cc'd.

On 25/05/2023 3:46 am, Elon Azoulay wrote:
> 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.

Have you gone through the guide:

https://openjdk.org/guide/

?

You will need a JBS issue and also a CSR request as this proposes to add 
a new manageable product flag.

Cheers,
David

> I am a new contributor and would be happy to contribute more!
> 
> Cheers,
> 
> Elon


More information about the jdk-dev mailing list