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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 16:07:47 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=147998

            Bug ID: 147998
           Summary: Implement JSC watchdog support for tail calls
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

The existing JSC watchdog mechanism relies on the fact that no JS code can run for long before hitting a loop hint.  The only exception to that would be infinitely recursing code, but that would hit a stack overflow eventually and terminate.  With the support for tail calls added, we can now have a JS script hang by doing infinite recursion without every hitting a stack overflow.  We should teach the watchdog to handle this as well.

Fun!

-- 
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/1689d78f/attachment.html>


More information about the webkit-unassigned mailing list