Matt Woodrow
aab0cbe92c
Bug 1406727. r=froydnj
2017-11-16 16:09:28 +13:00
Narcis Beleuzu
af710e4746
Backed out changeset 0f783930e1b2 (bug 1406727) for GTest failures on ArenaAllocator. r=backout on a CLOSED TREE
2017-11-16 07:45:06 +02:00
Matt Woodrow
5e1a10f3be
Bug 1406727. r=froydnj
2017-11-16 16:09:28 +13:00
Matt Woodrow
27911d9e0c
Bug 1406727 - Add more assertions. r=froydnj, r=francois
...
MozReview-Commit-ID: JT9lMXAI9GT
2017-11-01 16:20:51 +13:00
Matt Woodrow
d8a662f0d2
Bug 1406727. r=mstange,froydnj a=abillings
...
--HG--
extra : rebase_source : a9932eb10d3ca451e1ce3a424cd48e957801f593
2017-10-17 15:19:44 +13:00
Eric Rahm
131c4c002f
Bug 943156 - Add a templated ArenaAllocator. r=froydnj
...
This adds an arena allocator that can be used as a drop-in replacement for
NSPR's PLArena. Example usage for defining an 8-byte aligned allocator that
uses a 4K arena size:
mozilla::ArenaAllocator<4096,8> a;
void* memory = a.Allocate(200);
2017-03-30 16:46:55 -07:00