Bug 1279614 - 2,000 instances of "XPCOM objects created/destroyed from static ctor/dtor" emitted from xpcom/base/nsTraceRefcnt.cpp during linux64 debug testing. r=gfritzsche,jmathies.

This commit is contained in:
Julian Seward
2016-06-30 14:04:15 +02:00
parent 20763ca0e7
commit 39faa31be1
3 changed files with 29 additions and 15 deletions

View File

@@ -165,8 +165,8 @@ namespace {
// Set to true once this global state has been initialized
bool gInitDone = false;
bool gCanRecordBase;
bool gCanRecordExtended;
bool gCanRecordBase = false;
bool gCanRecordExtended = false;
HistogramMapType gHistogramMap(mozilla::Telemetry::HistogramCount);