зеркало из https://github.com/mozilla/gecko-dev.git
Bug 536596 - Don't force garbage collections on every record processed
Remove the forceGC at the end of each onProgress from Collections and let normal actions trigger GC.
This commit is contained in:
Родитель
374089c085
Коммит
5a569bea45
|
@ -158,10 +158,6 @@ Collection.prototype = {
|
|||
record.id = record.data.id;
|
||||
onRecord(record);
|
||||
}
|
||||
|
||||
// Aggressively clean up the objects we created above so that the next set
|
||||
// of records have enough memory to decrypt, reconcile, apply, etc.
|
||||
Cu.forceGC();
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче