RFR: 8284642: Unexpected behavior of -XX:MaxDirectMemorySize=0

Thomas Stuefe stuefe at openjdk.java.net
Wed Apr 13 14:26:13 UTC 2022


On Wed, 13 Apr 2022 12:24:46 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this small fix for JDK-8284642.  The fix was tested by running Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and Mach5 tiers 3-5 on Linux x64.  Additionally, the modified test and the test in the bug report were run locally.
> 
> Thanks, Harold

Marked as reviewed by stuefe (Reviewer).

I looked a little, and found no example on GH or Google which relied on MaxDirectMemorySize=0 to disable. I found some examples of the opposite, e.g. https://github.com/cloudfoundry/java-buildpack/issues/591. So this is fine I think.

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

PR: https://git.openjdk.java.net/jdk/pull/8222


More information about the core-libs-dev mailing list