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

Issue 1973993002: [compiler] Profiler reconstructs inlined frames for deopts. (Closed)

Created:
4 years, 7 months ago by Michael Starzinger
Modified:
4 years, 7 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Profiler reconstructs inlined frames for deopts. This makes the profiler reconstruct inlined function frames at eager deopt points from the deoptimization data. The main goal of this is to remove the last side-channel where Crankshaft communicates directly to the profiler. This is the last preparatory step towards deprecating the side-channel in question. R=yangguo@chromium.org Committed: https://crrev.com/29001f44fc8be9308c1255ec73b07e425ae206aa Cr-Commit-Position: refs/heads/master@{#36229}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Patch Set 3 : Fix build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -108 lines) Patch
M src/arm/assembler-arm.h View 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/assembler-arm64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M src/compiler.h View 1 chunk +3 lines, -11 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.cc View 3 chunks +4 lines, -9 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/lithium-codegen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/lithium-codegen.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/deoptimizer.h View 1 chunk +8 lines, -3 lines 0 comments Download
M src/deoptimizer.cc View 4 chunks +23 lines, -22 lines 0 comments Download
M src/disassembler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/assembler-mips.h View 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/assembler-mips64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/assembler-ppc.h View 1 chunk +1 line, -1 line 0 comments Download
M src/profiler/cpu-profiler.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/profiler/cpu-profiler.cc View 1 2 3 chunks +50 lines, -4 lines 0 comments Download
M src/profiler/cpu-profiler-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/profiler/profile-generator.h View 5 chunks +14 lines, -13 lines 0 comments Download
M src/profiler/profile-generator.cc View 3 chunks +25 lines, -13 lines 0 comments Download
M src/s390/assembler-s390.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x87/assembler-x87.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
Michael Starzinger
Benedikt: PTAL at Crankshaft. Yang: PTAL at everything else.
4 years, 7 months ago (2016-05-12 13:39:55 UTC) #2
Benedikt Meurer
LGTM on crankyshaft.
4 years, 7 months ago (2016-05-12 17:43:35 UTC) #3
Yang
On 2016/05/12 17:43:35, Benedikt Meurer wrote: > LGTM on crankyshaft. _ _____ _______ __ __ ...
4 years, 7 months ago (2016-05-13 06:48:47 UTC) #4
Yang
On 2016/05/13 06:48:47, Yang wrote: > On 2016/05/12 17:43:35, Benedikt Meurer wrote: > > LGTM ...
4 years, 7 months ago (2016-05-13 06:49:10 UTC) #5
Yang
rietveld fails to parse my lgtm :/
4 years, 7 months ago (2016-05-13 06:49:46 UTC) #6
Yang
On 2016/05/13 06:49:46, Yang wrote: > rietveld fails to parse my lgtm :/ One last ...
4 years, 7 months ago (2016-05-13 06:52:42 UTC) #7
Yang
https://codereview.chromium.org/1973993002/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/1973993002/diff/1/src/profiler/cpu-profiler.cc#newcode455 src/profiler/cpu-profiler.cc:455: if (code->kind() != Code::OPTIMIZED_FUNCTION) return; You could just check ...
4 years, 7 months ago (2016-05-13 06:53:22 UTC) #8
Michael Starzinger
Thanks! Addressed comments. Landing. https://codereview.chromium.org/1973993002/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/1973993002/diff/1/src/profiler/cpu-profiler.cc#newcode455 src/profiler/cpu-profiler.cc:455: if (code->kind() != Code::OPTIMIZED_FUNCTION) return; ...
4 years, 7 months ago (2016-05-13 08:08:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973993002/40001
4 years, 7 months ago (2016-05-13 08:43:12 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-13 08:49:54 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 08:51:34 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/29001f44fc8be9308c1255ec73b07e425ae206aa
Cr-Commit-Position: refs/heads/master@{#36229}

Powered by Google App Engine
This is Rietveld 408576698