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

Issue 1013143003: CpuProfiler: push the collected information about deopts to cpu profiler (Closed)

Created:
5 years, 9 months ago by loislo
Modified:
5 years, 9 months ago
Reviewers:
Sven Panne, alph, Yang, yurys
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: push the collected information about deopts to cpu profiler it is the last patch of https://codereview.chromium.org/1012633002 All that we need here is to push the collected info to the profiler and convert it into actionable information about deopt. On the Next: get the info accessible by embedder. BUG=chromium:452067 LOG=n TEST=DeoptAtFirstLevelInlinedSource, DeoptAtSecondLevelInlinedSource, DeoptUntrackedFunction Committed: https://crrev.com/ae461b9ed0bbe51f4681902f2c3ad1bd16432986 Cr-Commit-Position: refs/heads/master@{#27403}

Patch Set 1 #

Patch Set 2 : win fix #

Patch Set 3 : another try #

Total comments: 8

Patch Set 4 : comments address #

Patch Set 5 : comments addressed #

Patch Set 6 : comments addressed #

Patch Set 7 : rebaselined #

Patch Set 8 : leak was fixed #

Total comments: 11

Patch Set 9 : comments addressed #

Total comments: 5

Patch Set 10 : comments addressed #

Patch Set 11 : comments addressed #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -26 lines) Patch
M src/compiler.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 3 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M src/cpu-profiler.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/profile-generator.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +24 lines, -13 lines 0 comments Download
M src/profile-generator.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +45 lines, -9 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +218 lines, -1 line 0 comments Download

Messages

Total messages: 27 (5 generated)
loislo
ptal
5 years, 9 months ago (2015-03-18 13:05:37 UTC) #2
alph
https://codereview.chromium.org/1013143003/diff/30001/src/profile-generator.cc File src/profile-generator.cc (right): https://codereview.chromium.org/1013143003/diff/30001/src/profile-generator.cc#newcode123 src/profile-generator.cc:123: info.AddInlineFrame(script_id_, position_ + deopt_position_.position()); Looks strange. Why do you ...
5 years, 9 months ago (2015-03-18 18:15:19 UTC) #3
loislo
comments addressed https://codereview.chromium.org/1013143003/diff/30001/src/profile-generator.cc File src/profile-generator.cc (right): https://codereview.chromium.org/1013143003/diff/30001/src/profile-generator.cc#newcode123 src/profile-generator.cc:123: info.AddInlineFrame(script_id_, position_ + deopt_position_.position()); On 2015/03/18 at ...
5 years, 9 months ago (2015-03-19 08:16:12 UTC) #4
loislo
+svenpanne@
5 years, 9 months ago (2015-03-19 15:01:16 UTC) #6
loislo
On 2015/03/19 at 15:01:16, loislo wrote: > +svenpanne@ the patch needs a rebaseline
5 years, 9 months ago (2015-03-19 15:01:31 UTC) #7
loislo
On 2015/03/19 at 15:01:31, loislo wrote: > On 2015/03/19 at 15:01:16, loislo wrote: > > ...
5 years, 9 months ago (2015-03-19 15:23:07 UTC) #8
alph
lgtm https://codereview.chromium.org/1013143003/diff/130001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1013143003/diff/130001/src/compiler.h#newcode100 src/compiler.h:100: std::vector<size_t> deopt_pc_offsets; Why's the change? AFAICT v8 tends ...
5 years, 9 months ago (2015-03-20 08:28:43 UTC) #9
loislo
comments addressed https://codereview.chromium.org/1013143003/diff/130001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1013143003/diff/130001/src/compiler.h#newcode468 src/compiler.h:468: std::vector<InlinedFunctionInfo>* inlined_function_infos_; On 2015/03/20 at 08:28:42, alph ...
5 years, 9 months ago (2015-03-20 08:53:12 UTC) #10
loislo
5 years, 9 months ago (2015-03-20 11:34:24 UTC) #12
Sven Panne
I'm a bit unhappy about the complicated ownership/lifetime handling in this CL. It looks like ...
5 years, 9 months ago (2015-03-23 10:13:27 UTC) #13
loislo
On 2015/03/23 at 10:13:27, svenpanne wrote: > I'm a bit unhappy about the complicated ownership/lifetime ...
5 years, 9 months ago (2015-03-23 13:01:47 UTC) #14
loislo
On 2015/03/23 at 13:01:47, loislo wrote: > On 2015/03/23 at 10:13:27, svenpanne wrote: > > ...
5 years, 9 months ago (2015-03-24 10:05:40 UTC) #15
Sven Panne
https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h#newcode352 src/compiler.h:352: const std::vector<InlinedFunctionInfo>& inlined_function_infos() { Hmmm, returning this by reference ...
5 years, 9 months ago (2015-03-24 10:25:30 UTC) #16
loislo
https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h#newcode352 src/compiler.h:352: const std::vector<InlinedFunctionInfo>& inlined_function_infos() { On 2015/03/24 at 10:25:30, Sven ...
5 years, 9 months ago (2015-03-24 10:46:34 UTC) #17
Sven Panne
https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h#newcode352 src/compiler.h:352: const std::vector<InlinedFunctionInfo>& inlined_function_infos() { On 2015/03/24 10:46:34, loislo wrote: ...
5 years, 9 months ago (2015-03-24 10:56:55 UTC) #18
loislo
On 2015/03/24 at 10:56:55, svenpanne wrote: > https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h > File src/compiler.h (right): > > https://codereview.chromium.org/1013143003/diff/190001/src/compiler.h#newcode352 ...
5 years, 9 months ago (2015-03-24 12:09:18 UTC) #19
loislo
On 2015/03/24 at 12:09:18, loislo wrote: > On 2015/03/24 at 10:56:55, svenpanne wrote: > > ...
5 years, 9 months ago (2015-03-24 12:22:41 UTC) #20
Sven Panne
On 2015/03/24 12:09:18, loislo wrote: > [...]and pass it to set_inlining_function_infos method. > In this ...
5 years, 9 months ago (2015-03-24 12:44:26 UTC) #21
Sven Panne
lgtm
5 years, 9 months ago (2015-03-24 12:44:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1013143003/190001
5 years, 9 months ago (2015-03-24 12:44:43 UTC) #25
commit-bot: I haz the power
Committed patchset #11 (id:190001)
5 years, 9 months ago (2015-03-24 12:46:17 UTC) #26
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 12:46:32 UTC) #27
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/ae461b9ed0bbe51f4681902f2c3ad1bd16432986
Cr-Commit-Position: refs/heads/master@{#27403}

Powered by Google App Engine
This is Rietveld 408576698