PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
ObjectSpace
U:RDoc::AnyMethod[iI"count_symbols:ETI"ObjectSpace::count_symbols;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I")Counts symbols for each Symbol type.;To:RDoc::Markup::BlankLine o; ; [I"QThis method is only for MRI developers interested in performance and memory ;TI"usage of Ruby programs.;T@o; ; [I"LIf the optional argument, result_hash, is given, it is overwritten and ;TI"6returned. This is intended to avoid probe effect.;T@o; ; [I"Note: ;TI"BThe contents of the returned hash is implementation defined. ;TI"!It may be changed in future.;T@o; ; [I"6This method is only expected to work with C Ruby.;T@o; ; [I"OOn this version of MRI, they have 3 types of Symbols (and 1 total counts).;T@o:RDoc::Markup::Verbatim; [ I"B* mortal_dynamic_symbol: GC target symbols (collected by GC) ;TI"h* immortal_dynamic_symbol: Immortal symbols promoted from dynamic symbols (do not collected by GC) ;TI"I* immortal_static_symbol: Immortal symbols (do not collected by GC) ;TI"_* immortal_symbol: total immortal symbols (immortal_dynamic_symbol+immortal_static_symbol);T:@format0: @fileI"ext/objspace/objspace.c;T:0@omit_headings_from_table_of_contents_below0I"6ObjectSpace.count_symbols([result_hash]) -> hash ;T0[ I"(*args);T@(FI"ObjectSpace;TcRDoc::NormalModule00
[-] trace_object_allocations_stop-c.ri
[edit]
[-] define_finalizer-c.ri
[edit]
[-] reachable_objects_from_root-c.ri
[edit]
[+]
WeakMap
[-] allocation_class_path-c.ri
[edit]
[-] count_imemo_objects-c.ri
[edit]
[-] dump_shapes-i.ri
[edit]
[-] internal_super_of-c.ri
[edit]
[-] garbage_collect-i.ri
[edit]
[-] allocation_sourceline-c.ri
[edit]
[-] count_symbols-c.ri
[edit]
[-] reachable_objects_from-c.ri
[edit]
[-] count_nodes-c.ri
[edit]
[-] count_objects-c.ri
[edit]
[-] trace_object_allocations_start-c.ri
[edit]
[-] cdesc-ObjectSpace.ri
[edit]
[+]
InternalObjectWrapper
[-] trace_object_allocations-c.ri
[edit]
[-] dump-i.ri
[edit]
[-] memsize_of-c.ri
[edit]
[+]
..
[-] allocation_method_id-c.ri
[edit]
[-] dump_all-i.ri
[edit]
[-] allocation_generation-c.ri
[edit]
[-] trace_object_allocations_clear-c.ri
[edit]
[-] memsize_of_all-c.ri
[edit]
[+]
WeakKeyMap
[-] trace_object_allocations_debug_start-c.ri
[edit]
[-] internal_class_of-c.ri
[edit]
[-] count_tdata_objects-c.ri
[edit]
[-] each_object-c.ri
[edit]
[-] garbage_collect-c.ri
[edit]
[-] allocation_sourcefile-c.ri
[edit]
[-] undefine_finalizer-c.ri
[edit]
[-] count_objects_size-c.ri
[edit]