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

Thomas Stuefe stuefe at openjdk.java.net
Wed Apr 13 12:50:18 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

How long exactly has this been broken? I'd be worried about use cases where people use MaxDirectMemorySize=0 to prevent usage of direct memory altogether.

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

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


More information about the core-libs-dev mailing list