Skip to content

Commit

Permalink
Disable tracking of big values in the Julia GC by default.
Browse files Browse the repository at this point in the history
This suppresses a potential problem with marking large objects as
roots.
  • Loading branch information
rbehrends committed Apr 15, 2019
1 parent f32268b commit 379b538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia_gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
// if DISABLE_BIGVAL_TRACKING is defined, we don't track the location of
// large bags; this speeds up some things, but may expose bugs in GAP code
// which incorrectly holds pointers into bags over a GC.
// #define DISABLE_BIGVAL_TRACKING
#define DISABLE_BIGVAL_TRACKING

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

0 comments on commit 379b538

Please sign in to comment.