Ruby  3.4.0dev (2024-11-22 revision 0989400a925cd201defdca9eb28eb87200b30785)
Data Structures | Data Fields
rb_objspace Struct Reference

Data Structures

struct  rb_gc_config
 

Data Fields

struct {
   size_t   limit
 
   size_t   increase
 
malloc_params
 
struct rb_objspace::rb_gc_config gc_config
 
struct {
   unsigned int   mode: 2
 
   unsigned int   immediate_sweep: 1
 
   unsigned int   dont_gc: 1
 
   unsigned int   dont_incremental: 1
 
   unsigned int   during_gc: 1
 
   unsigned int   during_compacting: 1
 
   unsigned int   during_reference_updating: 1
 
   unsigned int   gc_stressful: 1
 
   unsigned int   has_newobj_hook: 1
 
   unsigned int   during_minor_gc: 1
 
   unsigned int   during_incremental_marking: 1
 
   unsigned int   measure_gc: 1
 
flags
 
rb_event_flag_t hook_events
 
unsigned long long next_object_id
 
rb_heap_t heaps [HEAP_COUNT]
 
size_t empty_pages_count
 
struct heap_pageempty_pages
 
struct {
   rb_atomic_t   finalizing
 
atomic_flags
 
mark_stack_t mark_stack
 
size_t marked_slots
 
struct {
heap_pages
 
st_tablefinalizer_table
 
struct {
   int   run
 
   unsigned int   latest_gc_info
 
   gc_profile_record *   records
 
   gc_profile_record *   current_record
 
   size_t   next_index
 
   size_t   size
 
   double   invoke_time
 
   size_t   minor_gc_count
 
   size_t   major_gc_count
 
   size_t   compact_count
 
   size_t   read_barrier_faults
 
   double   gc_sweep_start_time
 
   size_t   total_allocated_objects_at_gc_start
 
   size_t   heap_used_at_gc_start
 
   size_t   count
 
   unsigned long long   marking_time_ns
 
   struct timespec   marking_start_time
 
   unsigned long long   sweeping_time_ns
 
   struct timespec   sweeping_start_time
 
   size_t   weak_references_count
 
   size_t   retained_weak_references_count
 
profile
 
VALUE gc_stress_mode
 
struct {
   VALUE   parent_object
 
   int   need_major_gc
 
   size_t   last_major_gc
 
   size_t   uncollectible_wb_unprotected_objects
 
   size_t   uncollectible_wb_unprotected_objects_limit
 
   size_t   old_objects
 
   size_t   old_objects_limit
 
   size_t   oldmalloc_increase
 
   size_t   oldmalloc_increase_limit
 
rgengc
 
struct {
   size_t   considered_count_table [T_MASK]
 
   size_t   moved_count_table [T_MASK]
 
   size_t   moved_up_count_table [T_MASK]
 
   size_t   moved_down_count_table [T_MASK]
 
   size_t   total_moved
 
   gc_compact_compare_func   compare_func
 
rcompactor
 
struct {
   size_t   pooled_slots
 
   size_t   step_slots
 
rincgc
 
st_tableid_to_obj_tbl
 
st_tableobj_to_id_tbl
 

Detailed Description

Definition at line 445 of file default.c.


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