MPS issue job003350

TitlePurpose of manual pool classes is unclear
Statusclosed
Prioritynice
Assigned userRichard Brooksby
OrganizationRavenbrook
DescriptionWhen you want a manual variable-size pool class, which one should you use? It's not clear how to choose between MV, MVT or MVFF.
AnalysisThere are some points of difference:

1. MVT doesn't support allocation via mps_alloc and so doesn't support structured allocation caches (but this would be easy to add).
2. MV doesn't support allocation points or allocation frames (but this would be easy to add).
3. MVFF and MVT have configurable alignment (MV uses natural word size).

I think the key use cases are:

* MV: simple and rock-solid (but maybe not very fast)
* MVT: temporal lifetimes: objects that are born together die together
* MVFF: other lifetime patterns
How foundinspection
EvidenceNone.
Observed in1.110.0
Created byGareth Rees
Created on2012-10-31 15:51:17
Last modified byGareth Rees
Last modified on2013-06-08 17:49:26
History2012-10-31 GDR Created.

Fixes

Change Effect Date User Description
182636 closed 2013-06-08 17:49:26 Gareth Rees Separate the consideration of automatic and manual pool classes, so that we can ask the appropriate questions in each case.