Skip to content

Commit

Permalink
Fix garbage collector debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimatePea committed Feb 3, 2024
1 parent 1e5fc7b commit 6318b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 运行时支持库/native/garbage_collector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6318b58

Please sign in to comment.