[webkit-reviews] review denied: [Bug 102717] Use traverseNextNode in gcTree : [Attachment 175050] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 19 16:31:36 PST 2012
Kentaro Hara <haraken at chromium.org> has denied Elliott Sprehn
<esprehn at chromium.org>'s request for review:
Bug 102717: Use traverseNextNode in gcTree
https://bugs.webkit.org/show_bug.cgi?id=102717
Attachment 175050: Patch
https://bugs.webkit.org/attachment.cgi?id=175050&action=review
------- Additional Comments from Kentaro Hara <haraken at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=175050&action=review
> Source/WebCore/bindings/v8/V8GCController.cpp:227
> + for (Node* node = startNode; node; node->traverseNextNode(startNode)) {
traverseNextNode() returns 0 when it reaches a root node, doesn't it? Here we
need to do the DOM traversal until the traversal gets back to startNode.
Adding a couple of branches will solve the problem. That being said, the number
of if instructions will be fewer in the current code than the code that uses
traverseNextNode() + some additional branches. (I don't know whether it is
really important for performance though.)
More information about the webkit-reviews
mailing list