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

Issue 914413007: CpuProfiler: move InlinedFunctionInfo class from HGraphBuilder to CompilationInfo. (Closed)

Created:
5 years, 10 months ago by loislo
Modified:
5 years, 10 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

CpuProfiler: move InlinedFunctionInfo class from HGraphBuilder to CompilationInfo. A function could be deoptimized due to a deopt in the inlined code. The inlined function might be defined in another script. So we need to track the information about the inlined functions (scriptId and offset). We already have the tracking code which is behind FLAG_hydrogen_track_position. So as the first step we need to make the info accessible by CPU profiler. In the follow-up patches I'll add the code which will enable position tracking and push the info into CodeEntry entries. BUG=452067 LOG=n Committed: https://crrev.com/e60ec273cca2c542bb98ef7f97dd4af7d4b84e5a Cr-Commit-Position: refs/heads/master@{#26680}

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments addressed #

Total comments: 2

Patch Set 3 : out of bounds access to the script source was fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -82 lines) Patch
M src/compiler.h View 1 3 chunks +24 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 chunks +66 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 chunk +0 lines, -17 lines 0 comments Download
M src/hydrogen.cc View 1 4 chunks +8 lines, -65 lines 0 comments Download
M src/hydrogen-instructions.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
loislo
PTAL
5 years, 10 months ago (2015-02-16 13:20:02 UTC) #2
Vyacheslav Egorov (Google)
Some comments from me. I would like to also note that this tracking was designed ...
5 years, 10 months ago (2015-02-16 13:38:50 UTC) #4
loislo
I saw IRHydra2 page. The idea is the same but there is no UI yet. ...
5 years, 10 months ago (2015-02-16 14:48:32 UTC) #5
Vyacheslav Egorov (Google)
LGTM (though it's kinda useless, I am not in OWNERs) it would be good if ...
5 years, 10 months ago (2015-02-16 15:12:03 UTC) #6
Sven Panne
LGTM, but please take care of Slava's suggestion in a later CL. https://codereview.chromium.org/914413007/diff/20001/src/compiler.h File src/compiler.h ...
5 years, 10 months ago (2015-02-17 07:31:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914413007/40001
5 years, 10 months ago (2015-02-17 08:04:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914413007/40001
5 years, 10 months ago (2015-02-17 09:44:39 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-17 09:44:49 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 09:45:03 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e60ec273cca2c542bb98ef7f97dd4af7d4b84e5a
Cr-Commit-Position: refs/heads/master@{#26680}

Powered by Google App Engine
This is Rietveld 408576698