MPS issue job003838

TitleMVT uses segments unnecessarily
Statusopen
Prioritynice
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionMVT uses SegAlloc to get memory from the arena, and SegFree to return memory to the arena. But it does not use the segments for very much (if anything), so this may be an unnecessary layer, and it could just call ArenaAlloc and ArenaFree instead.
AnalysisMVT uses the segments to remember the memory it allocated from the arena (via PoolSegRing) and free it back to the arena. But it could remember it in some other way (a CBS, for example) and so avoid the segments.

See job003509 for the corresponding problem for MVFF.
How foundinspection
EvidenceNone
Created byGareth Rees
Created on2014-06-13 18:46:02
Last modified byGareth Rees
Last modified on2014-06-13 18:46:02
History2014-06-13 GDR Created.