Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
Data Fields
rb_vm_struct Struct Reference

Data Fields

VALUE self
 
struct {
   struct 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
 
      _Bool   barrier_waiting
 
      unsigned int   barrier_cnt
 
      rb_nativethread_cond_t   barrier_cond
 
      rb_nativethread_cond_t   terminate_cond
 
      _Bool   terminate_waiting
 
   }   sync
 
ractor
 
void * main_altstack
 
rb_serial_t fork_gen
 
rb_nativethread_lock_t waitpid_lock
 
struct list_head waiting_pids
 
struct list_head waiting_grps
 
struct 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
 
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
 
struct st_tableloaded_features_index
 
struct st_tableloading_table
 
struct {
   VALUE   cmd [65]
 
trap_list
 
struct st_tableensure_rollback_table
 
struct rb_postponed_job_structpostponed_job_buffer
 
rb_atomic_t postponed_job_index
 
int src_encoding_index
 
struct list_head workqueue
 
rb_nativethread_lock_t workqueue_lock
 
VALUE orig_progname
 
VALUE progname
 
VALUE coverages
 
VALUE me2counter
 
int coverage_mode
 
st_tabledefined_module_hash
 
struct rb_objspaceobjspace
 
rb_at_exit_listat_exit
 
st_tablefrozen_strings
 
const struct rb_builtin_functionbuiltin_function_table
 
int builtin_inline_index
 
struct rb_id_tablenegative_cme_table
 
st_tableoverloaded_cme_table
 
const struct rb_callcacheglobal_cc_cache_table [1023]
 
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
 
short redefined_flag [BOP_LAST_]
 
struct {
   struct 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
 
      bool   barrier_waiting
 
      unsigned int   barrier_cnt
 
      rb_nativethread_cond_t   barrier_cond
 
      rb_nativethread_cond_t   terminate_cond
 
