Ruby  2.0.0p247(2013-06-27revision41674)
Data Structures | Data Fields
rb_objspace Struct Reference

Data Structures

struct  mark_func_data_struct

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 heaps_slot *   free_slots
   struct heaps_header **   sorted
   size_t   length
   size_t   used
   struct heaps_free_bitmap *   free_bitmap
   RVALUE *   range [2]
   struct heaps_header *   freed
   size_t   marked_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
   rb_atomic_t   finalizing
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
size_t total_allocated_object_num
size_t total_freed_object_num
int gc_stress
struct
rb_objspace::mark_func_data_struct
mark_func_data

Detailed Description

Definition at line 208 of file gc.c.


Field Documentation

Definition at line 242 of file gc.c.

Definition at line 232 of file gc.c.

Referenced by before_gc_sweep(), and slot_sweep().

Definition at line 235 of file gc.c.

Definition at line 236 of file gc.c.

Referenced by gc_prepare_free_objects(), and lazy_sweep_enable().

Definition at line 237 of file gc.c.

struct { ... } rb_objspace::final

Definition at line 231 of file gc.c.

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

Definition at line 238 of file gc.c.

struct { ... } rb_objspace::flags

Definition at line 225 of file gc.c.

Referenced by allocate_sorted_heaps(), assign_heap_slot(), free_unused_heaps(), and rb_objspace_free().

Definition at line 230 of file gc.c.

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

Definition at line 221 of file gc.c.

Referenced by before_gc_sweep(), link_free_heap_slot(), newobj(), and unlink_free_heap_slot().

Definition at line 227 of file gc.c.

Definition at line 256 of file gc.c.

Definition at line 252 of file gc.c.

struct { ... } rb_objspace::heap

Definition at line 211 of file gc.c.

Definition at line 218 of file gc.c.

Referenced by gc_stat().

Definition at line 250 of file gc.c.

Referenced by gc_prof_timer_start(), and init_heap().

Definition at line 223 of file gc.c.

Referenced by gc_stat().

Definition at line 210 of file gc.c.

Definition at line 244 of file gc.c.

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

Definition at line 228 of file gc.c.

Referenced by after_gc_sweep(), gc_mark_ptr(), gc_marks(), and gc_prepare_free_objects().

struct { ... } rb_objspace::profile

Definition at line 219 of file gc.c.

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

Definition at line 226 of file gc.c.

Definition at line 249 of file gc.c.

Referenced by gc_prof_timer_start(), and gc_profile_clear().

Definition at line 241 of file gc.c.

Definition at line 254 of file gc.c.

Referenced by gc_stat(), newobj(), and objspace_live_num().

Definition at line 255 of file gc.c.

Referenced by finalize_list(), gc_stat(), objspace_live_num(), rb_gc_force_recycle(), and slot_sweep().

Definition at line 224 of file gc.c.

Referenced by gc_stat().


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