MPS issue job004018

TitleDocumentation (and test cases) are wrong about mps_collections
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionOn platform W3I3MV, in the cool variety, finalcv gets stuck with seed 489167363 [1]. This is also reproducible on XCI3LL.
AnalysisThe documentation for mps_collections [2] says, "Return the number of flips that have taken place in an arena since it was created." But this isn't correct -- it actually returns the epoch, which counts the number of flips *in which some objects might have moved*. But this means that if a trace condemned only segments in non-moving pools, then the epoch was not changed.

This causes finalcv to go wrong, because it tests mps_collections to ensure that it terminates, but this is ineffective when testing the non-moving pools like LO.
How foundautomated_test
Evidence[1] Jenkins build #381.
[2] http://www.ravenbrook.com/project/mps/...html/topic/arena.html#c.mps_collections
Created byGareth Rees
Created on2016-04-21 11:25:46
Last modified byGareth Rees
Last modified on2016-04-21 12:34:26
History2016-04-21 GDR Created.

Fixes

Change Effect Date User Description
191442 closed 2016-04-21 12:34:26 Gareth Rees Correct the documentation for mps_collections.
In finalcv, don't rely on mps_collections to terminate the test case: use garbage collection messages.