aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/pool.c')
-rw-r--r--mps/code/pool.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/mps/code/pool.c b/mps/code/pool.c
index 05045b3f309..e92106128c3 100644
--- a/mps/code/pool.c
+++ b/mps/code/pool.c
@@ -461,6 +461,23 @@ void PoolReclaim(Pool pool, Trace trace, Seg seg)
461} 461}
462 462
463 463
464/* PoolTraceEnd -- do end-of-trace work
465 *
466 * This method is for a pool class to do final end-of-trace work,
467 * after all reclaiming is complete. For example, emitting
468 * diagnostics about what happened during the trace.
469 */
470
471void PoolTraceEnd(Pool pool, Trace trace)
472{
473 AVERT(Pool, pool);
474 AVERT(Trace, trace);
475 AVER(pool->arena == trace->arena);
476
477 (*pool->class->traceEnd)(pool, trace);
478}
479
480
464/* PoolWalk -- walk objects in this segment */ 481/* PoolWalk -- walk objects in this segment */
465 482
466void PoolWalk(Pool pool, Seg seg, FormattedObjectsStepMethod f, 483void PoolWalk(Pool pool, Seg seg, FormattedObjectsStepMethod f,