Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Issue 2809183003: [wrapper-tracing] Fix node list leak (Closed)

Created:
3 years, 8 months ago by Michael Lippautz
Modified:
3 years, 8 months ago
Reviewers:
haraken, keishi, sof
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Fix node list leak Only trace node lists that hang of live nodes. BUG=chromium:707544 Review-Url: https://codereview.chromium.org/2809183003 Cr-Commit-Position: refs/heads/master@{#463986} Committed: https://chromium.googlesource.com/chromium/src/+/76798dbd04a30a8e1acdf71ecab93d09dac4ec5b

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -11 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 1 chunk +3 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/dom/NodeListsNodeData.h View 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/NodeListsNodeData.cpp View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
Michael Lippautz
ptal I think we should only trace the lists hanging of live nodes (and their ...
3 years, 8 months ago (2017-04-11 16:33:17 UTC) #4
keishi
Looks good. I think wrapper tracing WeakMembers is bad but in this case it makes ...
3 years, 8 months ago (2017-04-12 02:15:49 UTC) #7
haraken
LGTM
3 years, 8 months ago (2017-04-12 02:28:39 UTC) #8
sof
lgtm https://codereview.chromium.org/2809183003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (left): https://codereview.chromium.org/2809183003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#oldcode6636 third_party/WebKit/Source/core/dom/Document.cpp:6636: visitor->TraceWrappers(style_engine_); Add a comment saying why/where node_lists_ are ...
3 years, 8 months ago (2017-04-12 06:51:50 UTC) #10
Michael Lippautz
Thanks a lot everyone! https://codereview.chromium.org/2809183003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (left): https://codereview.chromium.org/2809183003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#oldcode6636 third_party/WebKit/Source/core/dom/Document.cpp:6636: visitor->TraceWrappers(style_engine_); On 2017/04/12 06:51:50, sof ...
3 years, 8 months ago (2017-04-12 08:06:33 UTC) #11
Michael Lippautz
Thanks a lot everyone! https://codereview.chromium.org/2809183003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (left): https://codereview.chromium.org/2809183003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#oldcode6636 third_party/WebKit/Source/core/dom/Document.cpp:6636: visitor->TraceWrappers(style_engine_); On 2017/04/12 06:51:50, sof ...
3 years, 8 months ago (2017-04-12 08:06:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2809183003/20001
3 years, 8 months ago (2017-04-12 08:07:07 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/347899)
3 years, 8 months ago (2017-04-12 09:38:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2809183003/20001
3 years, 8 months ago (2017-04-12 09:43:40 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 10:40:52 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/76798dbd04a30a8e1acdf71ecab9...

Powered by Google App Engine
This is Rietveld 408576698