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

Issue 1397063002: [runtime] Fancify KeyAccumulator (Closed)

Created:
5 years, 2 months ago by Camillo Bruni
Modified:
5 years, 2 months ago
Reviewers:
Igor Sheludko
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

[runtime] Fancify KeyAccumulator Separately collect element keys from property keys to avoid slow corner-cases. Partly deal with keys generated by Proxies. BUG=chromium:536790 LOG=N Committed: https://crrev.com/df8970a8c735014763454b4a6b8b25a19c742544 Cr-Commit-Position: refs/heads/master@{#31378}

Patch Set 1 #

Patch Set 2 : documentation + cleanup #

Total comments: 1

Patch Set 3 : adding property filtering to elements accessor #

Total comments: 2

Patch Set 4 : fixing bug with holey arrays which are not holey elements kind #

Patch Set 5 : adding KeyAccumulator destructor #

Total comments: 11

Patch Set 6 : do not auto-convert to strings #

Patch Set 7 : Cleaning up #

Total comments: 6

Patch Set 8 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+469 lines, -217 lines) Patch
M src/elements.h View 1 2 3 4 5 6 7 5 chunks +42 lines, -16 lines 0 comments Download
M src/elements.cc View 1 2 3 4 5 6 9 chunks +89 lines, -25 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 6 chunks +60 lines, -14 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 14 chunks +221 lines, -129 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 2 chunks +4 lines, -5 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 4 5 6 1 chunk +3 lines, -28 lines 0 comments Download
M test/mjsunit/third_party/object-keys/object-keys.js View 1 2 3 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
Camillo Bruni
PTAL I still have a memory issue (as indicated by the comment). Besides some obvious ...
5 years, 2 months ago (2015-10-13 13:49:26 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397063002/100001
5 years, 2 months ago (2015-10-15 09:46:31 UTC) #4
Igor Sheludko
https://codereview.chromium.org/1397063002/diff/80001/src/elements.h File src/elements.h (right): https://codereview.chromium.org/1397063002/diff/80001/src/elements.h#newcode36 src/elements.h:36: PropertyAttributes filter = NONE) = 0; Please add a ...
5 years, 2 months ago (2015-10-15 09:51:44 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-15 10:09:04 UTC) #7
Camillo Bruni
https://codereview.chromium.org/1397063002/diff/80001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1397063002/diff/80001/src/objects.cc#newcode14123 src/objects.cc:14123: uint32_t length = accessor->GetCapacity(*object, object->elements()); On 2015/10/15 at 09:51:43, ...
5 years, 2 months ago (2015-10-16 09:38:02 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397063002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397063002/120001
5 years, 2 months ago (2015-10-16 12:02:21 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-16 13:28:21 UTC) #12
Camillo Bruni
PTAL again. Thanks for the detailed review.
5 years, 2 months ago (2015-10-16 13:47:36 UTC) #13
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/1397063002/diff/120001/src/elements.h File src/elements.h (right): https://codereview.chromium.org/1397063002/diff/120001/src/elements.h#newcode201 src/elements.h:201: virtual uint32_t GetCapacity(JSObject* holder, Spurious change. ...
5 years, 2 months ago (2015-10-19 13:11:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397063002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397063002/140001
5 years, 2 months ago (2015-10-19 13:23:34 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 2 months ago (2015-10-19 13:47:28 UTC) #20
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 13:47:48 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/df8970a8c735014763454b4a6b8b25a19c742544
Cr-Commit-Position: refs/heads/master@{#31378}

Powered by Google App Engine
This is Rietveld 408576698