summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-08-14 14:04:39 -0400
committerPeter Zhu <[email protected]>2023-08-15 08:54:27 -0400
commit300bc145892488b91f10438f06fe75d03809424c ()
tree71eb36c85fd53c1f3a60cc550871fd2a82f485c0
parenta11b90774592ccac72eda0f2a8f1a1e5cc3e4fc6 (diff)
[DOC] Improve some GC docs
Notes: Merged: https://.com/ruby/ruby/pull/8219
-rw-r--r--gc.c2
-rw-r--r--gc.rb2
2 files changed, 2 insertions, 2 deletions
@@ -13813,7 +13813,7 @@ Init_GC(void)
rb_hash_aset(gc_constants, ID2SYM(rb_intern("RB_BUG_INSTEAD_OF_RB_MEMERROR")), Qtrue);
}
OBJ_FREEZE(gc_constants);
- /* internal constants */
rb_define_const(rb_mGC, "INTERNAL_CONSTANTS", gc_constants);
rb_mProfiler = rb_define_module_under(rb_mGC, "Profiler");
@@ -1,6 +1,6 @@
# for gc.c
-# The GC module provides an interface to Ruby's mark and
# sweep garbage collection mechanism.
#
# Some of the underlying methods are also available via the ObjectSpace