[Webkit-unassigned] [Bug 173975] WTF::Thread should have the threads stack bounds.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 30 02:36:25 PDT 2017


Yusuke Suzuki <utatane.tea at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |utatane.tea at gmail.com

--- Comment #1 from Yusuke Suzuki <utatane.tea at gmail.com> ---
(In reply to Keith Miller from comment #0)
> There are a number of places in JSC that try to walk another threads stack.
> Currently, the stack bounds are stored on ThreadData but that's in TLS so
> other threads cannot see it. Right now we get the stack bounds by iterating
> the MachineThreads looking for our target thread then getting it's stack
> bounds. We should just put the stack bounds on the Thread.

Sounds nice.

I think we put StackBounds in WTFThreadData because of https://bugs.webkit.org/show_bug.cgi?id=102411.
However, right now, we use Fiber Local Storage (FLS) to store TLS data in ThreadSpeific.
Thus, I think the above bug is already fixed: Each fiber can use their own FLS. Fibers do not use TLS in Windows right now instead of FLS.

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/20170630/9ac779bb/attachment.html>

More information about the webkit-unassigned mailing list