1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-27 21:40:34 +02:00

Add conservative heap tracing (not just roots)

Also accelerate mark_space_live_object_granules.
This commit is contained in:
Andy Wingo 2022-10-26 10:37:55 +02:00
parent 053dbf0b61
commit 910b62af8f
13 changed files with 221 additions and 94 deletions

View file

@ -13,8 +13,20 @@
#define GC_GENERATIONAL 0
#endif
#ifndef GC_PRECISE
#define GC_PRECISE 0
// Though you normally wouldn't configure things this way, it's possible
// to have both precise and conservative roots. However we have to
// either have precise or conservative tracing; not a mix.
#ifndef GC_PRECISE_ROOTS
#define GC_PRECISE_ROOTS 0
#endif
#ifndef GC_CONSERVATIVE_ROOTS
#define GC_CONSERVATIVE_ROOTS 0
#endif
#ifndef GC_CONSERVATIVE_TRACE
#define GC_CONSERVATIVE_TRACE 0
#endif
#endif // GC_CONFIG_H