Ruby 4.1.0dev (2026-09-07 revision b57404b461ba8bf34e802d86b0db78388216e182)
Data Fields
rb_vm_struct Struct Reference

Data Fields

VALUE self
 
struct { 
 
   struct ccan_list_head   set 
 
   struct ccan_list_head   terminated_set 
 
   unsigned int   cnt 
 
   unsigned int   blocking_cnt 
 
   struct rb_ractor_struct *   main_ractor 
 
   struct rb_thread_struct *   main_thread 
 
   struct { 
 
      rb_nativethread_lock_t   lock 
 
      struct rb_ractor_struct *   lock_owner 
 
      unsigned int   lock_rec 
 
      rb_nativethread_cond_t   terminate_cond 
 
      bool   terminate_waiting 
 
   }   sync 
 
   rb_nativethread_lock_t   generic_fields_lock 
 
   struct rb_ractor_sched   sched 
 
ractor 
 
rb_serial_t fork_gen
 
volatile int ubf_async_safe
 
unsigned int running: 1
 
unsigned int thread_abort_on_exception: 1
 
unsigned int thread_report_on_exception: 1
 
unsigned int thread_ignore_deadlock: 1
 
const VALUE special_exceptions [ruby_special_error_count]
 
rb_box_tmaster_box
 
rb_box_troot_box
 
rb_box_tmain_box
 
struct st_table static_ext_inits
 
struct { 
 
   VALUE   cmd [RUBY_NSIG] 
 
trap_list 
 
rb_hook_list_t global_hooks
 
int src_encoding_index
 
struct ccan_list_head workqueue
 
rb_nativethread_lock_t workqueue_lock
 
rb_nativethread_lock_t once_lock
 
rb_nativethread_cond_t once_cond
 
VALUE orig_progname
 
VALUE progname
 
VALUE coverages
 
VALUE cme2counter
 
VALUE me_set
 
int coverage_mode
 
struct { 
 
   struct rb_global_objspace *   global_objspace 
 
   struct rb_objspace_zombie
 
      void *   objspace 
 
      void **   owner_slot 
 
      struct rb_ractor_struct *   owner 
 
      size_t   pages 
 
   }   zombie_objspaces 
 
   size_t   zombie_objspaces_count 
 
   size_t   zombie_objspaces_capa 
 
   size_t   zombie_total_pages 
 
   struct { 
 
      rb_nativethread_lock_t   lock 
 
      VALUE **   addrs 
 
      size_t   addrs_cnt 
 
      size_t   addrs_capa 
 
   }   registered_globals 
 
   rb_atomic_t   disable_holders 
 
   unsigned int   orphan_merge_pjob 
 
   void *   cleanup_objspace 
 
gc 
 
rb_at_exit_listat_exit
 
const struct rb_builtin_functionbuiltin_function_table
 
st_table ci_table
 
struct rb_id_table negative_cme_table
 
st_table overloaded_cme_table
 
set_table unused_block_warning_table
 
VALUE cc_refinement_set
 
struct rb_id_table constant_cache
 
ID inserting_constant_cache_id
 
const struct rb_callcacheglobal_cc_cache_table [VM_GLOBAL_CC_CACHE_TABLE_SIZE]
 
bool global_cc_cache_table_used
 
struct { 
 
   size_t   thread_vm_stack_size 
 
   size_t   thread_machine_stack_size 
 
   size_t   fiber_vm_stack_size 
 
