Ruby 4.1.0dev (2026-11-30 revision 83557d59f9eab9c7fa6004de6c51482b967e68e2)
rb_global_objspace Struct Reference

Data Fields

struct { 
   rb_nativethread_lock_t   lock 
   bool   can_advise 
   struct arena_descriptor *   arenas 
   char *   arena_cursor 
   char *   arena_end 
   struct arena_descriptor *   arena_current 
   int   arena_count 
   int   advised_count 
   size_t   arenas_unmapped 
} page_pool
size_t zombie_total_pages
size_t zombie_pages_survivors
bool during_absorb
rb_objspace_t * main_objspace
bool gc_stressful
VALUE gc_stress_mode
struct { 
   bool   compacting 
   struct rb_objspace **   objspaces 
   size_t   n_objspaces 
   size_t   objspaces_capa 
   size_t   count 
} global_gc
struct { 
   struct heap_page **   pages 
   size_t   n_pages 
   size_t   capa 
   uintptr_t   lomem 
   uintptr_t   himem 
} page_index
rb_postponed_job_handle_t tdata_deferred_free_pjob
size_t tdata_deferred_free_count
struct tdata_unsafe_free_chunk * tdata_unsafe_free_published
struct tdata_unsafe_free_chunk * tdata_unsafe_free_cache
size_t tdata_unsafe_free_cache_len
struct gc_process_stat_total process_stat_archive

Detailed Description

Definition at line 871 of file default.c.

Field Documentation

◆ advised_count

int rb_global_objspace::advised_count

Definition at line 882 of file default.c.

◆ arena_count

int rb_global_objspace::arena_count

Definition at line 881 of file default.c.

◆ arena_current

struct arena_descriptor* rb_global_objspace::arena_current

Definition at line 880 of file default.c.

◆ arena_cursor

char* rb_global_objspace::arena_cursor

Definition at line 878 of file default.c.

◆ arena_end

char* rb_global_objspace::arena_end

Definition at line 879 of file default.c.

◆ arenas

struct arena_descriptor* rb_global_objspace::arenas

Definition at line 877 of file default.c.

◆ arenas_unmapped

size_t rb_global_objspace::arenas_unmapped

Definition at line 883 of file default.c.

◆ can_advise

bool rb_global_objspace::can_advise

Definition at line 874 of file default.c.

◆ capa

size_t rb_global_objspace::capa

Definition at line 923 of file default.c.

◆ compacting

bool rb_global_objspace::compacting

Definition at line 912 of file default.c.

◆ count

size_t rb_global_objspace::count

Definition at line 915 of file default.c.

◆ during_absorb

bool rb_global_objspace::during_absorb

Definition at line 895 of file default.c.

◆ gc_stress_mode

VALUE rb_global_objspace::gc_stress_mode

Definition at line 906 of file default.c.

◆ gc_stressful

bool rb_global_objspace::gc_stressful

Definition at line 905 of file default.c.

◆ himem

uintptr_t rb_global_objspace::himem

Definition at line 924 of file default.c.

◆ lock

rb_nativethread_lock_t rb_global_objspace::lock

Definition at line 873 of file default.c.

◆ lomem

uintptr_t rb_global_objspace::lomem

Definition at line 924 of file default.c.

◆ main_objspace

rb_objspace_t* rb_global_objspace::main_objspace

Definition at line 900 of file default.c.

◆ n_objspaces

size_t rb_global_objspace::n_objspaces

Definition at line 914 of file default.c.

◆ n_pages

size_t rb_global_objspace::n_pages

Definition at line 923 of file default.c.

◆ objspaces

struct rb_objspace** rb_global_objspace::objspaces

Definition at line 913 of file default.c.

◆ objspaces_capa

size_t rb_global_objspace::objspaces_capa

Definition at line 914 of file default.c.

◆ pages

struct heap_page** rb_global_objspace::pages

Definition at line 922 of file default.c.

◆ process_stat_archive

struct gc_process_stat_total rb_global_objspace::process_stat_archive

Definition at line 940 of file default.c.

◆ tdata_deferred_free_count

size_t rb_global_objspace::tdata_deferred_free_count

Definition at line 932 of file default.c.

◆ tdata_deferred_free_pjob

rb_postponed_job_handle_t rb_global_objspace::tdata_deferred_free_pjob

Definition at line 927 of file default.c.

◆ tdata_unsafe_free_cache

struct tdata_unsafe_free_chunk* rb_global_objspace::tdata_unsafe_free_cache

Definition at line 936 of file default.c.

◆ tdata_unsafe_free_cache_len

size_t rb_global_objspace::tdata_unsafe_free_cache_len

Definition at line 937 of file default.c.

◆ tdata_unsafe_free_published

struct tdata_unsafe_free_chunk* rb_global_objspace::tdata_unsafe_free_published

Definition at line 935 of file default.c.

◆ zombie_pages_survivors

size_t rb_global_objspace::zombie_pages_survivors

Definition at line 890 of file default.c.

◆ zombie_total_pages

size_t rb_global_objspace::zombie_total_pages

Definition at line 889 of file default.c.


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