Skip to content

Commit

Permalink
don't use hardcoded constant
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto committed Aug 22, 2023
1 parent 465ae6f commit 9162fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc-pages.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9162fa4

Please sign in to comment.