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

Issue 2360913003: [interpreter] Compute and use type info percentage (Closed)

Created:
4 years, 2 months ago by klaasb
Modified:
4 years, 2 months ago
Reviewers:
mvstanton, rmcilroy
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Compute and use type info percentage Previously we would not have a total count of ICs when interpreting and thus the check for sufficient type info would always succeed. Also use the optimization checks for OSR while waiting for baseline compilation and refactor the check. BUG=v8:4280 BUG=chromium:634884 Committed: https://crrev.com/3200fafa5fcf70c21304e735502040ccf3af2662 Cr-Commit-Position: refs/heads/master@{#39677}

Patch Set 1 #

Total comments: 18

Patch Set 2 : address comments #

Total comments: 1

Patch Set 3 : address comments #

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -56 lines) Patch
M src/runtime-profiler.h View 1 2 chunks +8 lines, -2 lines 0 comments Download
M src/runtime-profiler.cc View 1 2 3 12 chunks +100 lines, -51 lines 0 comments Download
M src/type-feedback-vector.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/type-feedback-vector-inl.h View 1 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
rmcilroy
Overall looks good - I like the perf improvements! Made some comments, please let mvstanton ...
4 years, 2 months ago (2016-09-23 08:10:34 UTC) #2
klaasb
Hi Michael, please take a look as well. https://codereview.chromium.org/2360913003/diff/1/src/runtime-profiler.cc File src/runtime-profiler.cc (right): https://codereview.chromium.org/2360913003/diff/1/src/runtime-profiler.cc#newcode83 src/runtime-profiler.cc:83: switch ...
4 years, 2 months ago (2016-09-23 08:31:40 UTC) #4
mvstanton
Right on! LGTM
4 years, 2 months ago (2016-09-23 11:19:03 UTC) #5
rmcilroy
One nit, but LGTM, thanks! https://codereview.chromium.org/2360913003/diff/20001/src/runtime-profiler.cc File src/runtime-profiler.cc (right): https://codereview.chromium.org/2360913003/diff/20001/src/runtime-profiler.cc#newcode380 src/runtime-profiler.cc:380: bool optimize_before_baseline = function->IsMarkedForBaseline() ...
4 years, 2 months ago (2016-09-23 13:04:41 UTC) #8
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/2360913003/60001
4 years, 2 months ago (2016-09-23 13:09:31 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-23 15:30:25 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 15:30:39 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3200fafa5fcf70c21304e735502040ccf3af2662
Cr-Commit-Position: refs/heads/master@{#39677}

Powered by Google App Engine
This is Rietveld 408576698