Skip to content

Commit

Permalink
Bump rootset count to large configuration
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jacob-hughes committed May 28, 2024
1 parent a3d5b26 commit d81038e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/private/gc_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d81038e

Please sign in to comment.