From d81038e1ca14fdd148e5d5174969a530a41e49e1 Mon Sep 17 00:00:00 2001 From: Jake Hughes Date: Tue, 28 May 2024 09:54:55 +0100 Subject: [PATCH] Bump rootset count to large configuration The rootset count is now used for more than just tracking statics and thread-locals: finalisation buffers are added so they are kept alive before they are processed. This does not require any additional memory inside internal GC data structures. --- include/private/gc_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 330594390..893c6372b 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -1286,7 +1286,7 @@ struct hblk { # ifdef LARGE_CONFIG # define MAX_ROOT_SETS 8192 # elif !defined(SMALL_CONFIG) -# define MAX_ROOT_SETS 2048 +# define MAX_ROOT_SETS 8192 # else # define MAX_ROOT_SETS 512 # endif