Testing smaller arena to reduce HM, Bug 408720
git-svn-id: svn://10.0.0.236/trunk@242012 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
518afa328e
commit
01dccdda04
@ -151,7 +151,7 @@ nsDOMNodeAllocator::Alloc(size_t aSize)
|
||||
mPool = new PLArenaPool();
|
||||
NS_ENSURE_TRUE(mPool, nsnull);
|
||||
PL_InitArenaPool(mPool, "nsDOMNodeAllocator",
|
||||
4096 * (sizeof(void*)/2), 0);
|
||||
4096 * (sizeof(void*)/4), 0);
|
||||
}
|
||||
// Allocate a new chunk from the arena
|
||||
PL_ARENA_ALLOCATE(result, mPool, aSize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user