From 9162fa4a3fc572c0df0c7174e73e25fa790226c1 Mon Sep 17 00:00:00 2001 From: d-netto Date: Tue, 22 Aug 2023 10:25:24 -0300 Subject: [PATCH] don't use hardcoded constant --- src/gc-pages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gc-pages.c b/src/gc-pages.c index f27f1eb162e4d..9aaab3a3db286 100644 --- a/src/gc-pages.c +++ b/src/gc-pages.c @@ -127,7 +127,7 @@ NOINLINE jl_gc_pagemeta_t *jl_gc_alloc_page(void) JL_NOTSAFEPOINT // try to get page from `pool_lazily_freed` meta = pop_lf_page_metadata_back(&global_page_pool_lazily_freed); if (meta != NULL) { - gc_alloc_map_set(meta->data, 1); + gc_alloc_map_set(meta->data, GC_PAGE_ALLOCATED); // page is already mapped return meta; }