mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-27 21:40:34 +02:00
Add conservative stack capture
This isn't really wired up yet anywhere, but add a precursor to conservative stack scanning.
This commit is contained in:
parent
a5b1a66d21
commit
d2bde8319f
10 changed files with 200 additions and 58 deletions
3
quads.c
3
quads.c
|
@ -136,7 +136,8 @@ int main(int argc, char *argv[]) {
|
|||
{ GC_OPTION_PARALLELISM, parallelism } };
|
||||
struct gc_heap *heap;
|
||||
struct gc_mutator *mut;
|
||||
if (!gc_init(sizeof options / sizeof options[0], options, &heap, &mut)) {
|
||||
if (!gc_init(sizeof options / sizeof options[0], options, NULL, &heap,
|
||||
&mut)) {
|
||||
fprintf(stderr, "Failed to initialize GC with heap size %zu bytes\n",
|
||||
heap_size);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue