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
rb_thread_structmain_thread
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
st_tableloaded_features_index
st_tableloading_table
struct {
   VALUE   cmd
   int   safe
trap_list [RUBY_NSIG]
rb_hook_list_t event_hooks
st_tableensure_rollback_table
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
unlinked_method_entry_list_entryunlinked_method_entry_list
VALUE defined_module_hash
rb_objspaceobjspace
RArray at_exit
VALUE * defined_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

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().

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().

VALUE rb_vm_struct::coverages

Definition at line 400 of file vm_core.h.

Referenced by rb_vm_mark().

VALUE rb_vm_struct::debug

Definition at line 399 of file vm_core.h.

Referenced by ruby_vm_debug_ptr().

struct { ... } rb_vm_struct::default_params

Referenced by fiber_init(), th_init(), and vm_default_params_setup().

VALUE rb_vm_struct::defined_module_hash

Definition at line 404 of file vm_core.h.

Referenced by rb_vm_add_root_module(), and rb_vm_mark().

VALUE* rb_vm_struct::defined_strings

Definition at line 416 of file vm_core.h.

Referenced by rb_vm_mark(), and vm_memsize().

struct st_table* rb_vm_struct::ensure_rollback_table

Definition at line 391 of file vm_core.h.

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().

VALUE rb_vm_struct::expanded_load_path

Definition at line 375 of file vm_core.h.

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

size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 423 of file vm_core.h.

Referenced by vm_default_params_setup().

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().

rb_global_vm_lock_t rb_vm_struct::gvl

Definition at line 351 of file vm_core.h.

st_table* rb_vm_struct::living_threads

Definition at line 357 of file vm_core.h.

Referenced by Init_VM(), rb_check_deadlock(), rb_thread_atfork_internal(), rb_thread_terminate_all(), rb_vm_mark(), ruby_vm_destruct(), thread_create_core(), vm_living_thread_num(), and vm_memsize().

VALUE rb_vm_struct::load_path

Definition at line 372 of file vm_core.h.

Referenced by load_path_getter(), rb_construct_expanded_load_path(), rb_get_expanded_load_path(), and rb_vm_mark().

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().

VALUE rb_vm_struct::load_path_snapshot

Definition at line 373 of file vm_core.h.

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

VALUE rb_vm_struct::loaded_features

Definition at line 376 of file vm_core.h.

Referenced by get_loaded_features_index(), rb_vm_bugreport(), rb_vm_mark(), and reset_loaded_features_snapshot().

struct st_table* rb_vm_struct::loaded_features_index

Definition at line 378 of file vm_core.h.

Referenced by get_loaded_features_index().

VALUE rb_vm_struct::loaded_features_snapshot

Definition at line 377 of file vm_core.h.

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

struct st_table* rb_vm_struct::loading_table

Definition at line 379 of file vm_core.h.

Referenced by rb_vm_mark().

struct rb_thread_struct* rb_vm_struct::main_thread

Definition at line 354 of file vm_core.h.

Referenced by Init_VM(), rb_check_deadlock(), rb_thread_atfork_internal(), rb_thread_kill(), rb_thread_main(), rb_thread_terminate_all(), rb_threadptr_execute_interrupts(), rb_threadptr_signal_exit(), rb_threadptr_signal_raise(), ruby_vm_destruct(), thread_free(), thread_start_func_2(), and timer_thread_function().

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().

struct rb_objspace* rb_vm_struct::objspace

Definition at line 407 of file vm_core.h.

Referenced by ruby_vm_destruct().

VALUE rb_vm_struct::orig_progname

Definition at line 399 of file vm_core.h.

struct rb_postponed_job_struct* rb_vm_struct::postponed_job_buffer

Definition at line 394 of file vm_core.h.

Referenced by Init_postponed_job(), postponed_job_register(), rb_postponed_job_flush(), and rb_postponed_job_register_one().

int rb_vm_struct::postponed_job_index

Definition at line 395 of file vm_core.h.

Referenced by Init_postponed_job(), postponed_job_register(), rb_postponed_job_flush(), rb_postponed_job_register(), and rb_postponed_job_register_one().

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().

int rb_vm_struct::running

Definition at line 360 of file vm_core.h.

struct rb_thread_struct* rb_vm_struct::running_thread

Definition at line 355 of file vm_core.h.

Referenced by Init_VM(), and timer_thread_function().

int rb_vm_struct::safe

Definition at line 384 of file vm_core.h.

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

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().

volatile int rb_vm_struct::sleeper

Definition at line 363 of file vm_core.h.

Referenced by rb_check_deadlock(), rb_mutex_lock(), rb_thread_atfork_internal(), and sleep_forever().

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().

int rb_vm_struct::src_encoding_index

Definition at line 397 of file vm_core.h.

Referenced by vm_init2().

VALUE rb_vm_struct::thgroup_default

Definition at line 358 of file vm_core.h.

Referenced by Init_Thread(), and rb_vm_mark().

int rb_vm_struct::thread_abort_on_exception

Definition at line 361 of file vm_core.h.

Referenced by rb_thread_s_abort_exc(), and rb_thread_s_abort_exc_set().

rb_nativethread_lock_t rb_vm_struct::thread_destruct_lock

Definition at line 352 of file vm_core.h.

Referenced by Init_Thread(), rb_vm_gvl_destroy(), and timer_thread_function().

size_t rb_vm_struct::thread_machine_stack_size

Definition at line 421 of file vm_core.h.

Referenced by vm_default_params_setup().

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().

VALUE rb_vm_struct::top_self

Definition at line 371 of file vm_core.h.

Referenced by Init_top_self(), and rb_vm_mark().

int rb_vm_struct::trace_running

Definition at line 362 of file vm_core.h.

Referenced by exec_hooks_precheck(), rb_suppress_tracing(), and rb_threadptr_exec_event_hooks_orig().

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

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

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().

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:
Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7