Skip to content

Commit e904e34

Browse files
committed
Call GC_allow_register_threads() to enable parallel marking in Boehm GC
1 parent 18b9f7a commit e904e34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libexpr/eval-gc.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ static inline void initGCReal()
5353

5454
GC_INIT();
5555

56+
/* Enable parallel marking. */
57+
GC_allow_register_threads();
58+
5659
/* Register valid displacements in case we are using alignment niches
5760
for storing the type information. This way tagged pointers are considered
5861
to be valid, even when they are not aligned. */

0 commit comments

Comments
 (0)