Bug 1703201 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

For JS helper threads, it uses 2MB as the stack size
https://searchfox.org/mozilla-central/rev/d7e344e956d9da2808ea33e1fe0f963ed10c142d/js/src/vm/HelperThreads.cpp#481

And TaskController now uses only 512KB
https://searchfox.org/mozilla-central/rev/d7e344e956d9da2808ea33e1fe0f963ed10c142d/xpcom/threads/TaskController.cpp#161

Once we start to dispatching JS tasks to TaskController, we should consider to enlarge the stack size.
For JS helper threads, it uses 2MB as the stack size
https://searchfox.org/mozilla-central/rev/d7e344e956d9da2808ea33e1fe0f963ed10c142d/js/src/vm/HelperThreads.cpp#481
(This is done in https://hg.mozilla.org/mozilla-central/rev/d8df66c4a407)

And TaskController now uses only 512KB
https://searchfox.org/mozilla-central/rev/d7e344e956d9da2808ea33e1fe0f963ed10c142d/xpcom/threads/TaskController.cpp#161

Once we start dispatching JS tasks to TaskController, we should consider enlarging the stack size for JS tasks.

Back to Bug 1703201 Comment 0