[前][次][番号順一覧][スレッド一覧]

ruby-changes:70655

From: Peter <ko1@a...>
Date: Thu, 30 Dec 2021 06:21:05 +0900 (JST)
Subject: [ruby-changes:70655] 52525b527b (master): [Bug #18451] [ci skip] Update documentation for GC.stat

https://git.ruby-lang.org/ruby.git/commit/?id=52525b527b

From 52525b527b4605435110bd61fb9e04d82ca26ff7 Mon Sep 17 00:00:00 2001
From: Peter Zhu <peter@p...>
Date: Wed, 29 Dec 2021 16:17:28 -0500
Subject: [Bug #18451] [ci skip] Update documentation for GC.stat

Adds documentation for keys `time`, `compact_count`,
`read_barrier_faults`, `total_moved_objects`.
---
 gc.rb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gc.rb b/gc.rb
index 72637f37960..887fc06d264 100644
--- a/gc.rb
+++ b/gc.rb
@@ -136,6 +136,8 @@ module GC https://github.com/ruby/ruby/blob/trunk/gc.rb#L136
   #  [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 https://github.com/ruby/ruby/blob/trunk/gc.rb#L175
   #    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]
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]