Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c969b4

Browse files
committed
wip: enable stacks and extra roots
1 parent ee9a28c commit 9c969b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/gc_free_threading.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
#define GC_ENABLE_MARK_ALIVE 1
2424

2525
// include addtional roots in "mark alive" pass
26-
//#define GC_MARK_ALIVE_EXTRA_ROOTS 1
26+
#define GC_MARK_ALIVE_EXTRA_ROOTS 1
2727

2828
// include Python stacks as set of known roots
29-
//#define GC_MARK_ALIVE_STACKS 1
29+
#define GC_MARK_ALIVE_STACKS 1
3030

3131

3232
#ifdef Py_GIL_DISABLED

0 commit comments

Comments
 (0)