Skip to content

8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError #646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

ivoanjo
Copy link
Contributor

@ivoanjo ivoanjo commented May 1, 2025

I noticed that HeapDumpOnOutOfMemoryError was showing up as an undocumented rule, and that seemed a bit surprising.

On a closer look, it's even documented on the exact link https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html used as the source for the JAVA_8_DOCUMENTED_XX.

I googled and I don't think this option ever had another name, so it looks like a copy-paste accident or something like that?

I've submitted the needed docs for the OCA so I'm opening the PR for now and hopefully that will all be in good shape soon.


Progress

  • Commit message must refer to an issue
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

Issue

  • JMC-8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError (Task - P5)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jmc.git pull/646/head:pull/646
$ git checkout pull/646

Update a local copy of the PR:
$ git checkout pull/646
$ git pull https://git.openjdk.org/jmc.git pull/646/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 646

View PR using the GUI difftool:
$ git pr show -t 646

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jmc/pull/646.diff

Using Webrev

Link to Webrev Comment

I noticed that `HeapDumpOnOutOfMemoryError` was showing up as an
undocumented rule, and that seemed a bit surprising.

On a closer look, it's even documented on the exact link
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html
used as the source for the `JAVA_8_DOCUMENTED_XX`.

I googled and I don't think this option ever had another name, so
it looks like a copy-paste accident or something like that?

I've submitted the needed docs for the OCA so I'm opening the PR for
now and hopefully that will all be in good shape soon.
@bridgekeeper bridgekeeper bot added the oca label May 1, 2025
@bridgekeeper
Copy link

bridgekeeper bot commented May 1, 2025

Hi @ivoanjo, welcome to this OpenJDK project and thanks for contributing!

We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing /signed in a comment in this pull request.

If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user ivoanjo" as summary for the issue.

If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing /covered in a comment in this pull request.

@openjdk
Copy link

openjdk bot commented May 1, 2025

@ivoanjo This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError

Reviewed-by: hdafgard, hirt

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 9 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@Gunde, @thegreystone) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@thegreystone
Copy link
Member

Hi @ivoanjo! Just type /covered in a comment to indicate that you are covered by the Datadog OCA.

@hdafgard
Copy link

hdafgard commented May 7, 2025

You'll also need to link this PR to https://bugs.openjdk.org/browse/JMC-8396 by adding 8396: as a prefix to the PR title.

@ivoanjo
Copy link
Contributor Author

ivoanjo commented May 14, 2025

/covered

@ivoanjo ivoanjo changed the title Fix incorrect option name for HeapDumpOnOutOfMemoryError 8396: Fix incorrect option name for HeapDumpOnOutOfMemoryError May 14, 2025
@bridgekeeper
Copy link

bridgekeeper bot commented May 14, 2025

Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated!

@bridgekeeper
Copy link

bridgekeeper bot commented Jun 11, 2025

@ivoanjo This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@ivoanjo
Copy link
Contributor Author

ivoanjo commented Jun 11, 2025

/touch

@openjdk
Copy link

openjdk bot commented Jun 11, 2025

@ivoanjo The pull request is being re-evaluated and the inactivity timeout has been reset.

@mlbridge
Copy link

mlbridge bot commented Jun 26, 2025

Webrevs

@ivoanjo
Copy link
Contributor Author

ivoanjo commented Jun 26, 2025

Hey, it's green now! :)

@thegreystone thegreystone self-requested a review June 26, 2025 19:46
@Gunde
Copy link
Collaborator

Gunde commented Jun 27, 2025

You still need to update the title to 8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError

@ivoanjo ivoanjo changed the title 8396: Fix incorrect option name for HeapDumpOnOutOfMemoryError 8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError Jul 1, 2025
@openjdk openjdk bot added the ready label Jul 1, 2025
@ivoanjo
Copy link
Contributor Author

ivoanjo commented Jul 1, 2025

/integrate

@openjdk openjdk bot added the sponsor label Jul 1, 2025
@openjdk
Copy link

openjdk bot commented Jul 1, 2025

@ivoanjo
Your change (at version b5b46c8) is now ready to be sponsored by a Committer.

@thegreystone
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Jul 2, 2025

Going to push as commit dd6fd90.
Since your change was applied there have been 9 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated label Jul 2, 2025
@openjdk
Copy link

openjdk bot commented Jul 2, 2025

@thegreystone @ivoanjo Pushed as commit dd6fd90.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants