mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Backed out changeset cdb61e9a5308 (bug 1520587) for failures in test_feature_mainthreadio.js
This commit is contained in:
parent
1a383e07bb
commit
f8774c16c2
@ -214,9 +214,6 @@ void install_memory_counter(bool aInstall) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (aInstall) {
|
||||
sCounter->Clear();
|
||||
}
|
||||
// start counting memory allocations, or stop
|
||||
jemalloc_replace_dynamic(aInstall ? replace_init : nullptr);
|
||||
}
|
||||
|
@ -107,13 +107,6 @@ class BaseProfilerCount {
|
||||
# endif
|
||||
}
|
||||
|
||||
void Clear() {
|
||||
*mCounter = 0;
|
||||
if (mNumber) {
|
||||
*mNumber = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// We don't define ++ and Add() here, since the static defines directly
|
||||
// increment the atomic counters, and the subclasses implement ++ and
|
||||
// Add() directly.
|
||||
|
Loading…
Reference in New Issue
Block a user