Skip to content
Browse files
Mark the current context (not root) in final marking.
  • Loading branch information
matz committed May 29, 2017
1 parent 8e390cc commit 9f634a6f8b78ac9099238407cf15d4abca9b808c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -993,7 +993,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(mrb, mrb->root_c);
mark_context(mrb, mrb->c);
gc_mark_gray_list(mrb, gc);
mrb_assert(gc->gray_list == NULL);
gc->gray_list = gc->atomic_gray_list;

0 comments on commit 9f634a6

Please sign in to comment.