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

Issue 2459903003: [Tracing] Use TracingCategoryObserver in gc statistics (Closed)

Created:
4 years, 1 month ago by lpy
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan, Michael Hablich
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Tracing] Use TracingCategoryObserver in gc statistics This patch is a follow-up patch to enable gc statistics to use TracingCategoryObserver. Previously we need to pass --track_gc_object_stats to v8 if we want to enable gc statistics in tracing. In this patch, we introducce an integer flag FLAG_gc_stats, and FLAG_track_gc_object_stats and FLAG_trace_gc_object_stats will set it to 0x01, tracing will set it to 0x10 when we start tracing and reset the bit when we stop tracing. BUG=v8:5590 Committed: https://crrev.com/7d28301d0c96a179aa9a3c96f616f7ae4b78e7e5 Cr-Commit-Position: refs/heads/master@{#40817}

Patch Set 1 #

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -12 lines) Patch
M src/api.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/d8.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/heap/heap-inl.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 2 chunks +13 lines, -8 lines 0 comments Download
M src/tracing/tracing-category-observer.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (45 generated)
lpy
PTAL.
4 years, 1 month ago (2016-10-28 22:50:19 UTC) #4
lpy
+ mlippautz@ for review.
4 years, 1 month ago (2016-11-01 22:10:05 UTC) #18
fmeawad
lgtm Can you add more details in the description, like that you are introducing a ...
4 years, 1 month ago (2016-11-01 22:14:41 UTC) #19
Michael Lippautz
https://codereview.chromium.org/2459903003/diff/40001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/2459903003/diff/40001/src/flag-definitions.h#newcode750 src/flag-definitions.h:750: DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc ...
4 years, 1 month ago (2016-11-02 09:25:08 UTC) #20
lpy
https://codereview.chromium.org/2459903003/diff/40001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/2459903003/diff/40001/src/flag-definitions.h#newcode750 src/flag-definitions.h:750: DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc ...
4 years, 1 month ago (2016-11-03 04:48:22 UTC) #22
Michael Lippautz
On 2016/11/03 04:48:22, lpy wrote: > https://codereview.chromium.org/2459903003/diff/40001/src/flag-definitions.h > File src/flag-definitions.h (right): > > https://codereview.chromium.org/2459903003/diff/40001/src/flag-definitions.h#newcode750 > ...
4 years, 1 month ago (2016-11-03 09:02:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2459903003/100001
4 years, 1 month ago (2016-11-04 17:36:23 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-11-04 17:38:26 UTC) #40
Michael Achenbach
A revert of this CL (patchset #5 id:100001) has been created in https://codereview.chromium.org/2477143002/ by machenbach@chromium.org. ...
4 years, 1 month ago (2016-11-05 13:27:09 UTC) #41
Michael Achenbach
Reopened this CL to test reland with chromium trybot.
4 years, 1 month ago (2016-11-05 13:29:48 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2459903003/160001
4 years, 1 month ago (2016-11-08 02:12:53 UTC) #53
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years, 1 month ago (2016-11-08 03:13:51 UTC) #55
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/75f1473880b875109bbea3f5202316347d46b549 Cr-Commit-Position: refs/heads/master@{#40777}
4 years, 1 month ago (2016-11-17 22:23:29 UTC) #57
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:25:24 UTC) #59
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7d28301d0c96a179aa9a3c96f616f7ae4b78e7e5
Cr-Commit-Position: refs/heads/master@{#40817}

Powered by Google App Engine
This is Rietveld 408576698