[DOC] ruby.1: Refine RUBY_GC_HEAP_n_INIT_SLOTS description

This commit is contained in:
Nobuyoshi Nakada 2024-06-04 18:01:58 +09:00
Родитель bdcdeb7918
Коммит 1ac3a71d66
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 3582D74E1FEE4465
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -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