Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
rb_objspace Struct Reference

Data Structures

struct  rb_gc_config
struct  [struct].malloc_counters
struct  [struct].malloc_params
struct  [struct].flags
struct  [struct].atomic_flags
struct  [struct].heap_pages
struct  [struct].profile
struct  [struct].rgengc
struct  [struct].rcompactor
struct  [struct].rincgc

Data Fields

struct  malloc_counters
struct  malloc_params
struct rb_objspace::rb_gc_config gc_config
struct  flags
rb_event_flag_t hook_events
rb_heap_t heaps [HEAP_COUNT]
size_t empty_pages_count
struct heap_pageempty_pages
struct  atomic_flags
mark_stack_t mark_stack
size_t marked_slots
struct  heap_pages
st_tablefinalizer_table
struct  profile
VALUE gc_stress_mode
struct  rgengc
struct  rcompactor
struct  rincgc

Detailed Description

Definition at line 479 of file default.c.

Field Documentation

◆ empty_pages

struct heap_page* rb_objspace::empty_pages

Definition at line 518 of file default.c.

◆ empty_pages_count

size_t rb_objspace::empty_pages_count

Definition at line 517 of file default.c.

◆ finalizer_table

st_table* rb_objspace::finalizer_table

Definition at line 541 of file default.c.

◆ gc_stress_mode

VALUE rb_objspace::gc_stress_mode

Definition at line 595 of file default.c.

◆ heaps

rb_heap_t rb_objspace::heaps[HEAP_COUNT]

Definition at line 516 of file default.c.

◆ hook_events

rb_event_flag_t rb_objspace::hook_events

Definition at line 514 of file default.c.

◆ mark_stack

mark_stack_t rb_objspace::mark_stack

Definition at line 524 of file default.c.

◆ marked_slots

size_t rb_objspace::marked_slots

Definition at line 525 of file default.c.


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