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

Issue 2651923002: [wrapper-tracing] Snapshot: Avoid adding non-Node wrappers to groups (Closed)

Created:
3 years, 11 months ago by Michael Lippautz
Modified:
3 years, 11 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Snapshot: Avoid adding non-Node wrappers to groups Tests currently rely on the fact that only Nodes are part of retainer groups. Code paths will only be exercised once https://codereview.chromium.org/2627033002/ on the V8 side lands. BUG=chromium:679724 NOTRY=true Review-Url: https://codereview.chromium.org/2651923002 Cr-Commit-Position: refs/heads/master@{#445694} Committed: https://chromium.googlesource.com/chromium/src/+/166ffeb0e2f6c7175f1e0988d145d57c30406e0f

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp View 1 2 chunks +11 lines, -4 lines 1 comment Download

Messages

Total messages: 16 (10 generated)
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-24 10:12:05 UTC) #3
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/2651923002/20001
3 years, 11 months ago (2017-01-24 10:37:33 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/166ffeb0e2f6c7175f1e0988d145d57c30406e0f
3 years, 11 months ago (2017-01-24 10:41:53 UTC) #12
haraken
LGTM. > Tests currently rely on the fact that only Nodes are part of retainer ...
3 years, 11 months ago (2017-01-24 21:04:58 UTC) #14
Michael Lippautz
On 2017/01/24 21:04:58, haraken wrote: > LGTM. > > > Tests currently rely on the ...
3 years, 11 months ago (2017-01-24 21:45:13 UTC) #15
haraken
3 years, 11 months ago (2017-01-24 21:47:51 UTC) #16
Message was sent while issue was closed.
On 2017/01/24 21:45:13, Michael Lippautz wrote:
> On 2017/01/24 21:04:58, haraken wrote:
> > LGTM.
> > 
> > > Tests currently rely on the fact that only Nodes are part of retainer
> > groups.
> > 
> > I'd say that the test should be updated though. Conceptually it should be
> better
> > if we could list up all reachable wrappers, not limited to Nodes.
> > 
> 
> Totally agree!
> 
> I pushed the related changes now through for several reasons
> - The port is complete, meaning that we are unblocked from removing object
> grouping code from blink. I will prepare further CLs in the following days.
> - With the port being complete, we can now change the behavior on the blink
side
> including the tests, without modifying any V8 code (unless I am somehow
> mistaken). I think this makes introducing changes a lot easier as you can
avoid
> the API dance.
> - We might have an API freeze rather soon to allow launching some other V8
> features. I wanted to be sure that the profiler changes are all landed.
> 
> Additionally, I might no be the right person on deciding what semantics we
> should have in the snapshot profiler :)
> 
> >
>
https://codereview.chromium.org/2651923002/diff/20001/third_party/WebKit/Sour...
> > File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right):
> > 
> >
>
https://codereview.chromium.org/2651923002/diff/20001/third_party/WebKit/Sour...
> > third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:209:
> > findV8WrappersDirectlyReachableFrom(node);
> > 
> > Now, isn't it useless to call findV8WrappersDirectlyReachableFrom?
> 
> It still collects edge information which is used by the profiler. E.g.
> EventListeners that are attached to a DOM node.

Thanks, makes sense.

Powered by Google App Engine
This is Rietveld 408576698