Bug 699668 - Backout aa05d607c95e because of MaxHeap regression
authorBill McCloskey <wmccloskey@mozilla.com>
Thu, 17 Nov 2011 11:31:40 -0800
changeset 80386 dd9749c483ce40a995108f8a34ec158400f9f750
parent 80385 1aa115c248879f0b55f1067edab0a9f51a8aa318
child 80387 a7b658e309b90430572c7c36a4f1b37576b16ac1
push id3423
push userwmccloskey@mozilla.com
push dateThu, 17 Nov 2011 19:31:55 +0000
treeherdermozilla-inbound@dd9749c483ce [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs699668
milestone11.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 699668 - Backout aa05d607c95e because of MaxHeap regression
js/src/jscompartment.h
--- a/js/src/jscompartment.h
+++ b/js/src/jscompartment.h
@@ -415,17 +415,17 @@ struct JS_FRIEND_API(JSCompartment) {
     bool                         hold;
     bool                         isSystemCompartment;
 
     /*
      * Pool for analysis and intermediate type information in this compartment.
      * 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 = 256 * 1024;
+    static const size_t TYPE_LIFO_ALLOC_PRIMARY_CHUNK_SIZE = 4 * 1024;
     js::LifoAlloc                typeLifoAlloc;
     bool                         activeAnalysis;
     bool                         activeInference;
 
     /* Type information about the scripts and objects in this compartment. */
     js::types::TypeCompartment   types;
 
 #ifdef JS_TRACER