diff options
author | bashi@chromium.org <bashi@chromium.org> | 2015-06-19 00:18:36 +0000 |
---|---|---|
committer | bashi@chromium.org <bashi@chromium.org> | 2015-06-19 00:18:36 +0000 |
commit | 2776740b013c36a33c6067c6120ff0a2fd38102a (patch) | |
tree | a377d21eed082b8c877d1c2cd6d230dcbdacd99a /third_party/WebKit/LayoutTests/VirtualTestSuites | |
parent | c13cd9755ed75a6fe4a7d1ff907d045324c3ee36 (diff) | |
download | chromium_src-2776740b013c36a33c6067c6120ff0a2fd38102a.zip chromium_src-2776740b013c36a33c6067c6120ff0a2fd38102a.tar.gz chromium_src-2776740b013c36a33c6067c6120ff0a2fd38102a.tar.bz2 |
Set HistogramEnumerationFunction even when Partitions are initialized
PartitionAlloc.CommittedSize isn't collected because we don't set
m_histogramEnumeration correctly when we try to allocate memory
before Partitions::initialize() is called. As a workaround, this CL
separates partitions initialization and m_histogramEnumeration setting
so that we can overrides m_histogramEnumeration. This workaround should
be removed when we can make sure that initialize() is always called
before memory allocation.
This CL also remove a spin lock because initialization must happen
on the main thread.
BUG=501171
Review URL: https://codereview.chromium.org/1190883003
git-svn-id: svn://svn.chromium.org/blink/trunk@197413 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/VirtualTestSuites')
0 files changed, 0 insertions, 0 deletions