MPS issue job003509

TitleMVFF uses segments unnecessarily
Assigned userGareth Rees
DescriptionMVFF 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.
AnalysisMVFF 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 job003838 for the corresponding problem for MVT.

See also job003765 (pools use GCSeg when they could use ordinary segs).
How foundinspection
Observed in1.111.0
Created byGareth Rees
Created on2013-06-06 16:42:08
Last modified byGareth Rees
Last modified on2014-06-13 18:46:15
History2013-06-06 GDR Created.


Change Effect Date User Description
186536 closed 2014-06-12 16:20:20 Gareth Rees Merge branch/2014-04-15/mvffnoseg into the master sources.