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

Issue 1884133002: [Interpreter] Add support for FunctionEntryHook. (Closed)

Created:
4 years, 8 months ago by rmcilroy
Modified:
4 years, 8 months ago
Reviewers:
Michael Starzinger
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

[Interpreter] Add support for FunctionEntryHook. Adds code to call FunctionEntryHook on entry to the InterpreterEntryTrampoline. This should give SyzyProf enough information to build non-discontinous profile graphs, however since interpreter functions aren't uniquely identified they will all get lumped into one bucket. This should be good enough for SyzyProf's current use-case. BUG=v8:4763 LOG=N Committed: https://crrev.com/559113b092571821cec9cae774fd93ccbba61aae Cr-Commit-Position: refs/heads/master@{#35568}

Patch Set 1 #

Patch Set 2 : Fix cctest.status #

Patch Set 3 : Add ports #

Total comments: 2

Patch Set 4 : Make test stricter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -54 lines) Patch
M src/arm/builtins-arm.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/s390/builtins-s390.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M test/cctest/cctest.status View 1 1 chunk +0 lines, -4 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 2 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (10 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/1884133002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884133002/1
4 years, 8 months ago (2016-04-14 11:33:59 UTC) #2
rmcilroy
Michi, PTAL, thanks.
4 years, 8 months ago (2016-04-14 11:34:10 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/5821) v8_win64_rel_ng_triggered on ...
4 years, 8 months ago (2016-04-14 11:52:49 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884133002/20001
4 years, 8 months ago (2016-04-14 12:15:30 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/137) v8_linux_arm_rel_ng_triggered on ...
4 years, 8 months ago (2016-04-14 12:30:01 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884133002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884133002/40001
4 years, 8 months ago (2016-04-14 12:44:26 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 13:13:26 UTC) #14
rmcilroy
Ping?
4 years, 8 months ago (2016-04-15 13:32:04 UTC) #15
Michael Starzinger
LGTM with one suggestion. https://codereview.chromium.org/1884133002/diff/40001/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://codereview.chromium.org/1884133002/diff/40001/test/cctest/test-api.cc#newcode14471 test/cctest/test-api.cc:14471: CHECK_NE(0, CountInvocations(NULL, "InterpreterEntryTrampoline")); Can this ...
4 years, 8 months ago (2016-04-15 13:42:57 UTC) #16
rmcilroy
https://codereview.chromium.org/1884133002/diff/40001/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://codereview.chromium.org/1884133002/diff/40001/test/cctest/test-api.cc#newcode14471 test/cctest/test-api.cc:14471: CHECK_NE(0, CountInvocations(NULL, "InterpreterEntryTrampoline")); On 2016/04/15 13:42:56, Michael Starzinger wrote: ...
4 years, 8 months ago (2016-04-18 09:25:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884133002/60001
4 years, 8 months ago (2016-04-18 09:26:06 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-18 09:49:31 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 09:51:29 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/559113b092571821cec9cae774fd93ccbba61aae
Cr-Commit-Position: refs/heads/master@{#35568}

Powered by Google App Engine
This is Rietveld 408576698