diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Dec 9 14:45:27 2015 Koichi Sasada <ko1@atdot.net> + + * gc.c (gc_mark_stacked_objects): fix typo. + reported by XIE Zhibang. [Bug #11763] + Wed Dec 9 14:37:51 2015 Shugo Maeda <shugo@ruby-lang.org> * doc/syntax/refinements.rdoc: remove outdated description. @@ -4515,7 +4515,7 @@ gc_mark_stacked_objects(rb_objspace_t *objspace, int incremental, size_t count) mark_stack_t *mstack = &objspace->mark_stack; VALUE obj; #if GC_ENABLE_INCREMENTAL_MARK - size_t marked_slots_at_the_beggining = objspace->marked_slots; + size_t marked_slots_at_the_beginning = objspace->marked_slots; size_t popped_count = 0; #endif @@ -4535,7 +4535,7 @@ gc_mark_stacked_objects(rb_objspace_t *objspace, int incremental, size_t count) CLEAR_IN_BITMAP(GET_HEAP_MARKING_BITS(obj), obj); popped_count++; - if (popped_count + (objspace->marked_slots - marked_slots_at_the_beggining) > count) { + if (popped_count + (objspace->marked_slots - marked_slots_at_the_beginning) > count) { break; } } |