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

Issue 2594543003: [Interpreter] Ensure that a function is compiled before tiering up to baseline. (Closed)

Created:
4 years ago by mythria
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Ensure that a function is compiled before tiering up to baseline. When baselining a function using the BaselineFunctionOnNextCall intrinsic, it is not always ensured that a function is already compiled. Update the Runtime_BaselineFunctionOnNextCall function to trigger a compile if it is not already compiled. BUG=v8:5768 Review-Url: https://codereview.chromium.org/2594543003 Cr-Commit-Position: refs/heads/master@{#42033} Committed: https://chromium.googlesource.com/v8/v8/+/d338b94e869a845a53afd5e057c807ed2e2b3a6f

Patch Set 1 #

Patch Set 2 : Changed it to a DCHECK to ensure we always compile before baselining. #

Patch Set 3 : Updated runtime function to call Compile if the function is not already compiled. #

Patch Set 4 : Fixed an error in DCHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M src/compiler.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-test.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A test/mjsunit/ignition/regress-5768.js View 2 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (21 generated)
mythria
We found this bug when debugging this bug: https://bugs.chromium.org/p/v8/issues/detail?id=5758. When we move to Baseline even ...
4 years ago (2016-12-21 09:30:00 UTC) #6
Benedikt Meurer
LGTM, thanks!
4 years ago (2016-12-21 11:54:46 UTC) #7
rmcilroy
On 2016/12/21 11:54:46, Benedikt Meurer wrote: > LGTM, thanks! I'm not sure this is they ...
3 years, 12 months ago (2016-12-21 16:00:18 UTC) #8
mythria
I changed it to a DCHECK to ensure a function is compiled before trying to ...
3 years, 11 months ago (2017-01-03 10:58:48 UTC) #9
mythria
I updated the runtime_BaselineFunctionOnNextCall to compile if the function is not already compiled. PTAL. Thanks, ...
3 years, 11 months ago (2017-01-03 11:41:32 UTC) #20
rmcilroy
LGTM, thanks.
3 years, 11 months ago (2017-01-03 12:06:58 UTC) #23
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/2594543003/60001
3 years, 11 months ago (2017-01-03 15:09:59 UTC) #26
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 15:11:37 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/d338b94e869a845a53afd5e057c807ed2e2...

Powered by Google App Engine
This is Rietveld 408576698