HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/ObjectSpace/cdesc-ObjectSpace.ri
U:RDoc::NormalModule[iI"ObjectSpace:ET@0o:RDoc::Markup::Document:@parts[
o;;[:
@fileI""ext/objspace/object_tracing.c;T:0@omit_headings_from_table_of_contents_below0o;;[
o:RDoc::Markup::Paragraph;[I"JThe objspace library extends the ObjectSpace module and adds several ;TI"9methods to get internal statistic information about ;TI"object/memory management.;To:RDoc::Markup::BlankLineo;;[I"NYou need to <code>require 'objspace'</code> to use this extension module.;T@o;;[	I"EGenerally, you *SHOULD NOT* use this library if you do not know ;TI"Iabout the MRI implementation.  Mainly, this library is for (memory) ;TI"Gprofiler developers and MRI developers who need to know about MRI ;TI"memory usage.;T;	I"ext/objspace/objspace.c;T;
0o;;[;	I"!ext/objspace/objspace_dump.c;T;
0o;;[
o;;[I":The ObjectSpace module contains a number of routines ;TI"Ithat interact with the garbage collection facility and allow you to ;TI"2traverse all living objects with an iterator.;T@o;;[I"QObjectSpace also provides support for object finalizers, procs that will be ;TI"Gcalled when a specific object is about to be destroyed by garbage ;TI"collection.;T@o:RDoc::Markup::Verbatim;[I"require 'objspace'
;TI"
;TI"
a = "A"
;TI"
b = "B"
;TI"
;TI"QObjectSpace.define_finalizer(a, proc {|id| puts "Finalizer one on #{id}" })
;TI"QObjectSpace.define_finalizer(b, proc {|id| puts "Finalizer two on #{id}" })
;T:@format0o;;[I"_produces:_;T@o;
;[I" Finalizer two on 537763470
;TI"Finalizer one on 537763480;T;0;	I"	gc.c;T;
0o;;[;	I"
gc.rb;T;
0;	0;
0[[[[[I"
class;T[[:public["[I"_id2ref;TI"../ruby-2.7.7/gc.c;T[I"allocation_class_path;TI"0../ruby-2.7.7/ext/objspace/object_tracing.c;T[I"allocation_generation;T@P[I"allocation_method_id;T@P[I"allocation_sourcefile;T@P[I"allocation_sourceline;T@P[I"count_imemo_objects;TI"*../ruby-2.7.7/ext/objspace/objspace.c;T[I"count_nodes;T@[[I"count_objects;T@M[I"count_objects_size;T@[[I"count_symbols;T@[[I"count_tdata_objects;T@[[I"define_finalizer;T@M[I"	dump;TI"/../ruby-2.7.7/ext/objspace/objspace_dump.c;T[I"
dump_all;T@j[I"each_object;T@M[I"garbage_collect;TI"../ruby-2.7.7/gc.rb;T[I"internal_class_of;T@[[I"internal_super_of;T@[[I"memsize_of;T@[[I"memsize_of_all;T@[[I"reachable_objects_from;T@[[I" reachable_objects_from_root;T@[[I"trace_object_allocations;T@P[I"#trace_object_allocations_clear;T@P[I")trace_object_allocations_debug_start;T@P[I"#trace_object_allocations_start;T@P[I""trace_object_allocations_stop;T@P[I"undefine_finalizer;T@M[:protected[[:private[[I"
instance;T[[;[[;[[;[[@p@q[[U:RDoc::Context::Section[i0o;;[;	0;
0[
I""ext/objspace/object_tracing.c;TI"ext/objspace/objspace.c;TI"!ext/objspace/objspace_dump.c;TI"	gc.c;TI"
gc.rb;TI"lib/cgi/session.rb;TI"lib/drb/weakidconv.rb;TI"lib/weakref.rb;T@AcRDoc::TopLevel