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

Issue 2506013005: [Interpreter] Collect String feedback on CompareOps. (Closed)

Created:
4 years, 1 month ago by rmcilroy
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Collect String feedback on CompareOps. Collect string feedback for compare operations. Without this, functions which have a lot of string compare operations end up with a high generic type percentage, and don't get optimized until very late. Currently TurboFan doesn't use this String feedback for compare operations, but this could be done in future work if it is useful. BUG=chromium:660947 Committed: https://crrev.com/5369874042cc01b0aee933071fe21db363f44c5d Cr-Commit-Position: refs/heads/master@{#41078}

Patch Set 1 #

Patch Set 2 : Move to collecting string feedback #

Total comments: 2

Patch Set 3 : Fix kAny #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -52 lines) Patch
M src/compiler/js-operator.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/type-hint-analyzer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/globals.h View 1 2 1 chunk +12 lines, -1 line 0 comments Download
M src/interpreter/interpreter.cc View 1 1 chunk +76 lines, -47 lines 0 comments Download
M src/type-feedback-vector-inl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/type-hints.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/type-hints.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/type-info.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 4 chunks +10 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (10 generated)
rmcilroy
The cause of the Promises regression is a natives JS function with string compare operations ...
4 years, 1 month ago (2016-11-16 20:34:04 UTC) #2
Benedikt Meurer
In this case I'd suggest to start collecting String feedback (and eventually utilize it in ...
4 years, 1 month ago (2016-11-17 04:36:20 UTC) #3
rmcilroy
> In this case I'd suggest to start collecting String feedback (and eventually > utilize ...
4 years, 1 month ago (2016-11-17 13:12:20 UTC) #7
Benedikt Meurer
LGTM once comment addressed. https://codereview.chromium.org/2506013005/diff/20001/src/globals.h File src/globals.h (right): https://codereview.chromium.org/2506013005/diff/20001/src/globals.h#newcode1254 src/globals.h:1254: kAny = 0x7 kAny must ...
4 years, 1 month ago (2016-11-17 13:45:24 UTC) #10
rmcilroy
https://codereview.chromium.org/2506013005/diff/20001/src/globals.h File src/globals.h (right): https://codereview.chromium.org/2506013005/diff/20001/src/globals.h#newcode1254 src/globals.h:1254: kAny = 0x7 On 2016/11/17 13:45:24, Benedikt Meurer wrote: ...
4 years, 1 month ago (2016-11-17 14:13:14 UTC) #11
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/2506013005/40001
4 years, 1 month ago (2016-11-17 14:13:31 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-17 14:45:24 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:38:23 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5369874042cc01b0aee933071fe21db363f44c5d
Cr-Commit-Position: refs/heads/master@{#41078}

Powered by Google App Engine
This is Rietveld 408576698