mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 01:07:34 +02:00
Added notes
This commit is contained in:
parent
22275832b5
commit
09f4a638cf
1 changed files with 4 additions and 0 deletions
4
gc.c
4
gc.c
|
@ -704,6 +704,10 @@ void gc_stack_mark_gray3(gc_thread_data *thd, object obj, int depth)
|
|||
object high_limit = ((gc_thread_data *)thd)->stack_start;
|
||||
int color;
|
||||
|
||||
// TODO: is it just a coincidence that a corrupted lambda list element
|
||||
// was at 15? this approach may not work for deep lists, and may not
|
||||
// work at all. may need to replace with another method that is complete
|
||||
// but also handles circular references...
|
||||
if (is_object_type(obj) && depth < 15) {
|
||||
color = mark(obj);
|
||||
#if GC_SAFETY_CHECKS
|
||||
|
|
Loading…
Add table
Reference in a new issue