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

Issue 1995263002: [keys] Simplify KeyAccumulator (Closed)

Created:
4 years, 7 months ago by Camillo Bruni
Modified:
4 years, 7 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

[keys] Simplify KeyAccumulator - Use KeyAccumulator::GetKeys directly instead of JSReceiver::GetKeys - Revert KeyAccumulator to single OrderedHashSet implementation. - Convert the OrderedHashSet in-place to a FixedArray - IndexedInterceptor indices are no longer combined and sorted with the object indices BUG= Committed: https://crrev.com/d3324df017046bcde247a5aef6d1b59bfae5908f Cr-Commit-Position: refs/heads/master@{#36485}

Patch Set 1 #

Patch Set 2 : rebase master #

Patch Set 3 : rewriting interceptors #

Patch Set 4 : cleanup #

Patch Set 5 : Removing JSReceiver::GetKeys #

Patch Set 6 : rebase master #

Patch Set 7 : fixing casting issues #

Patch Set 8 : rebasing #

Total comments: 20

Patch Set 9 : addressing comments #

Patch Set 10 : addressing comments #

Total comments: 1

Patch Set 11 : mark GetMaxIndex as UNREACHABLE for dictionaries #

Patch Set 12 : rebase master #

Patch Set 13 : rebase master for real #

Patch Set 14 : moar rebasing #

Patch Set 15 : fixing wrong merge artifact #

Patch Set 16 : fix handle dereferencing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -427 lines) Patch
M src/api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +8 lines, -8 lines 0 comments Download
M src/debug/debug-scopes.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/elements.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 13 chunks +68 lines, -51 lines 0 comments Download
M src/json-stringifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M src/keys.h View 1 2 3 4 5 6 7 8 5 chunks +22 lines, -41 lines 0 comments Download
M src/keys.cc View 1 2 3 4 5 6 7 8 9 chunks +104 lines, -274 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -11 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +37 lines, -13 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +20 lines, -11 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -2 lines 0 comments Download
M src/runtime/runtime-forin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api-interceptors.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M test/mjsunit/es6/reflect.js View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (24 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/1995263002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/60001
4 years, 7 months ago (2016-05-20 14:21:11 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_dbg_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/6104) v8_linux_dbg_ng_triggered on ...
4 years, 7 months ago (2016-05-20 15:40:44 UTC) #4
Camillo Bruni
PTAL
4 years, 7 months ago (2016-05-23 13:32:33 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/140001
4 years, 7 months ago (2016-05-23 14:08:44 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 14:37:54 UTC) #11
Jakob Kummerow
https://codereview.chromium.org/1995263002/diff/140001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1995263002/diff/140001/src/elements.cc#newcode449 src/elements.cc:449: bool emit_write_barrier = true) { Consider using the existing ...
4 years, 7 months ago (2016-05-23 16:25:22 UTC) #12
Camillo Bruni
PTAL again, addressed all nits. The only one left for discussion is the GetIterationLength (see ...
4 years, 7 months ago (2016-05-23 19:10:13 UTC) #13
Jakob Kummerow
LGTM, but as discussed offline, I'd be happier if you split what's now GetMaxNumberOfElements into ...
4 years, 7 months ago (2016-05-24 12:13:10 UTC) #14
Camillo Bruni
4 years, 7 months ago (2016-05-24 13:16:40 UTC) #16
Toon Verwaest
src/debug lgtm
4 years, 7 months ago (2016-05-24 13:17:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/180001
4 years, 7 months ago (2016-05-24 13:17:48 UTC) #20
Jakob Kummerow
https://codereview.chromium.org/1995263002/diff/180001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1995263002/diff/180001/src/elements.cc#newcode1099 src/elements.cc:1099: DCHECK(JSArray::cast(receiver)->length()->IsSmi()); Nope! Dictionary arrays can have heap number lengths ...
4 years, 7 months ago (2016-05-24 13:19:58 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/200001
4 years, 7 months ago (2016-05-24 13:33:29 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-24 14:04:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/200001
4 years, 7 months ago (2016-05-24 14:23:35 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/15890)
4 years, 7 months ago (2016-05-24 14:25:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/220001
4 years, 7 months ago (2016-05-24 14:53:16 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/2155)
4 years, 7 months ago (2016-05-24 14:56:07 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/240001
4 years, 7 months ago (2016-05-24 15:07:37 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/2139) v8_linux64_avx2_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 7 months ago (2016-05-24 15:25:47 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995263002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995263002/280001
4 years, 7 months ago (2016-05-24 16:06:44 UTC) #44
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 7 months ago (2016-05-24 16:40:18 UTC) #45
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/d3324df017046bcde247a5aef6d1b59bfae5908f Cr-Commit-Position: refs/heads/master@{#36485}
4 years, 7 months ago (2016-05-24 16:41:26 UTC) #47
Michael Achenbach
4 years, 7 months ago (2016-05-24 17:35:35 UTC) #48
Message was sent while issue was closed.
A revert of this CL (patchset #15 id:280001) has been created in
https://codereview.chromium.org/2010593002/ by machenbach@chromium.org.

The reason for reverting is:
https://build.chromium.org/p/client.v8/builders/V8%20Mac%20GC%20Stress/builds....

Powered by Google App Engine
This is Rietveld 408576698