RFR: 8284642: Unexpected behavior of -XX:MaxDirectMemorySize=0
Alan Bateman
alanb at openjdk.java.net
Wed Apr 13 14:15: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
If nothing else, I think the man page could be improved to say that JVM chooses the size for NIO direct-buffer allocations automatically when MaxDirectMemorySize is not set.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8222
More information about the nio-dev
mailing list