Ruby  2.0.0p648(2015-12-16revision53162)
Data Fields
rb_vm_struct Struct Reference

#include <vm_core.h>

Data Fields

VALUE self
 
rb_global_vm_lock_t gvl
 
rb_thread_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
 
int src_encoding_index
 
VALUE verbose
 
VALUE debug
 
VALUE progname
 
VALUE coverages
 
struct unlinked_method_entry_list_entryunlinked_method_entry_list
 
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 337 of file vm_core.h.

Field Documentation

struct RArray rb_vm_struct::at_exit

Definition at line 394 of file vm_core.h.

Referenced by ruby_vm_run_at_exit_hooks(), and vm_init2().

VALUE rb_vm_struct::cmd

Definition at line 372 of file vm_core.h.

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

VALUE rb_vm_struct::coverages

Definition at line 382 of file vm_core.h.

Referenced by rb_vm_mark().

VALUE rb_vm_struct::debug

Definition at line 381 of file vm_core.h.

Referenced by ruby_vm_debug_ptr().

struct { ... } rb_vm_struct::default_params
VALUE* rb_vm_struct::defined_strings

Definition at line 396 of file vm_core.h.

Referenced by rb_vm_mark(), and vm_memsize().

rb_hook_list_t rb_vm_struct::event_hooks

Definition at line 377 of file vm_core.h.

Referenced by rb_threadptr_exec_event_hooks_orig(), and rb_vm_mark().

VALUE rb_vm_struct::expanded_load_path
size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 403 of file vm_core.h.

Referenced by vm_default_params_setup().

size_t rb_vm_struct::fiber_vm_stack_size

Definition at line 402 of file vm_core.h.

Referenced by fiber_init(), and vm_default_params_setup().

rb_global_vm_lock_t rb_vm_struct::gvl

Definition at line 340 of file vm_core.h.

st_table* rb_vm_struct::living_threads
VALUE rb_vm_struct::load_path
VALUE rb_vm_struct::load_path_check_cache

Definition at line 363 of file vm_core.h.

Referenced by Init_load(), rb_get_expanded_load_path(), and rb_vm_mark().

VALUE rb_vm_struct::load_path_snapshot
VALUE rb_vm_struct::loaded_features
struct st_table* rb_vm_struct::loaded_features_index

Definition at line 367 of file vm_core.h.

Referenced by get_loaded_features_index(), Init_load(), and rb_vm_mark().

VALUE rb_vm_struct::loaded_features_snapshot
struct st_table* rb_vm_struct::loading_table

Definition at line 368 of file vm_core.h.

Referenced by rb_vm_mark().

struct rb_thread_struct* rb_vm_struct::main_thread
VALUE rb_vm_struct::mark_object_ary

Definition at line 355 of file vm_core.h.

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

struct rb_objspace* rb_vm_struct::objspace

Definition at line 387 of file vm_core.h.

Referenced by Init_BareVM(), and ruby_vm_destruct().

VALUE rb_vm_struct::progname

Definition at line 381 of file vm_core.h.

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

int rb_vm_struct::running

Definition at line 349 of file vm_core.h.

struct rb_thread_struct* rb_vm_struct::running_thread

Definition at line 344 of file vm_core.h.

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

int rb_vm_struct::safe

Definition at line 373 of file vm_core.h.

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

VALUE rb_vm_struct::self

Definition at line 338 of file vm_core.h.

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

volatile int rb_vm_struct::sleeper
VALUE rb_vm_struct::special_exceptions[ruby_special_error_count]

Definition at line 357 of file vm_core.h.

Referenced by rb_vm_mark(), and thread_fd_close_i().

int rb_vm_struct::src_encoding_index

Definition at line 379 of file vm_core.h.

Referenced by vm_init2().

VALUE rb_vm_struct::thgroup_default

Definition at line 347 of file vm_core.h.

Referenced by Init_Thread(), and rb_vm_mark().

int rb_vm_struct::thread_abort_on_exception
rb_thread_lock_t rb_vm_struct::thread_destruct_lock
size_t rb_vm_struct::thread_machine_stack_size

Definition at line 401 of file vm_core.h.

Referenced by vm_default_params_setup().

size_t rb_vm_struct::thread_vm_stack_size

Definition at line 400 of file vm_core.h.

Referenced by th_init(), and vm_default_params_setup().

VALUE rb_vm_struct::top_self

Definition at line 360 of file vm_core.h.

Referenced by Init_top_self(), and rb_vm_mark().

int rb_vm_struct::trace_running

Definition at line 351 of file vm_core.h.

Referenced by rb_suppress_tracing(), and rb_threadptr_exec_event_hooks_orig().

struct { ... } rb_vm_struct::trap_list[RUBY_NSIG]
struct unlinked_method_entry_list_entry* rb_vm_struct::unlinked_method_entry_list

Definition at line 384 of file vm_core.h.

Referenced by rb_gc_mark_unlinked_live_method_entries(), and rb_sweep_method_entry().

VALUE rb_vm_struct::verbose

Definition at line 381 of file vm_core.h.

Referenced by ruby_vm_verbose_ptr().


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