Bug 699668 - Increase JS type arena size for faster GC sweeps (r=njn)

This commit is contained in:
Bill McCloskey 2011-11-16 17:31:28 -08:00
Родитель ac171f28c0
Коммит 287b7722df
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;