aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/testlib.c
diff options
context:
space:
mode:
authorRichard Kistruck2010-03-22 13:24:49 +0000
committerRichard Kistruck2010-03-22 13:24:49 +0000
commitb75de3e923de3c7a8dbc7a5832368fb93b9306e5 (patch)
tree194e38e36f5ce75bde02f191db6a991dea948ea6 /mps/code/testlib.c
parent12c0e0bb66614ddf3629ed6ab7158a230d157ccb (diff)
downloademacs-b75de3e923de3c7a8dbc7a5832368fb93b9306e5.tar.gz
emacs-b75de3e923de3c7a8dbc7a5832368fb93b9306e5.zip
mps br/vmem: simple-chunk-return:
arenavm.c -- on VMFree(), destroy any empty chunks (except the primary). (VMFree is not the ideal place to do it, but works for proof of concept). tract.c -- fix ChunkCache defects: - previously, if cache is empty (chunkCache->chunk == NULL) then other fields are *undefined*; but code looks at them anyway (!) without first checking chunkCache->chunk; - change it (.chunk.empty.fields) so that, if cache is empty, other fields have defined values: cache-using code may look at them, and they are chosen so that no cache hit will occur. --> this fixes crashing defect shown by changelist 170072 - AVERT(ChunkCache) in the many places it should be checked; - use AVERT_CRITICAL in ChunkEncache, because it is called by ChunkOfAddr; Also: plan.txt -- notes on use of primary chunk. config.h -- DIAG also in ci, please [Do not integ to master] diag.c -- skip ChainCondemnAuto diag thanks zcoll.c -- move printf announcing Destroying arena etc to just before, not just after, we do it. Copied from Perforce Change: 170082 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/testlib.c')
0 files changed, 0 insertions, 0 deletions