JDK-8346477 : Clarify the Java manpage in relation to the JVM's OnOutOfMemoryError flags
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-12-18
  • Updated: 2025-01-05
  • Resolved: 2024-12-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 b04Fixed
Related Reports
Relates :  
Relates :  
Description
From time to time developers try to use the JVM's out-of-memory flags (e.g. -XX:OnOutOfMemoryError) expecting them to activate when Java code throws an OutOfMemoryError - which they don't. The manpage description of these flags needs to be updated to make that clear.
Comments
Changeset: cd15ebb9 Branch: master Author: David Holmes <dholmes@openjdk.org> Date: 2024-12-23 11:56:24 +0000 URL: https://git.openjdk.org/jdk/commit/cd15ebb963d4dab079921bf468005896a40ab3b1
23-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22802 Date: 2024-12-18 02:17:45 +0000
18-12-2024