mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gc.c (gc_profile_record_get): fix spelling error in keys
This may cause compatibility problems for some users, but maybe nobody tracked it closely in the past because it is disabled by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cd56fbdf12
commit
4f1178ac84
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Jul 5 18:25:37 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* gc.c (gc_profile_record_get): fix spelling error in keys
|
||||
|
||||
Sun Jul 5 14:49:01 2015 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
|
||||
|
||||
* README.md: fix a typo pointed out by raoulvdberge.
|
||||
|
|
4
gc.c
4
gc.c
|
@ -8536,8 +8536,8 @@ gc_profile_record_get(void)
|
|||
|
||||
#if RGENGC_PROFILE > 0
|
||||
rb_hash_aset(prof, ID2SYM(rb_intern("OLD_OBJECTS")), SIZET2NUM(record->old_objects));
|
||||
rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBED_NORMAL_OBJECTS")), SIZET2NUM(record->remembered_normal_objects));
|
||||
rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBED_SHADY_OBJECTS")), SIZET2NUM(record->remembered_shady_objects));
|
||||
rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBERED_NORMAL_OBJECTS")), SIZET2NUM(record->remembered_normal_objects));
|
||||
rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBERED_SHADY_OBJECTS")), SIZET2NUM(record->remembered_shady_objects));
|
||||
#endif
|
||||
rb_ary_push(gc_profile, prof);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue