Sets the initial stack size for operating system threads.

You can use the -verbose:sizes option to find out the values that the VM is currently using.

If you exceed the maximum value, a java/lang/StackOverflowError message is reported.



See Using -X command-line options for more information about the <size> parameter.

Default setting

Default values vary by platform. See Default settings for the OpenJ9 VM.

See also