D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
GC
/
Filename :
stat-c.ri
back
Copy
U:RDoc::AnyMethod[iI" stat:ETI" GC::stat;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"9Returns a Hash containing information about the \GC.;To:RDoc::Markup::BlankLine o; ; [I"LThe contents of the hash are implementation-specific and may change in ;TI"the future without notice.;T@o; ; [I"=The hash includes internal statistics about \GC such as:;T@o:RDoc::Markup::List: @type: LABEL:@items["o:RDoc::Markup::ListItem:@label[I" count;T; [o; ; [I"IThe total number of garbage collections run since application start ;TI">(count includes both minor and major garbage collections);To;;[I" time;T; [o; ; [I"BThe total time spent in garbage collections (in milliseconds);To;;[I"heap_allocated_pages;T; [o; ; [I"@The total number of +:heap_eden_pages+ + +:heap_tomb_pages+;To;;[I"heap_sorted_length;T; [o; ; [I"OThe number of pages that can fit into the buffer that holds references to ;TI"all pages;To;;[I"heap_allocatable_pages;T; [o; ; [I"TThe total number of pages the application could allocate without additional \GC;To;;[I"heap_available_slots;T; [o; ; [I"=The total number of slots in all +:heap_allocated_pages+;To;;[I"heap_live_slots;T; [o; ; [I"9The total number of slots which contain live objects;To;;[I"heap_free_slots;T; [o; ; [I"@The total number of slots which do not contain live objects;To;;[I"heap_final_slots;T; [o; ; [I"@The total number of slots with pending finalizers to be run;To;;[I"heap_marked_slots;T; [o; ; [I"7The total number of objects marked in the last \GC;To;;[I"heap_eden_pages;T; [o; ; [I"CThe total number of pages which contain at least one live slot;To;;[I"heap_tomb_pages;T; [o; ; [I"BThe total number of pages which do not contain any live slots;To;;[I"total_allocated_pages;T; [o; ; [I"EThe cumulative number of pages allocated since application start;To;;[I"total_freed_pages;T; [o; ; [I"AThe cumulative number of pages freed since application start;To;;[I"total_allocated_objects;T; [o; ; [I"GThe cumulative number of objects allocated since application start;To;;[I"total_freed_objects;T; [o; ; [I"CThe cumulative number of objects freed since application start;To;;[I"malloc_increase_bytes;T; [o; ; [I"MAmount of memory allocated on the heap for objects. Decreased by any \GC;To;;[I" malloc_increase_bytes_limit;T; [o; ; [I"GWhen +:malloc_increase_bytes+ crosses this limit, \GC is triggered;To;;[I"minor_gc_count;T; [o; ; [I"JThe total number of minor garbage collections run since process start;To;;[I"major_gc_count;T; [o; ; [I"JThe total number of major garbage collections run since process start;To;;[I"compact_count;T; [o; ; [I"<The total number of compactions run since process start;To;;[I"read_barrier_faults;T; [o; ; [I"EThe total number of times the read barrier was triggered during ;TI"compaction;To;;[I"total_moved_objects;T; [o; ; [I"5The total number of objects compaction has moved;To;;[I"&remembered_wb_unprotected_objects;T; [o; ; [I"7The total number of objects without write barriers;To;;[I",remembered_wb_unprotected_objects_limit;T; [o; ; [I"CWhen +:remembered_wb_unprotected_objects+ crosses this limit, ;TI"major \GC is triggered;To;;[I"old_objects;T; [o; ; [I"SNumber of live, old objects which have survived at least 3 garbage collections;To;;[I"old_objects_limit;T; [o; ; [I"CWhen +:old_objects+ crosses this limit, major \GC is triggered;To;;[I"oldmalloc_increase_bytes;T; [o; ; [I"OAmount of memory allocated on the heap for objects. Decreased by major \GC;To;;[I"#oldmalloc_increase_bytes_limit;T; [o; ; [I"PWhen +:oldmalloc_increase_bytes+ crosses this limit, major \GC is triggered;T@o; ; [I"/If the optional argument, hash, is given, ;TI"%it is overwritten and returned. ;TI"0This is intended to avoid the probe effect.;T@o; ; [I"3This method is only expected to work on CRuby.;T: @fileI" gc.rb;T:0@omit_headings_from_table_of_contents_below0I"DGC.stat -> Hash GC.stat(hash) -> Hash GC.stat(:key) -> Numeric ;T0[ I"(hash_or_key = nil);T@�FI"GC;TcRDoc::NormalModule00