On Tue, 6 May 2025 08:02:21 GMT, Christian Stein <cst...@openjdk.org> wrote:
> Please review this update to synchronize the extra help text for `-Xms` with > the description given in the manpage. > > Copied from the issue: >> The launcher help text for -Xms is wrong and should be updated to match the >> manpage description. The actual meaning of -Xms is that it sets both the >> initial and minimum Java heap size, not just the initial Java heap size. >> >> ```` >> $ java -X >> ... >> -Xms<size> set initial Java heap size >> ```` >> >> From the manpage: >> ```` >> `-Xms` *size* >> : Sets the minimum and the initial size (in bytes) of the heap. This value >> must be a multiple of 1024 and greater than 1 MB. Append the letter `k` >> or >> `K` to indicate kilobytes, `m` or `M` to indicate megabytes, or `g` or >> `G` >> to indicate gigabytes. The following examples show how to set the size of >> allocated memory to 6 MB using various units: >> ```` Looks good to me. ------------- Marked as reviewed by jlahoda (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/25058#pullrequestreview-2820511606