mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-11 03:33:11 -08:00
Using GC_clear_roots() we reduce the set of roots to the one ECL itself determines.
This commit is contained in:
parent
0ab6dc90c0
commit
dd83a988c8
1 changed files with 3 additions and 0 deletions
|
|
@ -195,6 +195,8 @@ init_alloc(void)
|
|||
#if 0
|
||||
GC_init_explicit_typing();
|
||||
#endif
|
||||
GC_clear_roots();
|
||||
GC_disable();
|
||||
|
||||
init_tm(t_shortfloat, "SHORT-FLOAT", /* 8 */
|
||||
sizeof(struct ecl_shortfloat));
|
||||
|
|
@ -232,6 +234,7 @@ init_alloc(void)
|
|||
|
||||
old_GC_push_other_roots = GC_push_other_roots;
|
||||
GC_push_other_roots = stacks_scanner;
|
||||
GC_enable();
|
||||
}
|
||||
|
||||
/**********************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue