ruby-changes:40915
From: ko1 <ko1@a...>
Date: Wed, 9 Dec 2015 14:50:00 +0900 (JST)
Subject: [ruby-changes:40915] ko1:r52994 (trunk): * gc.c (gc_mark_stacked_objects): fix typo.
ko1 2015-12-09 14:49:27 +0900 (Wed, 09 Dec 2015) New Revision: 52994 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52994 Log: * gc.c (gc_mark_stacked_objects): fix typo. reported by XIE Zhibang. [Bug #11763] Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 52993) +++ ChangeLog (revision 52994) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Dec 9 14:45:27 2015 Koichi Sasada <ko1@a...> + + * gc.c (gc_mark_stacked_objects): fix typo. + reported by XIE Zhibang. [Bug #11763] + Wed Dec 9 14:37:51 2015 Shugo Maeda <shugo@r...> * doc/syntax/refinements.rdoc: remove outdated description. Index: gc.c =================================================================== --- gc.c (revision 52993) +++ gc.c (revision 52994) @@ -4515,7 +4515,7 @@ gc_mark_stacked_objects(rb_objspace_t *o https://github.com/ruby/ruby/blob/trunk/gc.c#L4515 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 *o https://github.com/ruby/ruby/blob/trunk/gc.c#L4535 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; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/