Bug 843999 - Shrink the property cache. r=bhackett, a=milan
authorNicholas Nethercote <nnethercote@mozilla.com>
Sun, 24 Feb 2013 14:15:23 -0800
changeset 118606 1c9db620b8ab
parent 118605 32b133952b6f
child 118607 efa1501938b3
push id493
push userryanvm@gmail.com
push date2013-02-25 20:47 +0000
reviewersbhackett, milan
bugs843999
milestone18.0
Bug 843999 - Shrink the property cache. r=bhackett, a=milan
js/src/jspropertycache.h
--- a/js/src/jspropertycache.h
+++ b/js/src/jspropertycache.h
@@ -79,17 +79,17 @@ struct PropertyCacheEntry
 #if defined DEBUG_brendan || defined DEBUG_brendaneich
 #define JS_PROPERTY_CACHE_METERING 1
 #endif
 
 class PropertyCache
 {
   private:
     enum {
-        SIZE_LOG2 = 12,
+        SIZE_LOG2 = 8,
         SIZE = JS_BIT(SIZE_LOG2),
         MASK = JS_BITMASK(SIZE_LOG2)
     };
 
     PropertyCacheEntry  table[SIZE];
     JSBool              empty;
 
   public: