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

Issue 1409073005: [runtime] use std::vector in KeyAccumulator (Closed)

Created:
5 years, 2 months ago by Camillo Bruni
Modified:
5 years, 1 month ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Project:
v8
Visibility:
Public.

Description

[runtime] Use std::vector in KeyAccumulator LOG=N BUG=chromium:545503 Committed: https://crrev.com/c043a7eee13e7a41574706f79325dc3cc14d26c9 Cr-Commit-Position: refs/heads/master@{#31557}

Patch Set 1 #

Patch Set 2 : do sign please #

Patch Set 3 : only check all levels when adding elements from iterceptors #

Total comments: 11

Patch Set 4 : #

Patch Set 5 : fix cctest + direct sorting of indexed interceptor properties #

Patch Set 6 : print statements #

Patch Set 7 : fix spare arrays #

Patch Set 8 : sparse array keys fix 2 #

Total comments: 2

Patch Set 9 : nits #

Patch Set 10 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -56 lines) Patch
M src/objects.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -5 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 chunks +40 lines, -41 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M test/cctest/test-api-interceptors.cc View 1 2 3 4 5 6 1 chunk +7 lines, -9 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409073005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409073005/1
5 years, 2 months ago (2015-10-21 15:45:45 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel/builds/10898)
5 years, 2 months ago (2015-10-21 15:51:56 UTC) #4
Camillo Bruni
PTAL
5 years, 2 months ago (2015-10-22 11:16:57 UTC) #6
Igor Sheludko
https://codereview.chromium.org/1409073005/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1409073005/diff/40001/src/objects.cc#newcode7505 src/objects.cc:7505: for (uint32_t i = 0; i < elements_.size(); i++) ...
5 years, 2 months ago (2015-10-22 21:42:57 UTC) #8
Camillo Bruni
PTAL, adressing nits https://codereview.chromium.org/1409073005/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1409073005/diff/40001/src/objects.cc#newcode7505 src/objects.cc:7505: for (uint32_t i = 0; i ...
5 years, 2 months ago (2015-10-23 08:56:35 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409073005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409073005/80001
5 years, 2 months ago (2015-10-23 10:59:02 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409073005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409073005/100001
5 years, 2 months ago (2015-10-23 12:39:18 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/11057)
5 years, 2 months ago (2015-10-23 12:50:08 UTC) #15
Camillo Bruni
PTAL fixed some issues with spares arrays https://codereview.chromium.org/1409073005/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1409073005/diff/40001/src/objects.cc#newcode7686 src/objects.cc:7686: elementKeysAddCheckLimit_ = ...
5 years, 1 month ago (2015-10-26 09:53:48 UTC) #16
Igor Sheludko
lgtm with suggestion: https://codereview.chromium.org/1409073005/diff/140001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1409073005/diff/140001/src/objects.h#newcode10821 src/objects.h:10821: void SortRemoveDuplicates(); WDYT: SortCurrentElementsListRemoveDuplicates()?
5 years, 1 month ago (2015-10-26 10:22:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409073005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409073005/160001
5 years, 1 month ago (2015-10-26 10:46:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/9156)
5 years, 1 month ago (2015-10-26 10:47:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409073005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409073005/180001
5 years, 1 month ago (2015-10-26 11:28:02 UTC) #25
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 1 month ago (2015-10-26 11:46:39 UTC) #26
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/c043a7eee13e7a41574706f79325dc3cc14d26c9 Cr-Commit-Position: refs/heads/master@{#31557}
5 years, 1 month ago (2015-10-26 11:47:11 UTC) #27
Camillo Bruni
5 years, 1 month ago (2015-10-26 13:56:01 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/1409073005/diff/140001/src/objects.h
File src/objects.h (right):

https://codereview.chromium.org/1409073005/diff/140001/src/objects.h#newcode1...
src/objects.h:10821: void SortRemoveDuplicates();
On 2015/10/26 at 10:22:04, Igor Sheludko wrote:
> WDYT: SortCurrentElementsListRemoveDuplicates()?

indeed better :)

Powered by Google App Engine
This is Rietveld 408576698