GC.stat fields proposal for Ruby 2.2
Comments
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
Comment only
 
 
Still loading...
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
Ruby 2.0Ruby 2.1Ruby 2.2 (Proposal)DESCRIPTIONASSERTIONS
2
countcountcountGC.countcount = major_gc_count + minor_gc_count
3
N/Aminor_gc_countminor_gc_countMinor GC count
4
N/Amajor_gc_countmajor_gc_countMajor GC count
5
heap_usedheap_usedheap_allocated_pagesCount of allocated pagesheap_allocated_pages = heap_eden_pages + heap_tomb_pages
6
N/Aheap_eden_page_lengthheap_eden_pagesCount of allocated pages for eden
7
N/Aheap_tomb_page_lengthheap_tomb_pagesCount of allocated pages for tomb
8
heap_incrementheap_incrementheap_allocatable_pagesHow many pages we can allocate until next GC
9
heap_lengthheap_lengthheap_sorted_lengthLength of sorted arrayheap_sorted_length >= heap_allocated_pages + heap_allocatable_pages
10
N/AN/Aheap_available_slotsCount of available slots
heap_available_slots = heap_live_slots + heap_free_slots + heap_final_slots
11
heap_live_numheap_live_slotheap_live_slotsCount of living objects slots. This counter includes unmarked, but not swept slots.
heap_live_slots = total_allocated_objects - total_freed_objects - heap_final_slots
12
heap_free_numheap_free_slotheap_free_slotsCount of empty slots
13
heap_final_numheap_final_slotheap_final_slotsCount of finaliizng (zombie) slots
14
N/Aheap_swept_slotheap_swept_slotsCount of swept slots
15
N/AN/Aheap_marked_slotsCount of marked slots
16
N/Aremembered_shady_objectremembered_wb_unprotected_objectsCount of remembered WB unprotected objects
17
N/A
remembered_shady_object_limit
remembered_wb_unprotected_objects_limit
Threashold (do major GC when remembered_wb_unprotected_objects > remembered_wb_unprotected_objects_limit at next GC)
18
N/Aold_objectold_objectsCount of old objects
19
N/Aold_object_limitold_objects_limitThreashold (do major GC when old_objects > old_objects_limit at next GC)
20
N/AN/Atotal_allocated_pagesTotal number of allocated pages in this interpreter processtotal_allocated_pages = heap_allocated_pages + total_freed_pages
21
N/AN/Atotal_freed_pagesTotal number of freed pages in this interpreter process
22
total_allocated_objecttotal_allocated_objecttotal_allocated_objectsTotal number of created objects in this interpreter process
23
total_freed_objecttotal_freed_objecttotal_freed_objectsTotal number of freed objects in this interpreter process
24
malloc_increasemalloc_increasemalloc_increase_bytesAllocated memory size (in byte) since last the GC
25
malloc_limitmalloc_limitmalloc_increase_bytes_limitThreashold (nvoke minor GC (with immediate sweep) when malloc_increase > malloc_limit)
26
N/Aoldmalloc_increaseoldmalloc_increase_bytesAllocated memory size (in byte) since last major GC
27
N/Aoldmalloc_limitoldmalloc_increase_bytes_limitThreashold (invoke major GC when oldmalloc_increase > oldmalloc_limit)
28
29
30
31
`
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1