diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-08-14 11:24:50 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-08-15 15:18:05 -0400 |
commit | 0f94e653597dc2ae21ae39ac4c85266f3bb36ab6 (patch) | |
tree | 2adacaf075c1570a43d5150c32c206a5abd27a3a /gc.rb | |
parent | 8c5b9ebf7144af73cf52209b73b849c078133dff (diff) |
Add stat force_incremental_marking_finish_count
This commit adds key force_incremental_marking_finish_count to
GC.stat_heap. This statistic returns the number of times the size pool
has forced incremental marking to finish due to running out of slots.
Diffstat (limited to 'gc.rb')
-rw-r--r-- | gc.rb | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -244,6 +244,9 @@ module GC # [force_major_gc_count] # The number of times major garbage collection cycles this heap has forced # to start due to running out of free slots. + # [force_incremental_marking_finish_count] + # The number of times this heap has forced incremental marking to complete + # due to running out of pooled slots. # def self.stat_heap heap_name = nil, hash_or_key = nil Primitive.gc_stat_heap heap_name, hash_or_key |