Bug 804891 - Reduce LIFO_ALLOC_PRIMARY_CHUNK_SIZE from 128 KiB to 32 KiB. r=wmccloskey.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 25 Oct 2012 17:55:31 -0700
changeset 111600 4380bab9db045aae4006c0442e6433d1337f6c44
parent 111599 795511f1212df5c254b47aae900137fbe085ffef
child 111601 e58288ffbfa023ee4d5af1302f3282a0f4a11e01
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewerswmccloskey
bugs804891
milestone19.0a1
Bug 804891 - Reduce LIFO_ALLOC_PRIMARY_CHUNK_SIZE from 128 KiB to 32 KiB. r=wmccloskey.
js/src/jscompartment.h
--- a/js/src/jscompartment.h
+++ b/js/src/jscompartment.h
@@ -254,17 +254,17 @@ struct JSCompartment
     JSCompartment                *gcNextCompartment;
 
     bool                         hold;
     bool                         isSystemCompartment;
 
     int64_t                      lastCodeRelease;
 
     /* Pools for analysis and type information in this compartment. */
-    static const size_t LIFO_ALLOC_PRIMARY_CHUNK_SIZE = 128 * 1024;
+    static const size_t LIFO_ALLOC_PRIMARY_CHUNK_SIZE = 32 * 1024;
     js::LifoAlloc                analysisLifoAlloc;
     js::LifoAlloc                typeLifoAlloc;
 
     bool                         activeAnalysis;
     bool                         activeInference;
 
     /* Type information about the scripts and objects in this compartment. */
     js::types::TypeCompartment   types;