Skip to content

Commit 65c4bd4

Browse files
committed
Disable tracking of big values in the Julia GC by default.
This suppresses a potential problem with marking large objects as roots.
1 parent b0b66d9 commit 65c4bd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/julia_gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
// if DISABLE_BIGVAL_TRACKING is defined, we don't track the location of
4141
// large bags; this speeds up some things, but may expose bugs in GAP code
4242
// which incorrectly holds pointers into bags over a GC.
43-
// #define DISABLE_BIGVAL_TRACKING
43+
#define DISABLE_BIGVAL_TRACKING
4444

4545
// if REQUIRE_PRECISE_MARKING is defined, we assume that all marking
4646
// functions are precise, i.e., they only invoke MarkBag on valid bags,

0 commit comments

Comments
 (0)