[Webkit-unassigned] [Bug 52075] Don't assert when trying to recompile JS while executing JS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 7 21:59:55 PST 2011


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


Gavin Barraclough <barraclough at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78259|review?                     |review-
               Flag|                            |




--- Comment #3 from Gavin Barraclough <barraclough at apple.com>  2011-01-07 21:59:55 PST ---
(From update of attachment 78259)
This won't work.  If you do this, then you'll end up throwing away the code for functions that are live one the stack.  The code buffer may be reused and overwritten, and then we may may a return back into that address range expecting the old code to be there.

Right now we can only handle throwing away code if the machine stack is empty, WebCore does need to ensure that it only calls this method whilst no JavaScript execution is taking place.

-- 
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