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:
parent
053dbf0b61
commit
910b62af8f
13 changed files with 221 additions and 94 deletions
16
gc-config.h
16
gc-config.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue