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

Issue 2185963002: [api] Add v8::Object::SetAlignedPointerInInternalFields (Closed)

Created:
4 years, 4 months ago by Camillo Bruni
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[api] Add v8::Object::SetAlignedPointerInInternalFields This new API function allows for setting several internal fields at once. By avoiding crossing the API each time for setting an internal property we can speed up the wrapper creation which has to set two fields for every new object. BUG=chromium:630217 Committed: https://crrev.com/ce49c329735530d66bb98cb13b4a8f5b1f48500f Cr-Commit-Position: refs/heads/master@{#38299}

Patch Set 1 #

Patch Set 2 : remove debug function #

Patch Set 3 : fixing typo #

Total comments: 1

Patch Set 4 : adding missing parenthesis (programming so hard) #

Patch Set 5 : adding fast paths #

Total comments: 2

Patch Set 6 : reverting inlineable fast-path #

Patch Set 7 : removing inlined helper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -3 lines) Patch
M include/v8.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M src/api.cc View 1 2 3 4 5 2 chunks +18 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 3 2 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 23 (11 generated)
Camillo Bruni
PTAL
4 years, 4 months ago (2016-07-27 11:23:58 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2185963002/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2185963002/diff/40001/include/v8.h#newcode2896 include/v8.h:2896: void* values[]); can we inline the body in the ...
4 years, 4 months ago (2016-07-27 11:37:56 UTC) #3
Camillo Bruni
On 2016/07/27 at 11:37:56, jochen wrote: > https://codereview.chromium.org/2185963002/diff/40001/include/v8.h > File include/v8.h (right): > > https://codereview.chromium.org/2185963002/diff/40001/include/v8.h#newcode2896 ...
4 years, 4 months ago (2016-07-27 12:07:04 UTC) #4
jochen (gone - plz use gerrit)
On 2016/07/27 at 12:07:04, cbruni wrote: > On 2016/07/27 at 11:37:56, jochen wrote: > > ...
4 years, 4 months ago (2016-07-27 12:19:48 UTC) #5
Camillo Bruni
PTAL again I can see a positive impact if I squint my eyes real hard.
4 years, 4 months ago (2016-07-27 15:31:47 UTC) #10
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-07-29 09:47:45 UTC) #11
Michael Starzinger
https://codereview.chromium.org/2185963002/diff/80001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2185963002/diff/80001/include/v8.h#newcode8263 include/v8.h:8263: I::WriteField(object, offset, value); Isn't this missing a return? Otherwise ...
4 years, 4 months ago (2016-07-29 09:50:53 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/2185963002/120001
4 years, 4 months ago (2016-08-03 13:30:36 UTC) #16
commit-bot: I haz the power
CQ cannot get SignCLA result. Please try later.
4 years, 4 months ago (2016-08-03 13:30:48 UTC) #18
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/2185963002/120001
4 years, 4 months ago (2016-08-03 13:51:58 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-03 14:38:44 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 14:39:47 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ce49c329735530d66bb98cb13b4a8f5b1f48500f
Cr-Commit-Position: refs/heads/master@{#38299}

Powered by Google App Engine
This is Rietveld 408576698