diff --git a/src/gc-pages.c b/src/gc-pages.c index 40e54541361488..1a19f6ae84dc00 100644 --- a/src/gc-pages.c +++ b/src/gc-pages.c @@ -45,6 +45,11 @@ JL_DLLEXPORT uint64_t jl_current_pg_count(void) return (uint64_t)jl_atomic_load(¤t_pg_count); } +JL_DLLEXPORT uint64_t jl_get_pg_size(void) +{ + return GC_PAGE_SZ; +} + void jl_gc_init_page(void) { if (GC_PAGE_SZ * block_pg_cnt < jl_page_size)