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

Issue 2680973002: [stubs] Implement binary-search descriptor lookup in CSA (Closed)

Created:
3 years, 10 months ago by Jakob Kummerow
Modified:
3 years, 10 months ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Implement binary-search descriptor lookup in CSA And use it to avoid runtime calls when there are too many properties for linear searching. The threshold of 32 was chosen by experimentation. Review-Url: https://codereview.chromium.org/2680973002 Cr-Commit-Position: refs/heads/master@{#43078} Committed: https://chromium.googlesource.com/v8/v8/+/6aea9de25419da07b1588d96cdeeb4546a5eade5

Patch Set 1 #

Patch Set 2 : graph_verifier++ #

Total comments: 2

Patch Set 3 : address comment #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -24 lines) Patch
M src/code-stub-assembler.h View 1 2 3 3 chunks +20 lines, -1 line 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 3 chunks +133 lines, -11 lines 0 comments Download
M src/ic/accessor-assembler.cc View 1 2 3 1 chunk +4 lines, -12 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
Jakob Kummerow
PTAL.
3 years, 10 months ago (2017-02-07 23:26:53 UTC) #2
Igor Sheludko
lgtm https://codereview.chromium.org/2680973002/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2680973002/diff/20001/src/code-stub-assembler.cc#newcode4861 src/code-stub-assembler.cc:4861: Node* entry = DescriptorArrayGetKey(descriptors, sort_index); Maybe s/entry/current_name/ ?
3 years, 10 months ago (2017-02-09 23:52:07 UTC) #11
Jakob Kummerow
Thanks, landing. https://codereview.chromium.org/2680973002/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2680973002/diff/20001/src/code-stub-assembler.cc#newcode4861 src/code-stub-assembler.cc:4861: Node* entry = DescriptorArrayGetKey(descriptors, sort_index); On 2017/02/09 ...
3 years, 10 months ago (2017-02-10 00:50:57 UTC) #12
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/2680973002/40001
3 years, 10 months ago (2017-02-10 00:51:05 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/12784) v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-10 00:54:00 UTC) #17
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/2680973002/60001
3 years, 10 months ago (2017-02-10 01:16:40 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 01:41:06 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/6aea9de25419da07b1588d96cdeeb4546a5...

Powered by Google App Engine
This is Rietveld 408576698