On Thu, 16 Oct 2025 15:28:37 GMT, Severin Gehwolf <[email protected]> wrote:

> Please amend the comment on line 114 to something like this:
> 
> ```
>         // Check whether swapping really works for this test
>         // On some systems there is no swap space enabled. And running
>         // 'java -Xms{mem-limit} -Xmx{mem-limit} -XX:+AlwaysPreTouch -version'
>         // would fail due to swap space size being 0. Note that when swap is
>         // properly enabled on the system the container gets the same amount
>         // of swap as is configured for memory. Thus, 2x{mem-limit} is the 
> actual
>         // memory and swap bound for this pre-test.
> ```

Thanks for the suggestions. The Comment has been updated.

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

PR Comment: https://git.openjdk.org/jdk/pull/27823#issuecomment-3420271458

Reply via email to