wingo pushed a commit to branch wip-whippet
in repository guile.

commit c4396a42149284afee4d7f5b476c1ea274f54582
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Sun Nov 5 10:26:43 2023 +0100

    Remove a release-mode debugging printout in whippet
---
 src/whippet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/whippet.c b/src/whippet.c
index 5deba1a64..6501a751f 100644
--- a/src/whippet.c
+++ b/src/whippet.c
@@ -1862,7 +1862,7 @@ static void collect(struct gc_mutator *mut,
   double yield = heap_last_gc_yield(heap);
   double fragmentation = heap_fragmentation(heap);
   HEAP_EVENT(heap, live_data_size, heap->size * (1 - yield));
-  fprintf(stderr, "last gc yield: %f; fragmentation: %f\n", yield, 
fragmentation);
+  DEBUG(stderr, "last gc yield: %f; fragmentation: %f\n", yield, 
fragmentation);
   detect_out_of_memory(heap);
   trace_pinned_roots_after_stop(heap);
   prepare_for_evacuation(heap);

Reply via email to