RFR: 8277531: Print actual default stacksize on Windows thread logging
David Holmes
dholmes at openjdk.java.net
Tue Nov 23 13:40:10 UTC 2021
On Mon, 22 Nov 2021 09:22:39 GMT, Takuya Kiriyama <duke at openjdk.java.net> wrote:
> I modified to log actual stack size on Windows by using `os::win32::default_stack_size()`.
> Could you please review this fix?
There are also issues if you combine -Xss with -XX:ThreadStackSize as the -Xss will be applied to the main thread by the launcher, but the ThreadStackSize will be applied to subsequent JavaThreads. But there is no way to tell that at present. This combination is treated as multiple occurrences of ThreadStackSize with last-option wins - except the launcher will already have only looked at -Xss.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6495
More information about the hotspot-runtime-dev
mailing list