mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 09:17:35 +02:00
Record marking
This commit is contained in:
parent
ff1fc10a90
commit
e95eeb8732
1 changed files with 1 additions and 0 deletions
1
gc.c
1
gc.c
|
@ -998,6 +998,7 @@ void gc_mark_black(object obj)
|
||||||
if (mark(obj) != gc_color_red) {
|
if (mark(obj) != gc_color_red) {
|
||||||
// Only blacken objects on the heap
|
// Only blacken objects on the heap
|
||||||
mark(obj) = markColor;
|
mark(obj) = markColor;
|
||||||
|
printf("marked %p %d\n", obj, markColor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue