diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-07-16 09:55:48 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-07-16 09:55:48 -0400 |
| commit | 4fe3082b63a801abe15711ebb907bd66aa58bc35 (patch) | |
| tree | c3aa29493deecb2b50d931576d413f6251349ff9 | |
| parent | 60d3ed504393a876a372ceaec67ed29f06a7bcd0 (diff) | |
[DOC] Fix typo in gc/default.c
| -rw-r--r-- | gc/default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gc/default.c b/gc/default.c index 063ab7f572..e04840a73b 100644 --- a/gc/default.c +++ b/gc/default.c @@ -3726,7 +3726,7 @@ gc_sweep_plane(rb_objspace_t *objspace, rb_heap_t *heap, uintptr_t p, bits_t bit obj_free_object_id(objspace, vp); } // always add free slots back to the swept pages freelist, - // so that if we're comapacting, we can re-use the slots + // so that if we're compacting, we can re-use the slots (void)VALGRIND_MAKE_MEM_UNDEFINED((void*)p, BASE_SLOT_SIZE); heap_page_add_freeobj(objspace, sweep_page, vp); gc_report(3, objspace, "page_sweep: %s is added to freelist\n", rb_obj_info(vp)); |
