[Webkit-unassigned] [Bug 195439] [PlayStation] Increase the default pthread stack size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 7 17:51:13 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=195439
--- Comment #6 from Mark Lam <mark.lam at apple.com> ---
(In reply to Mark Lam from comment #5)
> (In reply to Don Olmstead from comment #4)
> > (In reply to Mark Lam from comment #3)
> > > Comment on attachment 363951 [details]
> > > patch
> > >
> > > LGTM but someone with PlayStation knowledge should also review to confirm if
> > > 512K is a reasonable stack size to use.
> >
> > I'm fine with the change. The thing I'm wondering is whether it would be
> > good for WebKit to have a thread's stack size be more configurable in
> > general during creation.
>
> See Options::maxPerThreadStackUsage(). For tests, we explicitly set this
> option to a smaller amount do that tests that overflow the stack can finish
> faster.
>
> However, this option is at the JSC level, not WTF. Actual allowed stack
> capacity is computed as min of Options::maxPerThreadStackUsage() and
> capacity reported by StackBounds.
Note: it's done this way because we can't always control what the OS allocates for stack capacity. We just make sure that we don't use more than either limits.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190308/e8d71232/attachment-0001.html>
More information about the webkit-unassigned
mailing list