[Webkit-unassigned] [Bug 147998] Implement JSC watchdog support for tail calls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 16:15:28 PDT 2015


Mark Lam <mark.lam at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |benjamin at webkit.org,
                   |                            |fpizlo at apple.com,
                   |                            |ggaren at apple.com,
                   |                            |keith_miller at apple.com,
                   |                            |mmirman at apple.com,
                   |                            |msaboff at apple.com,
                   |                            |saambarati1 at gmail.com
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |mark.lam at apple.com
                   |kit.org                     |

--- Comment #1 from Mark Lam <mark.lam at apple.com> ---
I plan to implement this by having the watchdog timer simulate a stack overflow, and teaching the existing stack check slow path code in function prologues to discern between a stack overflow and a watchdog timer check request.

Unlike with stack overflows, the stack check slow path can return without throwing an exception.  This is because the watchdog timer firing only means that we need to check the watchdog's deadlines.  It doesn't necessarily mean that the watchdog fired.  We will only throw the TerminatedExecutionException if the watchdog deadlines have been reached.  Hence, I'll also have to teach the function prologues to not expect that the stack check slow path will throw unconditionally.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150813/ea61247d/attachment.html>

More information about the webkit-unassigned mailing list