Ruby  1.9.3p448(2013-06-27revision41675)
Data Fields
rb_objspace Struct Reference

Data Fields

struct {
   size_t   limit
   size_t   increase
malloc_params
struct {
   size_t   increment
   struct heaps_slot *   ptr
   struct heaps_slot *   sweep_slots
   struct sorted_heaps_slot *   sorted
   size_t   length
   size_t   used
   RVALUE *   freelist
   RVALUE *   range [2]
   RVALUE *   freed
   size_t   live_num
   size_t   free_num
   size_t   free_min
   size_t   final_num
   size_t   do_heap_free
heap
struct {
   int   dont_gc
   int   dont_lazy_sweep
   int   during_gc
flags
struct {
   st_table *   table
   RVALUE *   deferred
final
mark_stack_t mark_stack
struct {
   int   run
   gc_profile_record *   record
   size_t   count
   size_t   size
   double   invoke_time
profile
struct gc_listglobal_list
int gc_stress

Detailed Description

Definition at line 351 of file gc.c.


Field Documentation

Definition at line 383 of file gc.c.

Definition at line 374 of file gc.c.

Referenced by before_gc_sweep(), and slot_sweep().

Definition at line 377 of file gc.c.

Definition at line 378 of file gc.c.

Referenced by gc_lazy_sweep(), and lazy_sweep_enable().

Definition at line 379 of file gc.c.

struct { ... } rb_objspace::final

Definition at line 373 of file gc.c.

Referenced by gc_stat(), run_final(), and slot_sweep().

struct { ... } rb_objspace::flags

Referenced by gc_lazy_sweep(), and lazy_sweep_enable().

Definition at line 372 of file gc.c.

Referenced by after_gc_sweep(), before_gc_sweep(), and gc_lazy_sweep().

Definition at line 371 of file gc.c.

Referenced by after_gc_sweep(), assign_heap_slot(), before_gc_sweep(), gc_stat(), and slot_sweep().

Definition at line 369 of file gc.c.

Definition at line 367 of file gc.c.

Definition at line 395 of file gc.c.

Definition at line 393 of file gc.c.

struct { ... } rb_objspace::heap

Definition at line 354 of file gc.c.

Definition at line 361 of file gc.c.

Referenced by gc_stat().

Definition at line 391 of file gc.c.

Referenced by init_heap().

Definition at line 365 of file gc.c.

Referenced by gc_stat().

Definition at line 353 of file gc.c.

Definition at line 370 of file gc.c.

Referenced by after_gc_sweep(), gc_lazy_sweep(), gc_mark(), gc_mark_children(), gc_marks(), and gc_stat().

Definition at line 385 of file gc.c.

Referenced by gc_mark(), gc_mark_stacked_objects(), init_heap(), and rb_objspace_free().

struct { ... } rb_objspace::profile

Definition at line 362 of file gc.c.

Referenced by rb_thread_mark(), thread_free(), thread_memsize(), and vm_memsize().

Definition at line 368 of file gc.c.

Definition at line 390 of file gc.c.

Referenced by gc_profile_clear().

Definition at line 382 of file gc.c.

Definition at line 366 of file gc.c.

Referenced by gc_stat().


The documentation for this struct was generated from the following file: