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

Issue 1949693003: Sampling heap profiler: Force Full GC before retrieving the profile. (Closed)

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

Sampling heap profiler: Force Full GC before retrieving the profile. BUG=v8:4959 LOG=N Committed: https://crrev.com/0a8cd4dc02ee1237f3c65ec20ecbc26c1bbda76e Cr-Commit-Position: refs/heads/master@{#36042}

Patch Set 1 #

Patch Set 2 : Making the GC optional #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -14 lines) Patch
M include/v8-profiler.h View 1 2 chunks +7 lines, -1 line 2 comments Download
M src/api.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/profiler/heap-profiler.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/profiler/heap-profiler.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/profiler/sampling-heap-profiler.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M src/profiler/sampling-heap-profiler.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
alph
4 years, 7 months ago (2016-05-03 23:36:41 UTC) #2
ulan
I posted an alternative solution in https://bugs.chromium.org/p/v8/issues/detail?id=4959 Let's check if that helps before forcing GCs.
4 years, 7 months ago (2016-05-04 09:34:51 UTC) #3
ulan
Ali explained us that DevTools needs precise allocation profile, so this LGTM. https://codereview.chromium.org/1949693003/diff/20001/include/v8-profiler.h File include/v8-profiler.h ...
4 years, 7 months ago (2016-05-04 13:13:06 UTC) #4
alph
https://codereview.chromium.org/1949693003/diff/20001/include/v8-profiler.h File include/v8-profiler.h (right): https://codereview.chromium.org/1949693003/diff/20001/include/v8-profiler.h#newcode520 include/v8-profiler.h:520: kSamplingForceGC = 1 << 0, On 2016/05/04 13:13:06, ulan ...
4 years, 7 months ago (2016-05-04 18:40:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949693003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949693003/20001
4 years, 7 months ago (2016-05-04 18:40:32 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-04 19:16:10 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 19:16:38 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0a8cd4dc02ee1237f3c65ec20ecbc26c1bbda76e
Cr-Commit-Position: refs/heads/master@{#36042}

Powered by Google App Engine
This is Rietveld 408576698