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

ruby-changes:44121

From: nobu <ko1@a...>
Date: Tue, 20 Sep 2016 23:03:01 +0900 (JST)
Subject: [ruby-changes:44121] nobu:r56194 (trunk): gc.c: fix rdoc of garbage_collect [ci skip]

nobu	2016-09-20 23:02:53 +0900 (Tue, 20 Sep 2016)

  New Revision: 56194

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

  Log:
    gc.c: fix rdoc of garbage_collect [ci skip]
    
    * gc.c (gc_start_internal): [DOC] add ObjectSpace.garbage_collect
      and fix GC#garbage_collect.  [Bug #12777]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 56193)
+++ gc.c	(revision 56194)
@@ -6576,7 +6576,8 @@ Init_stack(volatile VALUE *addr) https://github.com/ruby/ruby/blob/trunk/gc.c#L6576
  *     GC.start                     -> nil
  *     GC.garbage_collect           -> nil
  *     GC.start(full_mark: true, immediate_sweep: true)           -> nil
- *     GC.garbage_collect(full_mark: true, immediate_sweep: true) -> nil
+ *     ObjectSpace.garbage_collect(full_mark: true, immediate_sweep: true) -> nil
+ *     include GC; garbage_collect(full_mark: true, immediate_sweep: true) -> nil
  *
  *  Initiates garbage collection, unless manually disabled.
  *
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56193)
+++ ChangeLog	(revision 56194)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Sep 20 23:02:50 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* gc.c (gc_start_internal): [DOC] add ObjectSpace.garbage_collect
+	  and fix GC#garbage_collect.  [Bug #12777]
+
 Tue Sep 20 21:24:01 2016  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* doc/extension.ja.rdoc: translate r56189 (rb_gc_adjust_memory_usage).

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

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