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

Issue 996153003: CpuProfiler: simplify inlined function info magic. (Closed)

Created:
5 years, 9 months ago by loislo
Modified:
5 years, 9 months ago
Reviewers:
Sven Panne, alph, 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: simplify inlined function info magic. I did some investigation and found that in the most cases the old schema with the separate List for functions and inlines gives us no memory benefits because more frequently we inlines different functions into parent function. So the plain schema wins a tens or even hundreds bytes a few thousand times. The only drawback is that we will print the inlined body the each time when we inline it. But is not a problem because it happens only under FLAG_hydrogen_track_positions. Also I added script_id to the structure, so it could be used later by cpu-profiler. BUG=chromium:452067 LOG=n Committed: https://crrev.com/df9e6fe329b5655932124a9d871d4eacbf51ce08 Cr-Commit-Position: refs/heads/master@{#27134}

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -60 lines) Patch
M src/compiler.h View 1 3 chunks +14 lines, -16 lines 0 comments Download
M src/compiler.cc View 1 3 chunks +28 lines, -37 lines 0 comments Download
M src/hydrogen.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
loislo
PTAL
5 years, 9 months ago (2015-03-11 12:42:04 UTC) #2
yurys
lgtm as long as I understand this code:) https://codereview.chromium.org/996153003/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/996153003/diff/1/src/compiler.cc#newcode278 src/compiler.cc:278: int ...
5 years, 9 months ago (2015-03-11 13:05:21 UTC) #3
loislo
https://codereview.chromium.org/996153003/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/996153003/diff/1/src/compiler.cc#newcode278 src/compiler.cc:278: int pareint_id) { On 2015/03/11 13:05:21, yurys wrote: > ...
5 years, 9 months ago (2015-03-11 13:15:47 UTC) #4
Sven Panne
lgtm
5 years, 9 months ago (2015-03-11 13:42:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996153003/20001
5 years, 9 months ago (2015-03-11 13:42:31 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-11 13:51:21 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 13:51:33 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/df9e6fe329b5655932124a9d871d4eacbf51ce08
Cr-Commit-Position: refs/heads/master@{#27134}

Powered by Google App Engine
This is Rietveld 408576698