[Bug #18451] [ci skip] Update documentation for GC.stat

Adds documentation for keys `time`, `compact_count`,
`read_barrier_faults`, `total_moved_objects`.
This commit is contained in:
Peter Zhu 2021-12-29 16:17:28 -05:00
Родитель 002fa28599
Коммит 52525b527b
1 изменённых файлов: 9 добавлений и 0 удалений

9
gc.rb
Просмотреть файл

@ -136,6 +136,8 @@ module GC
# [count]
# The total number of garbage collections ran since application start
# (count includes both minor and major garbage collections)
# [time]
# The total time spent in garbage collections (in milliseconds)
# [heap_allocated_pages]
# The total number of `:heap_eden_pages` + `:heap_tomb_pages`
# [heap_sorted_length]
@ -173,6 +175,13 @@ module GC
# The total number of minor garbage collections run since process start
# [major_gc_count]
# The total number of major garbage collections run since process start
# [compact_count]
# The total number of compactions run since process start
# [read_barrier_faults]
# The total number of times the read barrier was triggered during
# compaction
# [total_moved_objects]
# The total number of objects compaction has moved
# [remembered_wb_unprotected_objects]
# The total number of objects without write barriers
# [remembered_wb_unprotected_objects_limit]