|
|
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 #
Messages
Total messages: 59 (45 generated)
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lpy@chromium.org changed reviewers: + fmeawad@chromium.org
PTAL.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== [Tracing] Use TracingCategoryObserver in gc statistics This patch is a follow-up patch to enable gc statistics to use TracingCategoryObserver. ========== to ========== [Tracing] Use TracingCategoryObserver in gc statistics This patch is a follow-up patch to enable gc statistics to use TracingCategoryObserver. BUG=v8:5590 ==========
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:20001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lpy@chromium.org changed reviewers: + mlippautz@chromium.org
+ mlippautz@ for review.
lgtm Can you add more details in the description, like that you are introducing a new flag gc_stats, and how the change should affect on and off overhead?
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#... src/flag-definitions.h:750: DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics") Why int and not bool?
Description was changed from ========== [Tracing] Use TracingCategoryObserver in gc statistics This patch is a follow-up patch to enable gc statistics to use TracingCategoryObserver. BUG=v8:5590 ========== to ========== [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 ==========
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#... src/flag-definitions.h:750: DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics") On 2016/11/02 09:25:08, Michael Lippautz wrote: > Why int and not bool? We still want the flag be recognizable whether it's enabled by tracing, or command line. So if we pass track_gc_object_stats or trace_gc_object_stats flag, then it will set it to 0x01, tracing will set it to 0x10 when we start tracing and reset it when we stop tracing. I made an update in description.
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#... > src/flag-definitions.h:750: DEFINE_INT(gc_stats, 0, "Used by tracing internally > to enable gc statistics") > On 2016/11/02 09:25:08, Michael Lippautz wrote: > > Why int and not bool? > > We still want the flag be recognizable whether it's enabled by tracing, or > command line. So if we pass track_gc_object_stats or trace_gc_object_stats flag, > then it will set it to 0x01, tracing will set it to 0x10 when we start tracing > and reset it when we stop tracing. > > I made an update in description. Thanks for the explanation, lgtm
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by lpy@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mlippautz@chromium.org, fmeawad@chromium.org Link to the patchset: https://codereview.chromium.org/2459903003/#ps100001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:100001)
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:100001) has been created in https://codereview.chromium.org/2477143002/ by machenbach@chromium.org. The reason for reverting is: Speculative revert for blocking roll: https://codereview.chromium.org/2473003006/ E.g.: https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium....
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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 ==========
machenbach@chromium.org changed reviewers: + machenbach@chromium.org
Reopened this CL to test reland with chromium trybot.
The CQ bit was checked by lpy@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #6 (id:120001) has been deleted
Patchset #6 (id:140001) has been deleted
The CQ bit was checked by lpy@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mlippautz@chromium.org, fmeawad@chromium.org Link to the patchset: https://codereview.chromium.org/2459903003/#ps160001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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 ==========
Message was sent while issue was closed.
Committed patchset #6 (id:160001)
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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/75f1473880b875109bbea3f5202316347d46b549 Cr-Commit-Position: refs/heads/master@{#40777} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/75f1473880b875109bbea3f5202316347d46b549 Cr-Commit-Position: refs/heads/master@{#40777}
Message was sent while issue was closed.
Description was changed from ========== [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/75f1473880b875109bbea3f5202316347d46b549 Cr-Commit-Position: refs/heads/master@{#40777} ========== to ========== [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} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/7d28301d0c96a179aa9a3c96f616f7ae4b78e7e5 Cr-Commit-Position: refs/heads/master@{#40817} |