[Webkit-unassigned] [Bug 135358] Create a more generic way for VMEntryScope to notify those interested that it will be destroyed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 28 16:08:56 PDT 2014


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


Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #235630|                            |review?, commit-queue?
               Flag|                            |




--- Comment #1 from Saam Barati <sbarati at apple.com>  2014-07-28 16:09:08 PST ---
Created an attachment (id=235630)
 --> (https://bugs.webkit.org/attachment.cgi?id=235630&action=review)
patch 

Currently, when VMEntryScope is destroyed, and it has a flag set that the VM
needs recompilation, it calls Debugger::recompileAllJSFunctions. This is
tailored specifically for the Debugger and its purposes of recompiling all
functions once the VM stops executing code (specifically, to ensure that there are 
no functions on the stack that will be clobbered by recompiling them). This patch 
will substitute this one recompilation flag with a list of callbacks that are all 
notified when the VMEntryScope dies. This creates a more generalized interface to 
being notified when the VM stops executing code via the event of VMEntryScope
dying.

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