| Title | Can't iterate over CBS while deleting some nodes |
| Status | closed |
| Priority | nice |
| Assigned user | Gareth Rees |
| Organization | Ravenbrook |
| Description | There's no CBS implementation of the LandIterateAndDelete generic function. This would make sense in MVFFFinish, where we have the comment, "TODO: would like to check that LandSize(MVFFTotalCBS(mvff)) == 0 now, but CBS doesn't support deletion while iterating." |
| Analysis | Use TREE_TRAVERSE_AND_DELETE from the chunk-tree branch. [2] |
| How found | inspection |
| Evidence | [1] <https://info.ravenbrook.com/project/mp...ch/2014-04-15/mvffnoseg/code/poolmvff.c>[1] < https://info.ravenbrook.com/project/mps/branch/2014-05-17/chunk-tree/code/tree.h> |
| Created by | Gareth Rees |
| Created on | 2014-05-30 12:12:06 |
| Last modified by | Gareth Rees |
| Last modified on | 2014-06-14 12:44:11 |
| History | 2014-05-30 GDR Created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 186616 | closed | 2014-06-14 12:44:11 | Gareth Rees | Add LandIterateAndDelete method for the CBS land classes. Use this to check that all memory has been returned to the arena in MVFFFinish. |