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

Issue 1943423002: Updates incremental marking pass to collect object statistics. (Closed)

Created:
4 years, 7 months ago by mythria
Modified:
4 years, 6 months ago
CC:
Hannes Payer (out of office), ulan, 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

Updates incremental marking pass to collect object statistics. Object statistics were collected during the mark compact phase. If an incremental marking happened before mark compact phase then most of the objects are already visited and hence this phase does not collect accurate statistics. This cl updates incremental marking pass to collect object statistics along with mark compact phase. BUG= Committed: https://crrev.com/31392d700289c7bfb7d8003fe8e8abc5762fc858 Cr-Commit-Position: refs/heads/master@{#36678}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Collects object statistics both during incremental marking and mark compact passes #

Patch Set 3 : Removed an unnecessary class declaration. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -39 lines) Patch
M src/heap/heap.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/heap/incremental-marking.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 chunks +5 lines, -1 line 2 comments Download
M src/heap/object-stats.h View 1 2 1 chunk +23 lines, -5 lines 0 comments Download
M src/heap/object-stats.cc View 1 5 chunks +53 lines, -31 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
mythria
PTAL. Thanks, Mythri https://codereview.chromium.org/1943423002/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/1943423002/diff/1/src/heap/incremental-marking.cc#newcode181 src/heap/incremental-marking.cc:181: } Hannes, I initialize the Visitor ...
4 years, 7 months ago (2016-05-03 16:04:34 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/1943423002/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/1943423002/diff/1/src/heap/incremental-marking.cc#newcode181 src/heap/incremental-marking.cc:181: } On 2016/05/03 at 16:04:34, mythria wrote: > Hannes, ...
4 years, 7 months ago (2016-05-09 13:16:37 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943423002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943423002/40001
4 years, 7 months ago (2016-05-10 11:32:04 UTC) #6
mythria
PTAL. Thanks, Mythri
4 years, 7 months ago (2016-05-10 11:32:56 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-10 12:03:37 UTC) #9
Hannes Payer (out of office)
https://codereview.chromium.org/1943423002/diff/40001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1943423002/diff/40001/src/heap/mark-compact.cc#newcode2211 src/heap/mark-compact.cc:2211: if (FLAG_track_gc_object_stats) { I think it is cleaner to ...
4 years, 7 months ago (2016-05-11 15:43:56 UTC) #10
mythria
Thanks Hannes. I thought it is required to clear the object stats there to avoid ...
4 years, 7 months ago (2016-05-11 15:52:27 UTC) #11
mythria
Ping.
4 years, 7 months ago (2016-05-17 09:06:00 UTC) #12
mythria
We don't need this for collecting code stats with our new plan. Though it may ...
4 years, 7 months ago (2016-05-23 12:31:08 UTC) #13
Hannes Payer (out of office)
lgtm
4 years, 7 months ago (2016-05-24 07:30:17 UTC) #14
mythria
Ross, could you PTAL.
4 years, 6 months ago (2016-06-01 11:45:28 UTC) #15
rmcilroy
If Hannes is happy then so am I. RS-LGTM.
4 years, 6 months ago (2016-06-01 15:36:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943423002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943423002/40001
4 years, 6 months ago (2016-06-02 09:30:09 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-02 09:58:19 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 10:00:08 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/31392d700289c7bfb7d8003fe8e8abc5762fc858
Cr-Commit-Position: refs/heads/master@{#36678}

Powered by Google App Engine
This is Rietveld 408576698