[Webkit-unassigned] [Bug 41765] JavaScriptCore C API should have a notification mechanism to facilitate long-running scripts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 21 09:15:37 PDT 2012


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


Andy Wingo <wingo at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wingo at igalia.com




--- Comment #3 from Andy Wingo <wingo at igalia.com>  2012-03-21 09:15:37 PST ---
FWIW what V8 does is to insert stack-bounds checks at function calls and backwards branches.   The stack limit is read from the heap.  If the stack pointer is beyond the limit, the code executes some trap handler.  The code is in a known safe place, suitable to throw exceptions or do OSR.  Timeouts and asynchronous interrupts set various state flags, then reset the stack limit so that the next limit check invokes the handler.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list