summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-06-04 18:01:58 +0900
committerNobuyoshi Nakada <[email protected]>2024-06-04 18:01:58 +0900
commit1ac3a71d66ad6549a4de65481c81bb002e3650ac (patch)
tree29ff12fb917a0588d2af76962ce3c5b39f69e9f0 /man
parentbdcdeb7918ee692ec3ade73cefc1ee6d9f542d47 (diff)
[DOC] ruby.1: Refine RUBY_GC_HEAP_n_INIT_SLOTS description
Diffstat (limited to 'man')
-rw-r--r--man/ruby.17
1 files changed, 5 insertions, 2 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index 69acba35fe..905c712f4c 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -588,11 +588,14 @@ Reaching the old malloc limit.
.Pp
There are currently 4 possible areas where the GC may be tuned by
the following environment variables:
-.Bl -hang -compact -width "RUBY_GC_HEAP_%d_INIT_SLOTS"
-.It Ev RUBY_GC_HEAP_ Ns Ar %d Ns Ev _INIT_SLOTS
+.Bl -hang -compact -width "RUBY_GC_HEAP_n_INIT_SLOTS"
+.Pp
+.It Ev RUBY_GC_HEAP_ Ns Ar n Ns Ev _INIT_SLOTS
Initial allocation of slots in a specific heap.
The available heaps can be found in the keys of
.Li GC.stat_heap .
+.Ar n
+is a decimal number between 0 and 4.
Introduced in Ruby 3.3.
.Pp
.It Ev RUBY_GC_HEAP_FREE_SLOTS