RFR: 8284642: Unexpected behavior of -XX:MaxDirectMemorySize=0 [v2]

David Holmes dholmes at openjdk.java.net
Sat Apr 23 05:46:25 UTC 2022


On Fri, 22 Apr 2022 18:14:27 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
>
> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
> 
>   restore source, fix man page

I didn't realize that text was from the manpage. It is fine but I think we also need something in globals.hpp:


 product(uint64_t, MaxDirectMemorySize, 0,                                 \
          "Maximum total size of NIO direct-buffer allocations. "        \
          "Ignored if not explicitly set.")
          range(0, max_jlong)                                               \

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

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


More information about the nio-dev mailing list