RFR: 8346477: Clarify the Java manpage in relation to the JVM's OnOutOfMemoryError flags [v2]

Jaikiran Pai jpai at openjdk.org
Fri Dec 20 14:24:38 UTC 2024


On Thu, 19 Dec 2024 21:22:10 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> We don't need a 100% text. Mentioning self-thrown OOMEs and Thread creation OOMs as exceptions should cover almost all cases I know of where customers were puzzled.
>> 
>> "This applies only to Out-Of-Memory errors caused by Java Heap exhaustion; it does not apply to OOMEs thrown by user code, nor OOMEs caused by other types of resource exhaustion (e.g. thread creation errors)."
>
> Okay I have revised in the manner suggested. Thanks

Hello David, in this latest updated version, this last sentence:

>This does not apply to any `OutOfMemoryError` thrown by Java, or native, code in the JDK libraries.

appears to be a repeat of the newly added longer explanation one line before. Was it intentional keep this line?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22802#discussion_r1893998355


More information about the hotspot-runtime-dev mailing list