Permalink
Browse files

Mark whole root objects in final_marking_phase(); fix #3603

  • Loading branch information...
matz committed Apr 17, 2017
1 parent 3231219 commit 761493934e19d1a6edea53e9fbdb39eb78ef898e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gc.c
View
@@ -996,7 +996,7 @@ incremental_marking_phase(mrb_state *mrb, mrb_gc *gc, size_t limit)
static void
final_marking_phase(mrb_state *mrb, mrb_gc *gc)
{
mark_context_stack(mrb, mrb->root_c);
mark_context(mrb, mrb->root_c);
gc_mark_gray_list(mrb, gc);
mrb_assert(gc->gray_list == NULL);
gc->gray_list = gc->atomic_gray_list;

0 comments on commit 7614939

Please sign in to comment.