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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4b566dfdd
commit
25049e983d
@ -1,3 +1,8 @@
|
||||
Tue Sep 20 23:02:50 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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@mbf.nifty.com>
|
||||
|
||||
* doc/extension.ja.rdoc: translate r56189 (rb_gc_adjust_memory_usage).
|
||||
|
3
gc.c
3
gc.c
@ -6576,7 +6576,8 @@ Init_stack(volatile VALUE *addr)
|
||||
* 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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user