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

Issue 2785423002: [wrapper-tracing] Emite write barrier upon associating a wrapper (Closed)

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

Description

[wrapper-tracing] Emite write barrier upon associating a wrapper Whenever we assign a reference that should be traced into V8 we need to emit a write barrier. We automatically emit write barriers for TraceWrapperv8Reference. However, we still use a regular (weak) Persistent in ScriptWrappable, so we need to emit the barrier there manually. A follow up should convert the reference in ScriptWrappable to TraceWrapperv8Reference. BUG=chromium:702490 Review-Url: https://codereview.chromium.org/2759243002 Cr-Commit-Position: refs/heads/master@{#458357} (cherry picked from commit a2011780ffefd6f9c120b80651015b3f6646244b) Review-Url: https://codereview.chromium.org/2785423002 . Cr-Commit-Position: refs/branch-heads/2987@{#900} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} Committed: https://chromium.googlesource.com/chromium/src/+/ba0f387f04ae5673c6360611fc1bb2bff9a73b24

Patch Set 1 : Cherry-pick breaking the build #

Patch Set 2 : Fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp View 3 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MutationCallback.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Michael Lippautz
PS1->PS2 shows the fix that is required to build on M57.
3 years, 8 months ago (2017-03-31 08:00:18 UTC) #2
Michael Lippautz
PS1->PS2 shows the fix that is required to build on M57.
3 years, 8 months ago (2017-03-31 08:00:18 UTC) #3
Michael Lippautz
Committed patchset #2 (id:20001) manually as ba0f387f04ae5673c6360611fc1bb2bff9a73b24.
3 years, 8 months ago (2017-03-31 08:10:17 UTC) #5
haraken
3 years, 8 months ago (2017-03-31 08:13:38 UTC) #6
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698