mark stacks in final_marking; close #1359; close #1362

parent 8b29f10b
...@@ -769,6 +769,7 @@ incremental_marking_phase(mrb_state *mrb, size_t limit) ...@@ -769,6 +769,7 @@ incremental_marking_phase(mrb_state *mrb, size_t limit)
static void static void
final_marking_phase(mrb_state *mrb) final_marking_phase(mrb_state *mrb)
{ {
mark_context_stack(mrb, mrb->root_c);
while (mrb->gray_list) { while (mrb->gray_list) {
if (is_gray(mrb->gray_list)) if (is_gray(mrb->gray_list))
gc_mark_children(mrb, mrb->gray_list); gc_mark_children(mrb, mrb->gray_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment