diff --git a/ChangeLog b/ChangeLog index ee6b167c0e..a08d6b3ba1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 5 20:14:32 2013 Masaya Tarui + + * gc.c (is_live_object): A hidden object may be a live object. + [ruby-dev:47788] [Bug #9072] + Tue Nov 5 13:37:19 2013 Koichi Sasada * gc.c: add support to estimate increase of oldspace memory usage. diff --git a/gc.c b/gc.c index 292cb74793..1356702fa1 100644 --- a/gc.c +++ b/gc.c @@ -2193,7 +2193,6 @@ is_live_object(rb_objspace_t *objspace, VALUE ptr) case 0: case T_ZOMBIE: return FALSE; } - if (RBASIC(ptr)->klass == 0) return FALSE; if (is_dead_object(objspace, ptr)) return FALSE; return TRUE; }