зеркало из https://github.com/mozilla/pjs.git
Bug 699668 - Increase JS type arena size for faster GC sweeps (r=njn)
This commit is contained in:
Родитель
ac171f28c0
Коммит
287b7722df
|
@ -420,7 +420,7 @@ struct JS_FRIEND_API(JSCompartment) {
|
|||
* Cleared on every GC, unless the GC happens during analysis (indicated
|
||||
* by activeAnalysis, which is implied by activeInference).
|
||||
*/
|
||||
static const size_t TYPE_LIFO_ALLOC_PRIMARY_CHUNK_SIZE = 1 << 12;
|
||||
static const size_t TYPE_LIFO_ALLOC_PRIMARY_CHUNK_SIZE = 256 * 1024;
|
||||
js::LifoAlloc typeLifoAlloc;
|
||||
bool activeAnalysis;
|
||||
bool activeInference;
|
||||
|
|
Загрузка…
Ссылка в новой задаче