зеркало из https://github.com/github/ruby.git
* gc.c (gc_mark_stacked_objects): fix error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c3cbfa417b
Коммит
009bf7be44
|
@ -1,3 +1,7 @@
|
|||
Fri Jul 25 13:42:02 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (gc_mark_stacked_objects): fix error message.
|
||||
|
||||
Fri Jul 25 13:18:00 2014 Will Farrington <wfarrington@digitalocean.com>
|
||||
|
||||
* ext/socket/socket.c (sock_gethostname): Use NI_MAXHOST to support
|
||||
|
|
2
gc.c
2
gc.c
|
@ -4101,7 +4101,7 @@ gc_mark_stacked_objects(rb_objspace_t *objspace)
|
|||
if (!mstack->index) return;
|
||||
while (pop_mark_stack(mstack, &obj)) {
|
||||
if (RGENGC_CHECK_MODE > 0 && !gc_marked(objspace, obj)) {
|
||||
rb_bug("gc_mark_stacked_objects: %p (%s) is infant, but not marked.", (void *)obj, obj_type_name(obj));
|
||||
rb_bug("gc_mark_stacked_objects: %p (%s) is not marked.", (void *)obj, obj_type_name(obj));
|
||||
}
|
||||
gc_mark_children(objspace, obj);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче