From 9495761dfd439c2d37898e13aecdd08c607b9a17 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Mon, 29 Apr 2024 15:04:22 +0200 Subject: [PATCH] Backport GC typo fix to 1.10 (#54299) Co-authored-by: Diogo Netto <61364108+d-netto@users.noreply.github.com> --- src/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gc.c b/src/gc.c index 0a456eced511e..d577c42d4859b 100644 --- a/src/gc.c +++ b/src/gc.c @@ -2052,7 +2052,7 @@ STATIC_INLINE void gc_mark_array8(jl_ptls_t ptls, jl_value_t *ary8_parent, jl_va pushed_chunk = 1; } } - for (; ary8_begin < ary8_end; ary8_begin += elsize) { + for (; ary8_begin < scan_end; ary8_begin += elsize) { for (uint8_t *pindex = elem_begin; pindex < elem_end; pindex++) { jl_value_t **slot = &ary8_begin[*pindex]; new_obj = *slot;