[ruby-cvs:54619] ko1:r47471 (trunk): * gc.c (rb_objspace_t::heap_pages): rename field names:

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Sep 9 18:33:53 JST 2014


ko1	2014-09-09 18:33:52 +0900 (Tue, 09 Sep 2014)

  New Revision: 47471

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47471

  Log:
    * gc.c (rb_objspace_t::heap_pages): rename field names:
      * used -> allocated_pages
      * increment -> allocatable_pages
      * length -> sorted_length
      And remove unused `limt' field.
    * gc.c: rename macros:
      * heap_pages_used -> heap_allocated_pages
      * heap_pages_length -> heap_pages_sorted_length
      * heap_pages_increment -> heap_allocatable_pages
    * gc.c (gc_stat_internal): fix symbol names
      ref: [Feature #9924]
      https://docs.google.com/spreadsheets/d/11Ua4uBr6o0k-nORrZLEIIUkHJ9JRzRR0NyZfrhEEnc8/edit?usp=sharing
      Yellow color fields in this table are changed.
    * test/ruby/test_gc.rb: catch up this change.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/test/ruby/test_gc.rb


More information about the ruby-cvs mailing list