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: >> ```` This pull request has now been integrated. Changeset: 910d77d3 Author: Christian Stein <cst...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/910d77d39e6fb9ca339272c75fa4ff7ff99bffcf Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8354260: Launcher help text is wrong for -Xms Reviewed-by: jsikstro, jlahoda ------------- PR: https://git.openjdk.org/jdk/pull/25058