Backing out the smaller arena, Bug 408720
authorOlli.Pettay@helsinki.fi
Sat, 22 Dec 2007 05:58:49 -0800
changeset 9631 e8d5c725be5f7a84928a2805b668121254ec864f
parent 9630 c5e93c08ac39c47265c4f743d6a126d4961bd8e5
child 9632 1a4b432d95efa626449080cf68afaa5c30153e09
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs408720
milestone1.9b3pre
Backing out the smaller arena, Bug 408720
content/base/src/nsNodeInfoManager.cpp
--- a/content/base/src/nsNodeInfoManager.cpp
+++ b/content/base/src/nsNodeInfoManager.cpp
@@ -146,17 +146,17 @@ nsDOMNodeAllocator::Alloc(size_t aSize)
       void* next = *((void**)result);
       mRecyclers[index] = next;
     }
     if (!result) {
       if (!mPool) {
         mPool = new PLArenaPool();
         NS_ENSURE_TRUE(mPool, nsnull);
         PL_InitArenaPool(mPool, "nsDOMNodeAllocator",
-                         4096 * (sizeof(void*)/4), 0);
+                         4096 * (sizeof(void*)/2), 0);
       }
       // Allocate a new chunk from the arena
       PL_ARENA_ALLOCATE(result, mPool, aSize);
     }
 #ifdef DEBUG
     ++gDOMNodeRecyclerCounters[index];
 #endif
   } else {