      bool   terminate_waiting
 
   }   sync
 
ractor
 
struct {
   VALUE   cmd [RUBY_NSIG]
 
trap_list
 
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 7536 of file rb_mjit_min_header-3.1.3.h.

Field Documentation

◆ at_exit

rb_at_exit_list * rb_vm_struct::at_exit

Definition at line 7592 of file rb_mjit_min_header-3.1.3.h.

◆ barrier_cnt

unsigned int rb_vm_struct::barrier_cnt

Definition at line 7549 of file rb_mjit_min_header-3.1.3.h.

◆ barrier_cond

rb_nativethread_cond_t rb_vm_struct::barrier_cond

Definition at line 7550 of file rb_mjit_min_header-3.1.3.h.

◆ barrier_waiting [1/2]

_Bool rb_vm_struct::barrier_waiting

Definition at line 7548 of file rb_mjit_min_header-3.1.3.h.

◆ barrier_waiting [2/2]

bool rb_vm_struct::barrier_waiting

Definition at line 639 of file vm_core.h.

◆ blocking_cnt

unsigned int rb_vm_struct::blocking_cnt

Definition at line 7541 of file rb_mjit_min_header-3.1.3.h.

◆ builtin_function_table

const struct rb_builtin_function * rb_vm_struct::builtin_function_table

Definition at line 7594 of file rb_mjit_min_header-3.1.3.h.

◆ builtin_inline_index

int rb_vm_struct::builtin_inline_index

Definition at line 7595 of file rb_mjit_min_header-3.1.3.h.

◆ cmd

VALUE rb_vm_struct::cmd[RUBY_NSIG]

Definition at line 7579 of file rb_mjit_min_header-3.1.3.h.

◆ cnt

unsigned int rb_vm_struct::cnt

Definition at line 7540 of file rb_mjit_min_header-3.1.3.h.

◆ coverage_mode

int rb_vm_struct::coverage_mode

Definition at line 7589 of file rb_mjit_min_header-3.1.3.h.

◆ coverages

VALUE rb_vm_struct::coverages

Definition at line 7588 of file rb_mjit_min_header-3.1.3.h.

◆ defined_module_hash

st_table * rb_vm_struct::defined_module_hash

Definition at line 7590 of file rb_mjit_min_header-3.1.3.h.

◆ ensure_rollback_table

struct st_table * rb_vm_struct::ensure_rollback_table

Definition at line 7581 of file rb_mjit_min_header-3.1.3.h.

◆ expanded_load_path

VALUE rb_vm_struct::expanded_load_path

Definition at line 7572 of file rb_mjit_min_header-3.1.3.h.

◆ fiber_machine_stack_size

size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 7603 of file rb_mjit_min_header-3.1.3.h.

◆ fiber_vm_stack_size

size_t rb_vm_struct::fiber_vm_stack_size

Definition at line 7602 of file rb_mjit_min_header-3.1.3.h.

◆ fork_gen

rb_serial_t rb_vm_struct::fork_gen

Definition at line 7556 of file rb_mjit_min_header-3.1.3.h.

◆ frozen_strings

st_table * rb_vm_struct::frozen_strings

Definition at line 7593 of file rb_mjit_min_header-3.1.3.h.

◆ global_cc_cache_table

const struct rb_callcache * rb_vm_struct::global_cc_cache_table

Definition at line 7598 of file rb_mjit_min_header-3.1.3.h.

◆ load_path

VALUE rb_vm_struct::load_path

Definition at line 7569 of file rb_mjit_min_header-3.1.3.h.

◆ load_path_check_cache

VALUE rb_vm_struct::load_path_check_cache

Definition at line 7571 of file rb_mjit_min_header-3.1.3.h.

◆ load_path_snapshot

VALUE rb_vm_struct::load_path_snapshot

Definition at line 7570 of file rb_mjit_min_header-3.1.3.h.

◆ loaded_features

VALUE rb_vm_struct::loaded_features

Definition at line 7573 of file rb_mjit_min_header-3.1.3.h.

◆ loaded_features_index

struct st_table * rb_vm_struct::loaded_features_index

Definition at line 7576 of file rb_mjit_min_header-3.1.3.h.

◆ loaded_features_realpaths

VALUE rb_vm_struct::loaded_features_realpaths

Definition at line 7575 of file rb_mjit_min_header-3.1.3.h.

◆ loaded_features_snapshot

VALUE rb_vm_struct::loaded_features_snapshot

Definition at line 7574 of file rb_mjit_min_header-3.1.3.h.

◆ loading_table

struct st_table * rb_vm_struct::loading_table

Definition at line 7577 of file rb_mjit_min_header-3.1.3.h.

◆ lock

rb_nativethread_lock_t rb_vm_struct::lock

Definition at line 7545 of file rb_mjit_min_header-3.1.3.h.

◆ lock_owner

struct rb_ractor_struct* rb_vm_struct::lock_owner

Definition at line 7546 of file rb_mjit_min_header-3.1.3.h.

◆ lock_rec

unsigned int rb_vm_struct::lock_rec

Definition at line 7547 of file rb_mjit_min_header-3.1.3.h.

◆ main_altstack

void* rb_vm_struct::main_altstack

Definition at line 7555 of file rb_mjit_min_header-3.1.3.h.

◆ main_ractor

struct rb_ractor_struct* rb_vm_struct::main_ractor

Definition at line 7542 of file rb_mjit_min_header-3.1.3.h.

◆ main_thread

struct rb_thread_struct* rb_vm_struct::main_thread

Definition at line 7543 of file rb_mjit_min_header-3.1.3.h.

◆ mark_object_ary

VALUE rb_vm_struct::mark_object_ary

Definition at line 7566 of file rb_mjit_min_header-3.1.3.h.

◆ me2counter

VALUE rb_vm_struct::me2counter

Definition at line 7588 of file rb_mjit_min_header-3.1.3.h.

◆ negative_cme_table

struct rb_id_table * rb_vm_struct::negative_cme_table

Definition at line 7596 of file rb_mjit_min_header-3.1.3.h.

◆ objspace

struct rb_objspace * rb_vm_struct::objspace

Definition at line 7591 of file rb_mjit_min_header-3.1.3.h.

◆ orig_progname

VALUE rb_vm_struct::orig_progname

Definition at line 7587 of file rb_mjit_min_header-3.1.3.h.

◆ overloaded_cme_table

st_table * rb_vm_struct::overloaded_cme_table

Definition at line 7597 of file rb_mjit_min_header-3.1.3.h.

◆ postponed_job_buffer

struct rb_postponed_job_struct * rb_vm_struct::postponed_job_buffer

Definition at line 7582 of file rb_mjit_min_header-3.1.3.h.

◆ postponed_job_index

rb_atomic_t rb_vm_struct::postponed_job_index

Definition at line 7583 of file rb_mjit_min_header-3.1.3.h.

◆ progname

VALUE rb_vm_struct::progname

Definition at line 7587 of file rb_mjit_min_header-3.1.3.h.

◆ redefined_flag

short rb_vm_struct::redefined_flag

Definition at line 7605 of file rb_mjit_min_header-3.1.3.h.

◆ running

unsigned int rb_vm_struct::running

Definition at line 7562 of file rb_mjit_min_header-3.1.3.h.

◆ self

VALUE rb_vm_struct::self

Definition at line 7537 of file rb_mjit_min_header-3.1.3.h.

◆ set

struct list_head rb_vm_struct::set

Definition at line 7539 of file rb_mjit_min_header-3.1.3.h.

◆ special_exceptions

const VALUE rb_vm_struct::special_exceptions

Definition at line 7567 of file rb_mjit_min_header-3.1.3.h.

◆ src_encoding_index

int rb_vm_struct::src_encoding_index

Definition at line 7584 of file rb_mjit_min_header-3.1.3.h.

◆ terminate_cond

rb_nativethread_cond_t rb_vm_struct::terminate_cond

Definition at line 7551 of file rb_mjit_min_header-3.1.3.h.

◆ terminate_waiting [1/2]

_Bool rb_vm_struct::terminate_waiting

Definition at line 7552 of file rb_mjit_min_header-3.1.3.h.

◆ terminate_waiting [2/2]

bool rb_vm_struct::terminate_waiting

Definition at line 645 of file vm_core.h.

◆ thread_abort_on_exception

unsigned int rb_vm_struct::thread_abort_on_exception

Definition at line 7563 of file rb_mjit_min_header-3.1.3.h.

◆ thread_ignore_deadlock

unsigned int rb_vm_struct::thread_ignore_deadlock

Definition at line 7565 of file rb_mjit_min_header-3.1.3.h.

◆ thread_machine_stack_size

size_t rb_vm_struct::thread_machine_stack_size

Definition at line 7601 of file rb_mjit_min_header-3.1.3.h.

◆ thread_report_on_exception

unsigned int rb_vm_struct::thread_report_on_exception

Definition at line 7564 of file rb_mjit_min_header-3.1.3.h.

◆ thread_vm_stack_size

size_t rb_vm_struct::thread_vm_stack_size

Definition at line 7600 of file rb_mjit_min_header-3.1.3.h.

◆ top_self

VALUE rb_vm_struct::top_self

Definition at line 7568 of file rb_mjit_min_header-3.1.3.h.

◆ ubf_async_safe

volatile int rb_vm_struct::ubf_async_safe

Definition at line 7561 of file rb_mjit_min_header-3.1.3.h.

◆ waiting_fds

struct list_head rb_vm_struct::waiting_fds

Definition at line 7560 of file rb_mjit_min_header-3.1.3.h.

◆ waiting_grps

struct list_head rb_vm_struct::waiting_grps

Definition at line 7559 of file rb_mjit_min_header-3.1.3.h.

◆ waiting_pids

struct list_head rb_vm_struct::waiting_pids

Definition at line 7558 of file rb_mjit_min_header-3.1.3.h.

◆ waitpid_lock

rb_nativethread_lock_t rb_vm_struct::waitpid_lock

Definition at line 7557 of file rb_mjit_min_header-3.1.3.h.

◆ workqueue

struct list_head rb_vm_struct::workqueue

Definition at line 7585 of file rb_mjit_min_header-3.1.3.h.

◆ workqueue_lock

rb_nativethread_lock_t rb_vm_struct::workqueue_lock

Definition at line 7586 of file rb_mjit_min_header-3.1.3.h.


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