openj9-docs icon indicating copy to clipboard operation
openj9-docs copied to clipboard

Clarify overridden GC hint value for -Xms case

Open amicic opened this issue 10 months ago • 2 comments

From:

https://eclipse.dev/openj9/docs/xxusegcstartuphints/

When enabled, this option overrides any initial heap size that is specified on the command line, for example by using the [-Xms](https://eclipse.dev/openj9/docs/xms/) option.

Suggestion:

The overridden value can only be larger than either default or explicitly set -Xms value. So, the above sentence would benefit from something like:

When enabled, this option overrides any initial heap size that is specified on the command line, for example by using the [-Xms](https://eclipse.dev/openj9/docs/xms/) option, while still obeying (-Xms, -Xmx) limits.

amicic avatar Apr 11 '24 19:04 amicic

@amicic - By "while still obeying (-Xms, -Xmx) limits", do you mean that the new value should be greater than -Xms set value and lesser than -Xmx set value?

Sreekala-Gopakumar avatar May 10 '24 13:05 Sreekala-Gopakumar

@amicic - By "while still obeying (-Xms, -Xmx) limits", do you mean that the new value should be greater than -Xms set value and lesser than -Xmx set value?

Correct

amicic avatar May 13 '24 16:05 amicic