DescriptionOilpan: Add free list profiler.
This patch is an attempt to land a part of keishi's free list profiler patch
(https://codereview.chromium.org/717923005/). Dumping mark/sweep stats is not
included in this patch; that will be implemented in the next CL.
This patch adds a functionality to dump statistics of free lists. The profiler
is guarded by ENABLE(GC_PROFILING), so you need to set a GYP variable to be
able to record the data. Since it is time-consuming to collect these data, the
profiler is disabled by default; you need to explicitly include a Telemetry
tracing category "disabled-by-default-blink_gc".
Some modifications are made to keishi's original patch, in addition to other
minor cleanups. Notable ones are:
* "FreeList" data is now in TRACE_DISABLED_BY_DEFAULT("blink_gc") category.
* FreeList snapshot timer is stored as a member of ThreadState instead of
a static variable.
BUG=454273
R=haraken@chromium.org, keishi@chromium.org, oilpan-reviews@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189568
Patch Set 1 #
Total comments: 16
Patch Set 2 : Address comments to Patch Set 1. #
Total comments: 5
Patch Set 3 : Change type of m_cumulativeAllocationSize to size_t. #
Messages
Total messages: 18 (5 generated)
|