Skip to content

Commit 039fa64

Browse files
Implement rb_gc_impl_during_gc_p
1 parent 1c5da40 commit 039fa64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gc/mmtk/mmtk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,8 @@ rb_gc_impl_start(void *objspace_ptr, bool full_mark, bool immediate_mark, bool i
689689
bool
690690
rb_gc_impl_during_gc_p(void *objspace_ptr)
691691
{
692-
// TODO
693-
return false;
692+
struct objspace *objspace = objspace_ptr;
693+
return objspace->world_stopped;
694694
}
695695

696696
static void

0 commit comments

Comments
 (0)