[ruby-cvs:50472] ko1:r43330 (trunk): * gc.c, internal.h: add new internal memory mangement functions.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Oct 17 16:57:04 JST 2013


ko1	2013-10-17 16:57:03 +0900 (Thu, 17 Oct 2013)

  New Revision: 43330

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

  Log:
    * gc.c, internal.h: add new internal memory mangement functions.
    * void *ruby_xsizedrealloc(void *ptr, size_t new_size, size_t old_size)
    * void ruby_xsizedfree(void *x, size_t size)
      These functions acccept additional size parameter to calculate more
      accurate malloc_increase parameter which control GC timing.
      [Feature #8985]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/internal.h


More information about the ruby-cvs mailing list