   size_t   fiber_machine_stack_size 
 
default_params 
 

Detailed Description

Definition at line 707 of file vm_core.h.

Field Documentation

◆ addrs

VALUE** rb_vm_struct::addrs

Definition at line 825 of file vm_core.h.

◆ addrs_capa

size_t rb_vm_struct::addrs_capa

Definition at line 826 of file vm_core.h.

◆ addrs_cnt

size_t rb_vm_struct::addrs_cnt

Definition at line 826 of file vm_core.h.

◆ at_exit

rb_at_exit_list* rb_vm_struct::at_exit

Definition at line 843 of file vm_core.h.

◆ blocking_cnt

unsigned int rb_vm_struct::blocking_cnt

Definition at line 717 of file vm_core.h.

◆ builtin_function_table

const struct rb_builtin_function* rb_vm_struct::builtin_function_table

Definition at line 845 of file vm_core.h.

◆ cc_refinement_set

VALUE rb_vm_struct::cc_refinement_set

Definition at line 851 of file vm_core.h.

◆ ci_table

st_table rb_vm_struct::ci_table

Definition at line 847 of file vm_core.h.

◆ cleanup_objspace

void* rb_vm_struct::cleanup_objspace

Definition at line 840 of file vm_core.h.

◆ cmd

VALUE rb_vm_struct::cmd[RUBY_NSIG]

Definition at line 770 of file vm_core.h.

◆ cme2counter

VALUE rb_vm_struct::cme2counter

Definition at line 787 of file vm_core.h.

◆ cnt

unsigned int rb_vm_struct::cnt

Definition at line 716 of file vm_core.h.

◆ constant_cache

struct rb_id_table rb_vm_struct::constant_cache

Definition at line 857 of file vm_core.h.

◆ coverage_mode

int rb_vm_struct::coverage_mode

Definition at line 788 of file vm_core.h.

◆ coverages

VALUE rb_vm_struct::coverages

Definition at line 787 of file vm_core.h.

◆ disable_holders

rb_atomic_t rb_vm_struct::disable_holders

Definition at line 833 of file vm_core.h.

◆ fiber_machine_stack_size

size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 875 of file vm_core.h.

◆ fiber_vm_stack_size

size_t rb_vm_struct::fiber_vm_stack_size

Definition at line 874 of file vm_core.h.

◆ fork_gen

rb_serial_t rb_vm_struct::fork_gen

Definition at line 745 of file vm_core.h.

◆ generic_fields_lock

rb_nativethread_lock_t rb_vm_struct::generic_fields_lock

Definition at line 735 of file vm_core.h.

◆ global_cc_cache_table

const struct rb_callcache* rb_vm_struct::global_cc_cache_table[VM_GLOBAL_CC_CACHE_TABLE_SIZE]

Definition at line 863 of file vm_core.h.

◆ global_cc_cache_table_used

bool rb_vm_struct::global_cc_cache_table_used

Definition at line 864 of file vm_core.h.

◆ global_hooks

rb_hook_list_t rb_vm_struct::global_hooks

Definition at line 774 of file vm_core.h.

◆ global_objspace

struct rb_global_objspace* rb_vm_struct::global_objspace

Definition at line 794 of file vm_core.h.

◆ inserting_constant_cache_id

ID rb_vm_struct::inserting_constant_cache_id

Definition at line 858 of file vm_core.h.

◆ lock

rb_nativethread_lock_t rb_vm_struct::lock

Definition at line 724 of file vm_core.h.

◆ lock_owner

struct rb_ractor_struct* rb_vm_struct::lock_owner

Definition at line 725 of file vm_core.h.

◆ lock_rec

unsigned int rb_vm_struct::lock_rec

Definition at line 726 of file vm_core.h.

◆ main_box

rb_box_t* rb_vm_struct::main_box

Definition at line 761 of file vm_core.h.

◆ main_ractor

struct rb_ractor_struct* rb_vm_struct::main_ractor

Definition at line 719 of file vm_core.h.

◆ main_thread

struct rb_thread_struct* rb_vm_struct::main_thread

Definition at line 720 of file vm_core.h.

◆ master_box

rb_box_t* rb_vm_struct::master_box

Definition at line 759 of file vm_core.h.

◆ me_set

VALUE rb_vm_struct::me_set

Definition at line 787 of file vm_core.h.

◆ negative_cme_table

struct rb_id_table rb_vm_struct::negative_cme_table

Definition at line 848 of file vm_core.h.

◆ objspace

void* rb_vm_struct::objspace

Definition at line 800 of file vm_core.h.

◆ once_cond

rb_nativethread_cond_t rb_vm_struct::once_cond

Definition at line 784 of file vm_core.h.

◆ once_lock

rb_nativethread_lock_t rb_vm_struct::once_lock

Definition at line 783 of file vm_core.h.

◆ orig_progname

VALUE rb_vm_struct::orig_progname

Definition at line 786 of file vm_core.h.

◆ orphan_merge_pjob

unsigned int rb_vm_struct::orphan_merge_pjob

Definition at line 837 of file vm_core.h.

◆ overloaded_cme_table

st_table rb_vm_struct::overloaded_cme_table

Definition at line 849 of file vm_core.h.

◆ owner

struct rb_ractor_struct* rb_vm_struct::owner

Definition at line 805 of file vm_core.h.

◆ owner_slot

void** rb_vm_struct::owner_slot

Definition at line 801 of file vm_core.h.

◆ pages

size_t rb_vm_struct::pages

Definition at line 809 of file vm_core.h.

◆ progname

VALUE rb_vm_struct::progname

Definition at line 786 of file vm_core.h.

◆ root_box

rb_box_t* rb_vm_struct::root_box

Definition at line 760 of file vm_core.h.

◆ running

unsigned int rb_vm_struct::running

Definition at line 750 of file vm_core.h.

◆ sched

struct rb_ractor_sched rb_vm_struct::sched

Definition at line 738 of file vm_core.h.

◆ self

VALUE rb_vm_struct::self

Definition at line 708 of file vm_core.h.

◆ set

struct ccan_list_head rb_vm_struct::set

Definition at line 711 of file vm_core.h.

◆ special_exceptions

const VALUE rb_vm_struct::special_exceptions[ruby_special_error_count]

Definition at line 756 of file vm_core.h.

◆ src_encoding_index

int rb_vm_struct::src_encoding_index

Definition at line 776 of file vm_core.h.

◆ static_ext_inits

struct st_table rb_vm_struct::static_ext_inits

Definition at line 766 of file vm_core.h.

◆ terminate_cond

rb_nativethread_cond_t rb_vm_struct::terminate_cond

Definition at line 729 of file vm_core.h.

◆ terminate_waiting

bool rb_vm_struct::terminate_waiting

Definition at line 730 of file vm_core.h.

◆ terminated_set

struct ccan_list_head rb_vm_struct::terminated_set

Definition at line 715 of file vm_core.h.

◆ thread_abort_on_exception

unsigned int rb_vm_struct::thread_abort_on_exception

Definition at line 751 of file vm_core.h.

◆ thread_ignore_deadlock

unsigned int rb_vm_struct::thread_ignore_deadlock

Definition at line 753 of file vm_core.h.

◆ thread_machine_stack_size

size_t rb_vm_struct::thread_machine_stack_size

Definition at line 873 of file vm_core.h.

◆ thread_report_on_exception

unsigned int rb_vm_struct::thread_report_on_exception

Definition at line 752 of file vm_core.h.

◆ thread_vm_stack_size

size_t rb_vm_struct::thread_vm_stack_size

Definition at line 872 of file vm_core.h.

◆ ubf_async_safe

volatile int rb_vm_struct::ubf_async_safe

Definition at line 748 of file vm_core.h.

◆ unused_block_warning_table

set_table rb_vm_struct::unused_block_warning_table

Definition at line 850 of file vm_core.h.

◆ workqueue

struct ccan_list_head rb_vm_struct::workqueue

Definition at line 779 of file vm_core.h.

◆ workqueue_lock

rb_nativethread_lock_t rb_vm_struct::workqueue_lock

Definition at line 780 of file vm_core.h.

◆ zombie_objspaces_capa

size_t rb_vm_struct::zombie_objspaces_capa

Definition at line 812 of file vm_core.h.

◆ zombie_objspaces_count

size_t rb_vm_struct::zombie_objspaces_count

Definition at line 811 of file vm_core.h.

◆ zombie_total_pages

size_t rb_vm_struct::zombie_total_pages

Definition at line 815 of file vm_core.h.


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