[Webkit-unassigned] [Bug 16202] Optimize allocation of ActivationImp objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 2 05:04:23 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16202





------- Comment #6 from cwzwarich at uwaterloo.ca  2007-12-02 05:04 PDT -------
Created an attachment (id=17642)
 --> (http://bugs.webkit.org/attachment.cgi?id=17642&action=view)
Patch in progress

Here's an implementation of the basic idea. I used a Deque instead of a Vector,
because on resize a Vector will copy all of the deeper ActivationImps as well,
and those will have pointers into them from ExecStates further up the stack.
For this to actually be a performance gain we will have to implement a
segmented stack, but that will be easy once we get the mechanics right.

I didn't actually insert the calls to Interpreter::tearOffActivation()
everywhere, because I want to check a few more things. However, I uploaded it
now since I have a few other things to do today and Eric has been on my case to
upload something for a while. ;-)

No ChangeLog because it's clearly not meant for review.


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



More information about the webkit-unassigned mailing list