MPS issue job003884

Titlemps_pool_free_size wrong for AWL, LO in hot variety
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIn the hot variety, mps_pool_free_size returns the wrong result for AWL and LO pools.
AnalysisThis is because the computation of poolGen->freeSize is guarded by STATISTIC macros and so not done in the hot variety. This works out fine for AMC and AMCZ (which don't keep free memory), but not for AWL and LO (which do).

This exposes the problem that there isn't a test case that checks the size accounting for the automatic pool classes. The really stringent checks on size accounting are done in apss and mpmss for the manual pool classes, but the test in finaltest is rather weak.
How foundautomated_test
EvidenceNone.
Test procedurefinaltest
Created byGareth Rees
Created on2014-10-13 10:55:08
Last modified byGareth Rees
Last modified on2014-10-20 17:05:43
History2014-10-13 GDR Created.

Fixes

Change Effect Date User Description
187230 closed 2014-10-13 11:04:30 Gareth Rees Make finaltest more strict so that it catches job003884.
Fix mps_pool_free_size for AWL and LO in the hot variety.