Bug 843999 - Shrink the property cache. r=bhackett.
authorNicholas Nethercote <nnethercote@mozilla.com>
Sun, 24 Feb 2013 14:15:23 -0800
changeset 122808 e48e1afb1899
parent 122807 e83b8bbf1d5e
child 122809 e9c76968a95e
child 122916 c233837cce08
push id23510
push usernnethercote@mozilla.com
push date2013-02-24 22:18 +0000
treeherdermozilla-inbound@e48e1afb1899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs843999
milestone22.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 843999 - Shrink the property cache. r=bhackett.
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: