RFR: 8396: Fix incorrect option name for `HeapDumpOnOutOfMemoryError`

Ivo Anjo duke at openjdk.org
Thu Jun 26 14:59:45 UTC 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.

-------------

Commit messages:
 - Fix incorrect option name for `HeapDumpOnOutOfMemoryError`

Changes: https://git.openjdk.org/jmc/pull/646/files
  Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=646&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-8396
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jmc/pull/646.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/646/head:pull/646

PR: https://git.openjdk.org/jmc/pull/646


More information about the jmc-dev mailing list