Proposal: Add overwrite heapdump flag to java

daniel.daugherty at oracle.com daniel.daugherty at oracle.com
Thu May 25 19:04:13 UTC 2023


Greetings,

A similar request came up on the hotspot-dev alias back in 2022.11:

https://mail.openjdk.org/pipermail/hotspot-dev/2022-November/066956.html

Dan


On 5/25/23 1:48 AM, David Holmes wrote:
> 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