Call GC_allow_register_threads() to enable parallel marking in Boehm GC

This commit is contained in:
Eelco Dolstra
2025-08-04 19:01:33 +02:00
parent c4c3203b7b
commit a3ff648f90

View File

@@ -53,6 +53,9 @@ static inline void initGCReal()
GC_INIT();
/* Enable parallel marking. */
GC_allow_register_threads();
/* Register valid displacements in case we are using alignment niches
for storing the type information. This way tagged pointers are considered
to be valid, even when they are not aligned. */