Hi Magnus,
On 28/04/2020 7:42 pm, Magnus Ihse Bursie wrote:
We should use the official -Xss argument[1] in command lines, instead of
the non-standard -XX:ThreadStackSize.
Bug: https://bugs.openjdk.java.net/browse/JDK-8243991
WebRev:
http://cr.openjdk.java.net/~ihse/JDK-8243991-fix-Xss-in-java-args/webrev.01
This isn't right. ThreadStackSize takes a value in KB, whereas -Xss is a
value in bytes. You won't be able to even start the VM with the values
you have specified.
Cheers,
David
/Magnus
[1]
https://docs.oracle.com/en/java/javase/14/docs/specs/man/java.html#extra-options-for-java