RFR: JDK-8243991 Use standard -Xss argument in java command line

David Holmes david.holmes at oracle.com
Tue Apr 28 10:17:40 UTC 2020


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 
> 



More information about the build-dev mailing list