1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-15 10:10:21 +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

@ -26,9 +26,11 @@ static inline void gc_trace_object(struct gc_ref ref,
}
}
#if GC_PRECISE
#if GC_PRECISE_ROOTS
#include "precise-roots-embedder.h"
#else
#endif
#if GC_CONSERVATIVE_ROOTS
#include "conservative-roots-embedder.h"
#endif