RFR: 8242209: Increase web native thread stack size for x86 mode

Guru Hb ghb at openjdk.java.net
Fri Apr 10 16:08:45 UTC 2020


On Mon, 6 Apr 2020 11:57:54 GMT, Arun Joseph <ajoseph at openjdk.org> wrote:

> CLoop interpreter used in 32-bit Windows uses 87 KB of stack space each time CLoop::execute() is called. For web native
> threads which has a default stack size of 320 KB, a Stack Overflow Error is raised just after two calls to execute()
> function. While 64-bit windows has a default stack size of 1 MB.  Fix: Increase the thread stack size of web native
> threads for x86 to 1 MB.

Looks good to me, Tested on Windows with test case added in JBS.

-------------

Marked as reviewed by ghb (Reviewer).

PR: https://git.openjdk.java.net/jfx/pull/159


More information about the openjfx-dev mailing list