aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/trace.c
diff options
context:
space:
mode:
authorRichard Brooksby2012-08-31 14:12:23 +0100
committerRichard Brooksby2012-08-31 14:12:23 +0100
commit09dc2bca88079b32d042061b3f1ec51b0083cc6e (patch)
tree1684bf03428346059cd777e04faadc5d1e903a30 /mps/code/trace.c
parenta7a9ed15ff91778f01d6884ef40a97443f7417a1 (diff)
downloademacs-09dc2bca88079b32d042061b3f1ec51b0083cc6e.tar.gz
emacs-09dc2bca88079b32d042061b3f1ec51b0083cc6e.zip
Writing event dumper to print recent events, and adding it to the default assertion handler.
NUL-terminating event strings to make them easier to print. Copied from Perforce Change: 179132 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/trace.c')
-rw-r--r--mps/code/trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mps/code/trace.c b/mps/code/trace.c
index c362a4809cf..d5aff875030 100644
--- a/mps/code/trace.c
+++ b/mps/code/trace.c
@@ -814,6 +814,8 @@ static void traceReclaim(Trace trace)
814 PoolTraceEnd(pool, trace); 814 PoolTraceEnd(pool, trace);
815 } 815 }
816 816
817NOTREACHED;
818
817 ArenaCompact(arena, trace); /* let arenavm drop chunks */ 819 ArenaCompact(arena, trace); /* let arenavm drop chunks */
818 820
819 TracePostMessage(trace); /* trace end */ 821 TracePostMessage(trace); /* trace end */