зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1300355 - Part 1: Increase frequency of GC/CC during reftests. r=dbaron
This commit is contained in:
Родитель
06a8279cb0
Коммит
5fa3fe2fb1
|
@ -143,7 +143,7 @@ function StartTestURI(type, uri, timeout)
|
|||
// the JS ref tests disable the normal browser chrome and do not otherwise
|
||||
// create substatial DOM garbage, the CC tends not to run enough normally.
|
||||
++gTestCount;
|
||||
if (gTestCount % 3000 == 0) {
|
||||
if (gTestCount % 1000 == 0) {
|
||||
CU.forceGC();
|
||||
CU.forceCC();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче