Proposal: Add overwrite heapdump flag to java

Elon Azoulay elon.azoulay at gmail.com
Thu May 25 19:11:00 UTC 2023


Hi Dan,
That's great! Should I follow up in that thread as well?


On Thu, May 25, 2023 at 12:04 PM <daniel.daugherty at oracle.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230525/52d61469/attachment.htm>


More information about the jdk-dev mailing list