Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd)
Data Fields
rb_vm_struct Struct Reference

#include <rb_mjit_min_header-2.7.6.h>

Data Fields

VALUE self
 
rb_global_vm_lock_t gvl
 
struct rb_thread_structmain_thread
 
const struct rb_thread_structrunning_thread
 
voidmain_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
 
struct list_head living_threads
 
VALUE thgroup_default
 
int living_thread_num
 
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 safe_level_: 1
 
int sleeper
 
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
 
struct st_tableloaded_features_index
 
struct st_tableloading_table
 
struct {
   VALUE   cmd [65]
 
trap_list
 
rb_hook_list_t global_hooks
 
struct st_tableensure_rollback_table
 
struct rb_postponed_job_structpostponed_job_buffer
 
int postponed_job_index
 
int src_encoding_index
 
struct list_head workqueue
 
rb_nativethread_lock_t workqueue_lock
 
VALUE verbose
 
VALUE debug
 
VALUE orig_progname
 
VALUE progname
 
VALUE coverages
 
int coverage_mode
 
st_tabledefined_module_hash
 
struct rb_objspaceobjspace
 
rb_at_exit_listat_exit
 
VALUEdefined_strings
 
st_tablefrozen_strings
 
const struct rb_builtin_functionbuiltin_function_table
 
int builtin_inline_index
 
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 {
   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 9783 of file rb_mjit_min_header-2.7.6.h.

Field Documentation

◆ at_exit

rb_at_exit_list * rb_vm_struct::at_exit

Definition at line 9829 of file rb_mjit_min_header-2.7.6.h.

Referenced by ruby_vm_at_exit().

◆ builtin_function_table

const struct rb_builtin_function * rb_vm_struct::builtin_function_table

Definition at line 9832 of file rb_mjit_min_header-2.7.6.h.

◆ builtin_inline_index

int rb_vm_struct::builtin_inline_index

Definition at line 9833 of file rb_mjit_min_header-2.7.6.h.

◆ cmd

VALUE rb_vm_struct::cmd[RUBY_NSIG]

Definition at line 9815 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_signal_exec(), rb_vm_mark(), and rb_vm_trap_exit().

◆ coverage_mode

int rb_vm_struct::coverage_mode

Definition at line 9826 of file rb_mjit_min_header-2.7.6.h.

◆ coverages

VALUE rb_vm_struct::coverages

Definition at line 9825 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ debug

VALUE rb_vm_struct::debug

Definition at line 9824 of file rb_mjit_min_header-2.7.6.h.

◆  [1/2]

struct { ... } rb_vm_struct::default_params

Referenced by Init_Cont().

◆  [2/2]

struct { ... } rb_vm_struct::default_params

◆ defined_module_hash

st_table * rb_vm_struct::defined_module_hash

Definition at line 9827 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_objects(), rb_vm_add_root_module(), and rb_vm_mark().

◆ defined_strings

VALUE * rb_vm_struct::defined_strings

Definition at line 9830 of file rb_mjit_min_header-2.7.6.h.

◆ ensure_rollback_table

struct st_table * rb_vm_struct::ensure_rollback_table

Definition at line 9818 of file rb_mjit_min_header-2.7.6.h.

◆ expanded_load_path

VALUE rb_vm_struct::expanded_load_path

Definition at line 9809 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ fiber_machine_stack_size

size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 9838 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_Cont().

◆ fiber_vm_stack_size

size_t rb_vm_struct::fiber_vm_stack_size

Definition at line 9837 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_Cont().

◆ fork_gen

rb_serial_t rb_vm_struct::fork_gen

Definition at line 9789 of file rb_mjit_min_header-2.7.6.h.

◆ frozen_strings

st_table * rb_vm_struct::frozen_strings

Definition at line 9831 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_objects(), and rb_vm_update_references().

◆ global_hooks

rb_hook_list_t rb_vm_struct::global_hooks

Definition at line 9817 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ gvl

rb_global_vm_lock_t rb_vm_struct::gvl

Definition at line 9785 of file rb_mjit_min_header-2.7.6.h.

◆ living_thread_num

int rb_vm_struct::living_thread_num

Definition at line 9796 of file rb_mjit_min_header-2.7.6.h.

◆ living_threads

struct list_head rb_vm_struct::living_threads

◆ load_path

VALUE rb_vm_struct::load_path

Definition at line 9806 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_get_expanded_load_path(), and rb_vm_mark().

◆ load_path_check_cache

VALUE rb_vm_struct::load_path_check_cache

Definition at line 9808 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ load_path_snapshot

VALUE rb_vm_struct::load_path_snapshot

Definition at line 9807 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_get_expanded_load_path(), and rb_vm_mark().

◆ loaded_features

VALUE rb_vm_struct::loaded_features

Definition at line 9810 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_bugreport(), and rb_vm_mark().

◆ loaded_features_index

struct st_table * rb_vm_struct::loaded_features_index

Definition at line 9812 of file rb_mjit_min_header-2.7.6.h.

◆ loaded_features_snapshot

VALUE rb_vm_struct::loaded_features_snapshot

Definition at line 9811 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ loading_table

struct st_table * rb_vm_struct::loading_table

Definition at line 9813 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_objects(), and rb_vm_mark().

◆ main_altstack

void* rb_vm_struct::main_altstack

Definition at line 9788 of file rb_mjit_min_header-2.7.6.h.

◆ main_thread

struct rb_thread_struct * rb_vm_struct::main_thread

Definition at line 9786 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_thread_terminate_all(), and ruby_vm_destruct().

◆ mark_object_ary

VALUE rb_vm_struct::mark_object_ary

Definition at line 9803 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_objects(), and rb_vm_mark().

◆ objspace

struct rb_objspace * rb_vm_struct::objspace

Definition at line 9828 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_objects(), and ruby_vm_destruct().

◆ orig_progname

VALUE rb_vm_struct::orig_progname

Definition at line 9824 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ postponed_job_buffer

struct rb_postponed_job_struct * rb_vm_struct::postponed_job_buffer

Definition at line 9819 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_postponed_job().

◆ postponed_job_index

int rb_vm_struct::postponed_job_index

Definition at line 9820 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_vm_postponed_job().

◆ progname

VALUE rb_vm_struct::progname

Definition at line 9824 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_bugreport().

◆ redefined_flag

short rb_vm_struct::redefined_flag

Definition at line 9840 of file rb_mjit_min_header-2.7.6.h.

◆ running

unsigned int rb_vm_struct::running

Definition at line 9798 of file rb_mjit_min_header-2.7.6.h.

◆ running_thread

const struct rb_thread_struct * rb_vm_struct::running_thread

Definition at line 9787 of file rb_mjit_min_header-2.7.6.h.

◆ safe_level_

unsigned int rb_vm_struct::safe_level_

Definition at line 9801 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_set_safe_level().

◆ self

VALUE rb_vm_struct::self

Definition at line 9784 of file rb_mjit_min_header-2.7.6.h.

◆ sleeper

int rb_vm_struct::sleeper

Definition at line 9802 of file rb_mjit_min_header-2.7.6.h.

◆ special_exceptions

const VALUE rb_vm_struct::special_exceptions

◆ src_encoding_index

int rb_vm_struct::src_encoding_index

Definition at line 9821 of file rb_mjit_min_header-2.7.6.h.

◆ thgroup_default

VALUE rb_vm_struct::thgroup_default

Definition at line 9795 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_vm_mark().

◆ thread_abort_on_exception

unsigned int rb_vm_struct::thread_abort_on_exception

Definition at line 9799 of file rb_mjit_min_header-2.7.6.h.

◆ thread_machine_stack_size

size_t rb_vm_struct::thread_machine_stack_size

Definition at line 9836 of file rb_mjit_min_header-2.7.6.h.

◆ thread_report_on_exception

unsigned int rb_vm_struct::thread_report_on_exception

Definition at line 9800 of file rb_mjit_min_header-2.7.6.h.

◆ thread_vm_stack_size

size_t rb_vm_struct::thread_vm_stack_size

Definition at line 9835 of file rb_mjit_min_header-2.7.6.h.

◆ top_self

VALUE rb_vm_struct::top_self

Definition at line 9805 of file rb_mjit_min_header-2.7.6.h.

Referenced by Init_top_self(), and rb_vm_mark().

◆  [1/2]

struct { ... } rb_vm_struct::trap_list

◆  [2/2]

struct { ... } rb_vm_struct::trap_list

◆ ubf_async_safe

volatile int rb_vm_struct::ubf_async_safe

Definition at line 9797 of file rb_mjit_min_header-2.7.6.h.

◆ verbose

VALUE rb_vm_struct::verbose

Definition at line 9824 of file rb_mjit_min_header-2.7.6.h.

◆ waiting_fds

struct list_head rb_vm_struct::waiting_fds

Definition at line 9793 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_notify_fd_close().

◆ waiting_grps

struct list_head rb_vm_struct::waiting_grps

Definition at line 9792 of file rb_mjit_min_header-2.7.6.h.

Referenced by ruby_waitpid_all().

◆ waiting_pids

struct list_head rb_vm_struct::waiting_pids

Definition at line 9791 of file rb_mjit_min_header-2.7.6.h.

Referenced by ruby_waitpid_all().

◆ waitpid_lock

rb_nativethread_lock_t rb_vm_struct::waitpid_lock

◆ workqueue

struct list_head rb_vm_struct::workqueue

Definition at line 9822 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_workqueue_register().

◆ workqueue_lock

rb_nativethread_lock_t rb_vm_struct::workqueue_lock

Definition at line 9823 of file rb_mjit_min_header-2.7.6.h.

Referenced by rb_workqueue_register().


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