Ruby  2.1.10p492(2016-04-01revision54464)
Data Fields
rb_vm_struct Struct Reference

#include <vm_core.h>

Data Fields

VALUE self
 
rb_global_vm_lock_t gvl
 
rb_nativethread_lock_t thread_destruct_lock
 
struct rb_thread_structmain_thread
 
struct rb_thread_structrunning_thread
 
st_tableliving_threads
 
VALUE thgroup_default
 
int running
 
int thread_abort_on_exception
 
int trace_running
 
volatile int sleeper
 
VALUE mark_object_ary
 
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
 
   int   safe
 
trap_list [RUBY_NSIG]
 
rb_hook_list_t event_hooks
 
struct st_tableensure_rollback_table
 
struct rb_postponed_job_structpostponed_job_buffer
 
int postponed_job_index
 
int src_encoding_index
 
VALUE verbose
 
VALUE debug
 
VALUE orig_progname
 
VALUE progname
 
VALUE coverages
 
struct unlinked_method_entry_list_entryunlinked_method_entry_list
 
VALUE defined_module_hash
 
struct rb_objspaceobjspace
 
struct RArray at_exit
 
VALUEdefined_strings
 
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 348 of file vm_core.h.

Field Documentation

◆ at_exit

struct RArray rb_vm_struct::at_exit

Definition at line 414 of file vm_core.h.

Referenced by ruby_vm_run_at_exit_hooks(), and vm_init2().

◆ cmd

VALUE rb_vm_struct::cmd

Definition at line 383 of file vm_core.h.

Referenced by rb_signal_exec(), rb_trap_exit(), rb_vm_mark(), and trap().

◆ coverages

VALUE rb_vm_struct::coverages

Definition at line 400 of file vm_core.h.

Referenced by rb_vm_mark().

◆ debug

VALUE rb_vm_struct::debug

Definition at line 399 of file vm_core.h.

Referenced by ruby_vm_debug_ptr().

◆ default_params

struct { ... } rb_vm_struct::default_params

◆ defined_module_hash

VALUE rb_vm_struct::defined_module_hash

Definition at line 404 of file vm_core.h.

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

◆ defined_strings

VALUE* rb_vm_struct::defined_strings

Definition at line 416 of file vm_core.h.

Referenced by rb_vm_mark(), and vm_memsize().

◆ ensure_rollback_table

struct st_table* rb_vm_struct::ensure_rollback_table

Definition at line 391 of file vm_core.h.

◆ event_hooks

rb_hook_list_t rb_vm_struct::event_hooks

Definition at line 388 of file vm_core.h.

Referenced by rb_threadptr_exec_event_hooks_orig(), and rb_vm_mark().

◆ expanded_load_path

VALUE rb_vm_struct::expanded_load_path

◆ fiber_machine_stack_size

size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 423 of file vm_core.h.

Referenced by vm_default_params_setup().

◆ fiber_vm_stack_size

size_t rb_vm_struct::fiber_vm_stack_size

Definition at line 422 of file vm_core.h.

Referenced by fiber_init(), and vm_default_params_setup().

◆ gvl

rb_global_vm_lock_t rb_vm_struct::gvl

Definition at line 351 of file vm_core.h.

◆ living_threads

st_table* rb_vm_struct::living_threads

◆ load_path

VALUE rb_vm_struct::load_path

◆ load_path_check_cache

VALUE rb_vm_struct::load_path_check_cache

Definition at line 374 of file vm_core.h.

Referenced by rb_get_expanded_load_path(), and rb_vm_mark().

◆ load_path_snapshot

VALUE rb_vm_struct::load_path_snapshot

◆ loaded_features

VALUE rb_vm_struct::loaded_features

◆ loaded_features_index

struct st_table* rb_vm_struct::loaded_features_index

Definition at line 378 of file vm_core.h.

Referenced by get_loaded_features_index().

◆ loaded_features_snapshot

VALUE rb_vm_struct::loaded_features_snapshot

◆ loading_table

struct st_table* rb_vm_struct::loading_table

Definition at line 379 of file vm_core.h.

Referenced by rb_vm_mark().

◆ main_thread

struct rb_thread_struct* rb_vm_struct::main_thread

◆ mark_object_ary

VALUE rb_vm_struct::mark_object_ary

Definition at line 366 of file vm_core.h.

Referenced by Init_top_self(), rb_gc_register_mark_object(), and rb_vm_mark().

◆ objspace

struct rb_objspace* rb_vm_struct::objspace

Definition at line 407 of file vm_core.h.

Referenced by Init_BareVM(), and ruby_vm_destruct().

◆ orig_progname

VALUE rb_vm_struct::orig_progname

Definition at line 399 of file vm_core.h.

◆ postponed_job_buffer

struct rb_postponed_job_struct* rb_vm_struct::postponed_job_buffer

◆ postponed_job_index

int rb_vm_struct::postponed_job_index

◆ progname

VALUE rb_vm_struct::progname

Definition at line 399 of file vm_core.h.

Referenced by location_to_str(), oldbt_init(), and rb_vm_bugreport().

◆ running

int rb_vm_struct::running

Definition at line 360 of file vm_core.h.

◆ running_thread

struct rb_thread_struct* rb_vm_struct::running_thread

Definition at line 355 of file vm_core.h.

Referenced by Init_VM(), thread_start_func_2(), and timer_thread_function().

◆ safe

int rb_vm_struct::safe

Definition at line 384 of file vm_core.h.

Referenced by rb_signal_exec(), rb_trap_exit(), and trap().

◆ self

VALUE rb_vm_struct::self

Definition at line 349 of file vm_core.h.

Referenced by gc_mark_roots(), Init_VM(), and ruby_vm_destruct().

◆ sleeper

volatile int rb_vm_struct::sleeper

◆ special_exceptions

VALUE rb_vm_struct::special_exceptions[ruby_special_error_count]

Definition at line 368 of file vm_core.h.

Referenced by rb_vm_mark(), and thread_fd_close_i().

◆ src_encoding_index

int rb_vm_struct::src_encoding_index

Definition at line 397 of file vm_core.h.

Referenced by vm_init2().

◆ thgroup_default

VALUE rb_vm_struct::thgroup_default

Definition at line 358 of file vm_core.h.

Referenced by Init_Thread(), and rb_vm_mark().

◆ thread_abort_on_exception

int rb_vm_struct::thread_abort_on_exception

◆ thread_destruct_lock

rb_nativethread_lock_t rb_vm_struct::thread_destruct_lock

◆ thread_machine_stack_size

size_t rb_vm_struct::thread_machine_stack_size

Definition at line 421 of file vm_core.h.

Referenced by vm_default_params_setup().

◆ thread_vm_stack_size

size_t rb_vm_struct::thread_vm_stack_size

Definition at line 420 of file vm_core.h.

Referenced by th_init(), and vm_default_params_setup().

◆ top_self

VALUE rb_vm_struct::top_self

Definition at line 371 of file vm_core.h.

Referenced by Init_top_self(), and rb_vm_mark().

◆ trace_running

int rb_vm_struct::trace_running

◆ trap_list

struct { ... } rb_vm_struct::trap_list[RUBY_NSIG]

◆ unlinked_method_entry_list

struct unlinked_method_entry_list_entry* rb_vm_struct::unlinked_method_entry_list

Definition at line 402 of file vm_core.h.

Referenced by rb_gc_mark_unlinked_live_method_entries(), and rb_sweep_method_entry().

◆ verbose

VALUE rb_vm_struct::verbose

Definition at line 399 of file vm_core.h.

Referenced by ruby_vm_verbose_ptr().


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