Bug 699668 - Increase JS type arena size to 128K (r=njn)

This commit is contained in:
Bill McCloskey 2011-11-18 14:59:18 -08:00
parent 28914f1405
commit 5af01ee08c

View File

@ -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 = 4 * 1024;
static const size_t TYPE_LIFO_ALLOC_PRIMARY_CHUNK_SIZE = 128 * 1024;
js::LifoAlloc typeLifoAlloc;
bool activeAnalysis;
bool activeInference;