gc.c (is_swept_object): extract from is_dead_object().
gc.c (rb_gcdebug_print_obj_condition): add the function for debug. This function shows some conditions of given object (e.g., marked, in heap, swept).
gc.c (rb_gcdebug_sentinel): add the function for debug. This function allow check to inadvertently free up an object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
gc.c (is_swept_object): extract from is_dead_object().
gc.c (rb_gcdebug_print_obj_condition): add the function for debug.
This function shows some conditions of given object (e.g.,
marked, in heap, swept).
gc.c (rb_gcdebug_sentinel): add the function for debug.
This function allow check to inadvertently free up an object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e