[ruby-cvs:50492] ko1:r43350 (trunk): * gc.c: change terminology of heap.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Oct 18 15:33:39 JST 2013


ko1	2013-10-18 15:33:36 +0900 (Fri, 18 Oct 2013)

  New Revision: 43350

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

  Log:
    * gc.c: change terminology of heap.
      Change "slot" to "page". "Slot" is a space of RVALUE.
      1. "Heap" consists of a set of "heap_page"s (pages).
      2. Each "heap_page" has "heap_page_body".
      3. "heap_page_body" has RVALUE (a.k.a. "slot") spaces.
      4. "sorted" is a sorted array of "heap_page"s, sorted
      by address of heap_page_body (for "is_pointer_to_heap").
      See https://bugs.ruby-lang.org/attachments/4008/data-heap_structure.png.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list