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

Issue 1826953003: Make sampling heap profiler work for short living scripts. (Closed)

Created:
4 years, 9 months ago by alph
Modified:
4 years, 9 months ago
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

Make sampling heap profiler work for short living scripts. It might happen a script is gone during profiling. Handle that case. Committed: https://crrev.com/8b218d6464cf8c5eb63c23112f4d15933feba8c7 Cr-Commit-Position: refs/heads/master@{#35052}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M src/profiler/sampling-heap-profiler.cc View 1 chunk +10 lines, -8 lines 1 comment Download

Messages

Total messages: 14 (6 generated)
alph
ptal
4 years, 9 months ago (2016-03-24 00:36:07 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826953003/1
4 years, 9 months ago (2016-03-24 00:36:21 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-24 00:57:52 UTC) #6
Yang
On 2016/03/24 00:57:52, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 9 months ago (2016-03-24 05:20:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826953003/1
4 years, 9 months ago (2016-03-24 06:04:37 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-24 06:06:16 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/8b218d6464cf8c5eb63c23112f4d15933feba8c7 Cr-Commit-Position: refs/heads/master@{#35052}
4 years, 9 months ago (2016-03-24 06:06:59 UTC) #12
Michael Achenbach
4 years, 9 months ago (2016-03-24 09:18:25 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/1826953003/diff/1/src/profiler/sampling-heap-...
File src/profiler/sampling-heap-profiler.cc (right):

https://codereview.chromium.org/1826953003/diff/1/src/profiler/sampling-heap-...
src/profiler/sampling-heap-profiler.cc:209: Name* name =
Name::cast(script->name());
Experimental code-coverage reports this block as not executed on x64. I see
three cases:
1) Is there really no test that exercises this, then please consider adding a v8
stand-alone test.
2) Is it executed in some other configuration? No action required.
3) It is executed in some test on x64? Then code coverage has a bug.

Powered by Google App Engine
This is Rietveld 408576698