MPS issue job003351

TitleDebugging pool classes are hard to use
Statusclosed
Prioritynice
Assigned userRichard Brooksby
OrganizationRavenbrook
DescriptionThe debugging pool classes are hard to use because you have to recompile your code in order to take advantage of them. You end up with something like this:

if (NDEBUG) {
    res = mps_pool_create(&pool, arena, mps_class_abc(), ...);
} else {
    res = mps_pool_create(&pool, arena, mps_class_abc_debug(), &debug_options, ...);
}

It would be nice if it were possible to turn on debugging features in a more dynamic way, for example via an environment variable.
AnalysisCompare "MallocGuardEdges" and other enviroment variables that affect the behaviour of malloc.
How foundinspection
EvidenceNone
Observed in1.110.0
Created byGareth Rees
Created on2012-10-31 16:59:53
Last modified byGareth Rees
Last modified on2016-03-07 09:30:16
History2012-10-31 GDR Created.

Fixes

Change Effect Date User Description
181994 closed 2013-05-20 13:58:25 Richard Brooksby Merging branch/2013-05-01/keyword-arguments back to master.