diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-24 04:29:53 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-24 04:29:53 +0000 |
commit | a4ba41a29d9d0281f7e62ef94ffbd778a34c91db (patch) | |
tree | a1f9d0408200dd552b82db6243af0b9580be797d /gc.c | |
parent | bda726223f88b12e31634daecbe75cecb1885640 (diff) |
rename it to a more fitting name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -360,7 +360,7 @@ static void init_mark_stack(mark_stack_t *stack); static VALUE lazy_sweep_enable(void); static int garbage_collect(rb_objspace_t *); -static int gc_aquire_free_object(rb_objspace_t *); +static int gc_prepare_free_objects(rb_objspace_t *); static void mark_tbl(rb_objspace_t *, st_table *); static void rest_sweep(rb_objspace_t *); static void gc_mark_stacked_objects(rb_objspace_t *); @@ -666,7 +666,7 @@ newobj(VALUE klass, VALUE flags) } if (UNLIKELY(!has_free_object)) { - if (!gc_aquire_free_object(objspace)) { + if (!gc_prepare_free_objects(objspace)) { during_gc = 0; rb_memerror(); } @@ -2044,7 +2044,7 @@ rest_sweep(rb_objspace_t *objspace) static void gc_marks(rb_objspace_t *objspace); static int -gc_aquire_free_object(rb_objspace_t *objspace) +gc_prepare_free_objects(rb_objspace_t *objspace) { int res; |