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

Issue 2698813004: [SAB] Move Atomics builtins to C++ (Closed)

Created:
3 years, 10 months ago by Dan Ehrenberg
Modified:
3 years, 9 months ago
Reviewers:
binji
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[SAB] Move Atomics builtins to C++ This patch refactors the Atomics builtins so that they are implemented as C++ builtins rather than experimental JS builtins. Previously, each of these functions called out to a runtime function, so no significant change in performance is anticipated. The goal of this patch is to remove the last user of experimental JS builtins so that the mechanism can be removed, for performance reasons. The patch includes a drive-by fix of a check-fail. For the most part, the patch is just moving code without modification from runtime-atomics.cc to builtins-sharedarraybuffer.cc . BUG=v8:5880 Review-Url: https://codereview.chromium.org/2698813004 Cr-Commit-Position: refs/heads/master@{#43335} Committed: https://chromium.googlesource.com/v8/v8/+/2b9840d86f3b51f42918b6bf1a06ff8b62b2464d

Patch Set 1 #

Patch Set 2 : Staring to port atomics to C++ #

Patch Set 3 : Fully working version #

Patch Set 4 : Remove irrelevant comment #

Patch Set 5 : Refer to infinity properly #

Patch Set 6 : Fix a final wait parameter bug #

Patch Set 7 : Clean up conversions #

Total comments: 6

Patch Set 8 : Fix naming convention #

Patch Set 9 : Complete renaming #

Patch Set 10 : [SAB] Remove unreachable Uint8Clamped atomics paths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -63 lines) Patch
M src/builtins/builtins-sharedarraybuffer.cc View 1 2 3 4 5 6 7 8 9 8 chunks +7 lines, -63 lines 0 comments Download

Messages

Total messages: 43 (33 generated)
Dan Ehrenberg
3 years, 10 months ago (2017-02-17 09:16:15 UTC) #20
binji
lgtm, thanks for doing this! https://codereview.chromium.org/2698813004/diff/110001/src/builtins/builtins-sharedarraybuffer.cc File src/builtins/builtins-sharedarraybuffer.cc (right): https://codereview.chromium.org/2698813004/diff/110001/src/builtins/builtins-sharedarraybuffer.cc#newcode290 src/builtins/builtins-sharedarraybuffer.cc:290: Isolate* isolate, Handle<Object> object, ...
3 years, 10 months ago (2017-02-17 19:44:41 UTC) #23
Dan Ehrenberg
https://codereview.chromium.org/2698813004/diff/110001/src/builtins/builtins-sharedarraybuffer.cc File src/builtins/builtins-sharedarraybuffer.cc (right): https://codereview.chromium.org/2698813004/diff/110001/src/builtins/builtins-sharedarraybuffer.cc#newcode290 src/builtins/builtins-sharedarraybuffer.cc:290: Isolate* isolate, Handle<Object> object, bool onlyInt32 = false) { ...
3 years, 10 months ago (2017-02-20 21:34:21 UTC) #26
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/2698813004/150001
3 years, 10 months ago (2017-02-20 22:07:14 UTC) #35
commit-bot: I haz the power
Committed patchset #9 (id:150001) as https://chromium.googlesource.com/v8/v8/+/2b9840d86f3b51f42918b6bf1a06ff8b62b2464d
3 years, 10 months ago (2017-02-20 22:08:59 UTC) #38
Yang
On 2017/02/20 22:08:59, commit-bot: I haz the power wrote: > Committed patchset #9 (id:150001) as ...
3 years, 10 months ago (2017-02-21 07:22:28 UTC) #39
Michael Hablich
A revert of this CL (patchset #10 id:170001) has been created in https://codereview.chromium.org/2716253003/ by hablich@chromium.org. ...
3 years, 9 months ago (2017-02-27 18:54:47 UTC) #40
Michael Hablich
On 2017/02/27 at 18:54:47, Michael Hablich wrote: > A revert of this CL (patchset #10 ...
3 years, 9 months ago (2017-02-27 19:09:36 UTC) #41
Dan Ehrenberg
On 2017/02/27 19:09:36, Michael Hablich wrote: > On 2017/02/27 at 18:54:47, Michael Hablich wrote: > ...
3 years, 9 months ago (2017-02-27 19:14:13 UTC) #42
binji
3 years, 9 months ago (2017-02-27 20:28:32 UTC) #43
Message was sent while issue was closed.
On 2017/02/27 19:14:13, Dan Ehrenberg wrote:
> On 2017/02/27 19:09:36, Michael Hablich wrote:
> > On 2017/02/27 at 18:54:47, Michael Hablich wrote:
> > > A revert of this CL (patchset #10 id:170001) has been created in
> > https://codereview.chromium.org/2716253003/ by mailto:hablich@chromium.org.
> > > 
> > > The reason for reverting is: Seems to the culprit in
> > > BUG=chromium:695653.
> > 
> > The revert does not apply cleanly. Would be great if somebody could take
care
> of
> > this :-).
> 
> I'll take care of this in a few hours if binji doesn't get to it first. Sorry
> about the regression.

I'm working on a revert now.

Powered by Google App Engine
This is Rietveld 408576698