Opened 11 years ago

Closed 11 years ago

#2142 closed enhancement (fixed)

Implement dynamic arenas

Reported by: historic_bruno Owned by: historic_bruno
Priority: Should Have Milestone: Alpha 15
Component: Core engine Keywords:
Cc: Patch:

Description

Currently we have a fixed size arena allocator, useful when we have lots of small allocations of a fixed count, but not so useful when that count is unknown. We should implement a dynamic arena that allocates fixed size chunks, and use it for the binary serializer's backrefs map (see #1842).

Attachments (1)

dynamic-arena.patch (3.8 KB ) - added by historic_bruno 11 years ago.
WIP dynamic arena

Download all attachments as: .zip

Change History (2)

by historic_bruno, 11 years ago

Attachment: dynamic-arena.patch added

WIP dynamic arena

comment:1 by ben, 11 years ago

Resolution: fixed
Status: newclosed

In 13916:

Adds DynamicArena allocator that grows by fixed chunk size, fixes #2142.
Changes fixed size arenas to new dynamic arenas with reasonable chunk sizes (may require tuning), refs #1842

Note: See TracTickets for help on using tickets.