[前][次][番号順一覧][スレッド一覧]

ruby-changes:38810

From: akr <ko1@a...>
Date: Sun, 14 Jun 2015 19:43:31 +0900 (JST)
Subject: [ruby-changes:38810] akr:r50891 (trunk): [DOC]

akr	2015-06-14 19:43:12 +0900 (Sun, 14 Jun 2015)

  New Revision: 50891

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

  Log:
    [DOC]

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 50890)
+++ gc.c	(revision 50891)
@@ -3117,8 +3117,12 @@ set_zero(st_data_t key, st_data_t val, s https://github.com/ruby/ruby/blob/trunk/gc.c#L3117
  *	}
  *
  *  The contents of the returned hash are implementation specific.
- *  It may be changed in future. The +:TOTAL+ key contains the count
- *  of all currently allocated and previously freed objects.
+ *  It may be changed in future.
+ *
+ *  The keys starting with +:T_+ means live objects.
+ *  For example, +:T_ARRAY+ is the number of arrays.
+ *  +:FREE+ means object slots which is not used now.
+ *  +:TOTAL+ means sum of above.
  *
  *  If the optional argument +result_hash+ is given,
  *  it is overwritten and returned. This is intended to avoid probe effect.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]