RESOLVED WONTFIX 29330
[v8] Don't keep clean wrappers artificially alive
https://bugs.webkit.org/show_bug.cgi?id=29330
Summary [v8] Don't keep clean wrappers artificially alive
Christian Plesner Hansen
Reported 2009-09-17 01:57:13 PDT
We currently keep all DOM node wrappers alive, even when there are no more references to them from JS, in case they have properties that we need to keep around if new JS references are created. This changes the policy to only keep wrappers artificially alive if they have changed since they were created. Empty wrappers are discarded and recreated as needed.
Attachments
initial (1.66 KB, patch)
2009-09-17 02:01 PDT, Christian Plesner Hansen
no flags
Christian Plesner Hansen
Comment 1 2009-09-17 02:01:26 PDT
Created attachment 39686 [details] initial
Christian Plesner Hansen
Comment 2 2009-09-17 02:04:23 PDT
Important note: this change can not be committed until v8 has been updated in chromium. Should I wait until then to get this reviewed?
Adam Barth
Comment 3 2009-09-17 02:42:10 PDT
Comment on attachment 39686 [details] initial Super cool change. Feel free to ping this bug when you want it landed. You can also set the commit-queue flag to ? if you'd like the commit bot to land the patch.
Christian Plesner Hansen
Comment 4 2009-09-17 02:55:36 PDT
Thanks, that was quick! So if I set the commit flag to ? someone with the right permissions will notice and set it to +?
Adam Barth
Comment 5 2009-09-17 09:24:12 PDT
(In reply to comment #4) > Thanks, that was quick! Well, the patch is obviously correct by magic (because all the hard work is going on in V8). :) > So if I set the commit flag to ? someone with the right permissions will notice > and set it to +? Yes. I've CC'ed Eric explicitly because he's good at setting the commit-queue flag.
Eric Seidel (no email)
Comment 6 2009-09-17 09:34:02 PDT
(In reply to comment #5) > Yes. I've CC'ed Eric explicitly because he's good at setting the commit-queue > flag. Huh?
Adam Barth
Comment 7 2009-09-17 09:57:00 PDT
> Huh? Meaning if you see an email with commit-queue?, you're likely to go to the bug and set commit-queue+. :)
Eric Seidel (no email)
Comment 8 2009-09-18 13:28:25 PDT
(In reply to comment #7) > > Huh? > > Meaning if you see an email with commit-queue?, you're likely to go to the bug > and set commit-queue+. :) Except here it's set to cq-...
Adam Barth
Comment 9 2009-09-18 22:45:37 PDT
(In reply to comment #8) > Except here it's set to cq-... See comment #2. :)
WebKit Commit Bot
Comment 10 2009-09-22 07:54:41 PDT
Comment on attachment 39686 [details] initial Rejecting patch 39686 from commit-queue. Failed to run "['git', 'svn', 'dcommit']" exit_code: 1 Committing to http://svn.webkit.org/repository/webkit/trunk ... Merge conflict during commit: Your file or directory 'WebCore/ChangeLog' is probably out-of-date: resource out of date; try updating at /usr/local/libexec/git-core//git-svn line 469
Adam Barth
Comment 11 2009-09-22 07:59:35 PDT
Comment on attachment 39686 [details] initial I don't think the commit queue should reject patches when it gets that error.
Eric Seidel (no email)
Comment 12 2009-09-22 09:55:30 PDT
(In reply to comment #11) > (From update of attachment 39686 [details]) > I don't think the commit queue should reject patches when it gets that error. I totally agree! bug 28316. I'll see if I can post a patch to fix it today. :(
Eric Seidel (no email)
Comment 13 2009-09-22 09:56:14 PDT
Builders have been red for the last while: http://webkit-commit-queue.appspot.com/ But once they go green again this will land.
WebKit Commit Bot
Comment 14 2009-09-22 10:26:40 PDT
Comment on attachment 39686 [details] initial Clearing flags on attachment: 39686 Committed r48639: <http://trac.webkit.org/changeset/48639>
WebKit Commit Bot
Comment 15 2009-09-22 10:26:48 PDT
All reviewed patches have been landed. Closing bug.
Dimitri Glazkov (Google)
Comment 16 2009-09-22 16:38:29 PDT
This patch seems to have introduced all kinds of weird, seemingly random layout test failures. I am rolling this out until we hash this out.
Dimitri Glazkov (Google)
Comment 17 2009-09-22 16:49:21 PDT
Rolled out in http://trac.webkit.org/changeset/48657. Awesome scripting, Eric!
Anders Carlsson
Comment 18 2013-09-12 22:21:28 PDT
V8 is gone.
Note You need to log in before you can comment on or make changes to this bug.