RESOLVED FIXED 100208
[V8] ActiveDOMObjectEpilogueVisitor is unnecessary and can be deleted
https://bugs.webkit.org/show_bug.cgi?id=100208
Summary [V8] ActiveDOMObjectEpilogueVisitor is unnecessary and can be deleted
Adam Barth
Reported 2012-10-24 00:04:49 PDT
[V8] ActiveDOMObjectEpilogueVisitor is unnecessary and can be deleted
Attachments
Patch (7.55 KB, patch)
2012-10-24 00:09 PDT, Adam Barth
no flags
Patch (7.55 KB, patch)
2012-10-24 09:29 PDT, Adam Barth
no flags
patch---now builds :) (7.49 KB, patch)
2012-10-24 10:54 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2012-10-24 00:09:18 PDT
Kentaro Hara
Comment 2 2012-10-24 00:13:57 PDT
Comment on attachment 170332 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=170332&action=review > Source/WebCore/ChangeLog:10 > + ActiveDOMObjects during every GC, this patch puts all the > + ActiveDOMObjects with pending activity into an object group with a live Great idea. > Source/WebCore/bindings/v8/V8GCController.cpp:-125 > - if (V8MessagePort::info.equals(typeInfo)) { > - // We marked this port as reachable in ActiveDOMObjectPrologueVisitor. > - // Undo this now since the port could be not reachable in the future > - // if it gets disentangled (and also ActiveDOMObjectPrologueVisitor > - // expects to see all handles marked as weak). > - MessagePort* port = reinterpret_cast<MessagePort*>(object); > - if ((!wrapper.IsWeak() && !wrapper.IsNearDeath()) || port->hasPendingActivity()) > - wrapper.MakeWeak(port, m_callback); > - return; > - } Don't you need to do something for MessagePort in the new code?
Peter Beverloo (cr-android ews)
Comment 3 2012-10-24 00:22:54 PDT
Comment on attachment 170332 [details] Patch Attachment 170332 [details] did not pass cr-android-ews (chromium-android): Output: http://queues.webkit.org/results/14553096
WebKit Review Bot
Comment 4 2012-10-24 01:10:35 PDT
Comment on attachment 170332 [details] Patch Attachment 170332 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14548138
Adam Barth
Comment 5 2012-10-24 08:36:24 PDT
Comment on attachment 170332 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=170332&action=review >> Source/WebCore/bindings/v8/V8GCController.cpp:-125 >> - } > > Don't you need to do something for MessagePort in the new code? Yes, the message ports are handled on line 99.
Adam Barth
Comment 6 2012-10-24 08:36:42 PDT
Comment on attachment 170332 [details] Patch /me needs to make this compile.
Adam Barth
Comment 7 2012-10-24 09:29:54 PDT
Adam Barth
Comment 8 2012-10-24 10:54:15 PDT
Created attachment 170429 [details] patch---now builds :)
Eric Seidel (no email)
Comment 9 2012-10-24 12:54:12 PDT
Comment on attachment 170429 [details] patch---now builds :) Looks reasonable. Same story, you'll probably want Kentaro to look.
Adam Barth
Comment 10 2012-10-24 13:11:54 PDT
Comment on attachment 170429 [details] patch---now builds :) Based on Comment #2, I think Kentaro is happy. Thanks for the review.
Adam Barth
Comment 11 2012-10-24 14:02:10 PDT
Comment on attachment 170429 [details] patch---now builds :) Clearing flags on attachment: 170429 Committed r132397: <http://trac.webkit.org/changeset/132397>
Adam Barth
Comment 12 2012-10-24 14:02:14 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.