Permalink
Browse files

2012-01-01-14.12.33: src/c/heapcleaner/heap-debug-stuff.c: dump_ramlo…

…g__guts: Bugfix: Had AGEGROUP0_OVERRUN_TRIPWIRE_BUFFER_SIZE_IN_WORDS where RAMLOG_ENTRIES was needed.
  • Loading branch information...
1 parent bd84852 commit a9d9017129f5508c52d440ca72b339c08526bc23 Cynbe committed Jan 1, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −0 change-history
  3. +1 −1 src/c/heapcleaner/heap-debug-stuff.c
View
@@ -295,7 +295,7 @@ summary:
src/lib/x-kit/tut/widget/widgets.lib.frozen \
src/lib/x-kit/tut/show-graph/show-graph-app.lib.frozen
- @find . -type f -maxdepth 1 -name 'dump*log' -ls
+ @find . -maxdepth 1 -type f -name 'dump*log' -ls
View
@@ -1,3 +1,4 @@
+2012-01-01-14.02.10: Makefile: summary: To reduce console clutter changed @ls ... to @find . -type f -maxdepth 1 -name 'dump*log' -ls
2012-01-01-13.53.56: Makefile: summary: Added @ls -l dump*log to reduce chance of missing tripwire dumps.
2012-01-01-13.49.05: make_package_literals_via_bytecode_interpreter: Added check_agegroup0_overrun_tripwire_buffer() calls at top and bottom because a pair of Heisenbug dumplogs seemed to finger it as a tripwirebuffer-clobbering culprint. (The Heisenbug promptly vanished, of course...)
2012-01-01-13.31.53: src/c/heapcleaner/heap-debug-stuff.c: dump_ramlog__guts: Switched to display in reverse chronological order, which is handier in practice because one usually cares about only the last couple of calls, and arrives at that dumplog section by searching for the header.
@@ -827,7 +827,7 @@ static void dump_ramlog__guts (FILE*fd, Task* task, char* caller) {
fprintf(fd, "(most recent first) with task->pthread->id listed at the left:\n\n");
{ int e = ramlog_next_entry_to_write;
- int i = AGEGROUP0_OVERRUN_TRIPWIRE_BUFFER_SIZE_IN_WORDS - 1;
+ int i = RAMLOG_ENTRIES - 1;
do {
e = ramlog_prev( e );

0 comments on commit a9d9017

Please sign in to comment.