From 6318b58f58b26fbc268ef15e9e9f3e410fc24ab3 Mon Sep 17 00:00:00 2001 From: up Date: Sat, 3 Feb 2024 01:33:18 -0500 Subject: [PATCH] Fix garbage collector debug output --- .../native/garbage_collector.c" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/\350\277\220\350\241\214\346\227\266\346\224\257\346\214\201\345\272\223/native/garbage_collector.c" "b/\350\277\220\350\241\214\346\227\266\346\224\257\346\214\201\345\272\223/native/garbage_collector.c" index 822dd920..a94fc30f 100644 --- "a/\350\277\220\350\241\214\346\227\266\346\224\257\346\214\201\345\272\223/native/garbage_collector.c" +++ "b/\350\277\220\350\241\214\346\227\266\346\224\257\346\214\201\345\272\223/native/garbage_collector.c" @@ -236,7 +236,7 @@ void yy_perform_gc() { gc_count++; if (yy_gc_debug_flag){ - fprintf(stderr, "%" PRIu64 "Performing garbage collection, current_heap_offset %" PRIu64", ", gc_count, current_allocation_ptr - current_heap); + fprintf(stderr, "%" PRIu64 "Performing garbage collection, current_heap_offset %td, ", gc_count, current_allocation_ptr - current_heap); fflush(stderr); } verify_gc();