Skip to content

Commit

Permalink
don't print corrupted chunk id on crash (#51283)
Browse files Browse the repository at this point in the history
This value will be corrupted if we reach this branch, so it seems
pointless to print it.
  • Loading branch information
d-netto committed Sep 12, 2023
1 parent 832e46d commit 431e0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ STATIC_INLINE void gc_mark_chunk(jl_ptls_t ptls, jl_gc_markqueue_t *mq, jl_gc_ch
}
default: {
// `empty-chunk` should be checked by caller
jl_safe_printf("GC internal error: chunk mismatch cid=%d\n", c->cid);
jl_safe_printf("GC internal error: chunk mismatch\n");
abort();
}
}
Expand Down

0 comments on commit 431e0bd

Please sign in to comment.