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

Issue 2564153002: [wrapper-tracing] Remove unnecessary barrier (Closed)

Created:
4 years ago by Michael Lippautz
Modified:
4 years ago
Reviewers:
haraken, hlopko
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Remove unnecessary barrier We don't require a write barrier here as TraceWrapperMember is used for the following scenarios: - Initial initialization: The write barrier will not fire as the parent is initially white. - Wrapping when inserting into a container: The write barrier will fire upon establishing the move into the container. - Assignment to a field: The regular assignment operator will fire the write barrier. Note that support for black allocation would require a barrier here. BUG=chromium:468240 Committed: https://crrev.com/8882ee9c09cbd64e21382197d4116a4a57d77394 Cr-Commit-Position: refs/heads/master@{#437870}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h View 1 chunk +9 lines, -1 line 4 comments Download

Depends on Patchset:

Messages

Total messages: 20 (10 generated)
Michael Lippautz
PTAL After the actual fix in http://crrev.com/2567463003 we issue too many unnecessary barriers, resulting in ...
4 years ago (2016-12-09 20:25:24 UTC) #3
haraken
https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h File third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h (right): https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h#newcode34 third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h:34: // is initially white. To guarantee this fact, you ...
4 years ago (2016-12-12 01:02:07 UTC) #8
Michael Lippautz
https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h File third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h (right): https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h#newcode34 third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h:34: // is initially white. On 2016/12/12 01:02:07, haraken wrote: ...
4 years ago (2016-12-12 08:18:57 UTC) #9
haraken
On 2016/12/12 08:18:57, Michael Lippautz wrote: > https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h > File third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h (right): > > https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h#newcode34 ...
4 years ago (2016-12-12 08:43:39 UTC) #10
haraken
https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h File third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h (right): https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h#newcode39 third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h:39: // Note that support for black allocation would require ...
4 years ago (2016-12-12 08:44:13 UTC) #11
Michael Lippautz
https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h File third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h (right): https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h#newcode39 third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h:39: // Note that support for black allocation would require ...
4 years ago (2016-12-12 11:42:27 UTC) #12
haraken
On 2016/12/12 11:42:27, Michael Lippautz wrote: > https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h > File third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h (right): > > https://codereview.chromium.org/2564153002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperMember.h#newcode39 ...
4 years ago (2016-12-12 11:44:02 UTC) #13
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/2564153002/1
4 years ago (2016-12-12 12:39:52 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-12 14:42:14 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-12 15:12:13 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8882ee9c09cbd64e21382197d4116a4a57d77394
Cr-Commit-Position: refs/heads/master@{#437870}

Powered by Google App Engine
This is Rietveld 408576698