Ruby  3.4.0dev (2024-11-22 revision 37a72b0150ec36b4ea27175039afc28c62207b0c)
Data Fields
rb_vm_struct Struct Reference

Data Fields

VALUE self
 
struct {
   struct ccan_list_head   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
 
      bool   barrier_waiting
 
      unsigned int   barrier_cnt
 
      rb_nativethread_cond_t   barrier_cond
 
   }   sync
 
   struct {
      rb_nativethread_lock_t   lock
 
      struct rb_ractor_struct *   lock_owner
 
      bool   locked
 
      rb_nativethread_cond_t   cond
 
      unsigned int   snt_cnt
 
      unsigned int   dnt_cnt
 
      unsigned int   running_cnt
 
      unsigned int   max_cpu
 
      struct ccan_list_head   grq
 
      unsigned int   grq_cnt
 
      struct ccan_list_head   running_threads
 
      struct ccan_list_head   timeslice_threads
 
      struct ccan_list_head   zombie_threads
 
      bool   timeslice_wait_inf
 
      rb_nativethread_cond_t   barrier_complete_cond
 
      rb_nativethread_cond_t   barrier_release_cond
 
      bool   barrier_waiting
 
      unsigned int   barrier_waiting_cnt
 
      unsigned int   barrier_serial
 
   }   sched
 
ractor
 
rb_serial_t fork_gen
 
struct ccan_list_head waiting_fds
 
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
 
VALUE mark_object_ary
 
struct global_object_listglobal_object_list
 
const VALUE special_exceptions [ruby_special_error_count]
 
VALUE top_self
 
VALUE load_path
 
VALUE load_path_snapshot
 
VALUE load_path_check_cache
 
VALUE expanded_load_path
 
VALUE loaded_features
 
VALUE loaded_features_snapshot
 
VALUE loaded_features_realpaths
 
VALUE loaded_features_realpath_map
 
struct st_tableloaded_features_index
 
struct st_tableloading_table
 
struct st_tablestatic_ext_inits
 
struct {
   VALUE   cmd [RUBY_NSIG]
 
trap_list
 
struct rb_postponed_job_queuepostponed_job_queue
 
int src_encoding_index
 
struct ccan_list_head workqueue
 
rb_nativethread_lock_t workqueue_lock
 
VALUE orig_progname
 
VALUE progname
 
VALUE coverages
 
VALUE me2counter
 
int coverage_mode
 
struct {
   struct rb_objspace *   objspace
 
   struct gc_mark_func_data_struct {
      void *   data
 
      void(*   mark_func )(VALUE v, void *data)
 
   }   mark_func_data
 
gc
 
rb_at_exit_listat_exit
 
st_tablefrozen_strings
 
const struct rb_builtin_functionbuiltin_function_table
 
st_tableci_table
 
struct rb_id_tablenegative_cme_table
 
st_tableoverloaded_cme_table
 
st_tableunused_block_warning_table
 
struct rb_id_tableconstant_cache
 
const struct rb_callcacheglobal_cc_cache_table [VM_GLOBAL_CC_CACHE_TABLE_SIZE]
 
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 666 of file vm_core.h.


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