Ruby 4.1.0dev (2026-09-27 revision f6ff9e7d02e46360f8930b280a3dd921cccbda29)
Data Fields
rb_global_objspace Struct Reference

Data Fields

struct { 
 
   rb_nativethread_lock_t   lock 
 
   struct heap_page_body *   hot_list 
 
   int   hot_count 
 
   size_t   os_page_size 
 
   struct page_arena { 
 
      struct page_arena *   next 
 
      char *   start 
 
      size_t   size 
 
      struct heap_page_body *   cold_freelist 
 
      int   free_count 
 
      int   cold_count 
 
   }   arenas 
 
   char *   arena_cursor 
 
   char *   arena_end 
 
   struct page_arena *   arena_current 
 
   int   arena_count 
 
   int   advised_count 
 
   size_t   arenas_unmapped 
 
} page_pool 
 
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 837 of file default.c.

Field Documentation

◆ advised_count

int rb_global_objspace::advised_count

Definition at line 856 of file default.c.

◆ arena_count

int rb_global_objspace::arena_count

Definition at line 855 of file default.c.

◆ arena_current

struct page_arena* rb_global_objspace::arena_current

Definition at line 854 of file default.c.

◆ arena_cursor

char* rb_global_objspace::arena_cursor

Definition at line 852 of file default.c.

◆ arena_end

char* rb_global_objspace::arena_end

Definition at line 853 of file default.c.

◆ arenas_unmapped

size_t rb_global_objspace::arenas_unmapped

Definition at line 857 of file default.c.

◆ capa

size_t rb_global_objspace::capa

Definition at line 895 of file default.c.

◆ cold_count

int rb_global_objspace::cold_count

Definition at line 850 of file default.c.

◆ cold_freelist

struct heap_page_body* rb_global_objspace::cold_freelist

Definition at line 848 of file default.c.

◆ compacting

bool rb_global_objspace::compacting

Definition at line 884 of file default.c.

◆ count

size_t rb_global_objspace::count

Definition at line 887 of file default.c.

◆ during_absorb

bool rb_global_objspace::during_absorb

Definition at line 867 of file default.c.

◆ free_count

int rb_global_objspace::free_count

Definition at line 849 of file default.c.

◆ gc_stress_mode

VALUE rb_global_objspace::gc_stress_mode

Definition at line 878 of file default.c.

◆ gc_stressful

bool rb_global_objspace::gc_stressful

Definition at line 877 of file default.c.

◆ himem

uintptr_t rb_global_objspace::himem

Definition at line 896 of file default.c.

◆ hot_count

int rb_global_objspace::hot_count

Definition at line 841 of file default.c.

◆ hot_list

struct heap_page_body* rb_global_objspace::hot_list

Definition at line 840 of file default.c.

◆ lock

rb_nativethread_lock_t rb_global_objspace::lock

Definition at line 839 of file default.c.

◆ lomem

uintptr_t rb_global_objspace::lomem

Definition at line 896 of file default.c.

◆ main_objspace

rb_objspace_t* rb_global_objspace::main_objspace

Definition at line 872 of file default.c.

◆ n_objspaces

size_t rb_global_objspace::n_objspaces

Definition at line 886 of file default.c.

◆ n_pages

size_t rb_global_objspace::n_pages

Definition at line 895 of file default.c.

◆ next

struct page_arena* rb_global_objspace::next

Definition at line 845 of file default.c.

◆ objspaces

struct rb_objspace** rb_global_objspace::objspaces

Definition at line 885 of file default.c.

◆ objspaces_capa

size_t rb_global_objspace::objspaces_capa

Definition at line 886 of file default.c.

◆ os_page_size

size_t rb_global_objspace::os_page_size

Definition at line 842 of file default.c.

◆ pages

struct heap_page** rb_global_objspace::pages

Definition at line 894 of file default.c.

◆ process_stat_archive

struct gc_process_stat_total rb_global_objspace::process_stat_archive

Definition at line 912 of file default.c.

◆ size

size_t rb_global_objspace::size

Definition at line 847 of file default.c.

◆ start

char* rb_global_objspace::start

Definition at line 846 of file default.c.

◆ tdata_deferred_free_count

size_t rb_global_objspace::tdata_deferred_free_count

Definition at line 904 of file default.c.

◆ tdata_deferred_free_pjob

rb_postponed_job_handle_t rb_global_objspace::tdata_deferred_free_pjob

Definition at line 899 of file default.c.

◆ tdata_unsafe_free_cache

struct tdata_unsafe_free_chunk* rb_global_objspace::tdata_unsafe_free_cache

Definition at line 908 of file default.c.

◆ tdata_unsafe_free_cache_len

size_t rb_global_objspace::tdata_unsafe_free_cache_len

Definition at line 909 of file default.c.

◆ tdata_unsafe_free_published

struct tdata_unsafe_free_chunk* rb_global_objspace::tdata_unsafe_free_published

Definition at line 907 of file default.c.

◆ zombie_pages_survivors

size_t rb_global_objspace::zombie_pages_survivors

Definition at line 862 of file default.c.


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