Ruby  2.5.0dev(2017-10-22revision60238)
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
 
struct list_head waiting_fds
 
struct list_head living_threads
 
size_t living_thread_num
 
VALUE thgroup_default
 
unsigned int running: 1
 
unsigned int thread_abort_on_exception: 1
 
unsigned int thread_report_on_exception: 1
 
int trace_running
 
volatile 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 [RUBY_NSIG]
 
   unsigned char   safe [RUBY_NSIG]
 
trap_list
 
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
 
int coverage_mode
 
VALUE defined_module_hash
 
struct rb_objspaceobjspace
 
rb_at_exit_listat_exit
 
VALUEdefined_strings
 
st_tablefrozen_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
 
short redefined_flag [BOP_LAST_]
 

Detailed Description

Definition at line 514 of file vm_core.h.

Field Documentation

◆ at_exit

rb_at_exit_list* rb_vm_struct::at_exit

Definition at line 575 of file vm_core.h.

Referenced by ruby_vm_at_exit().

◆ cmd

VALUE rb_vm_struct::cmd[RUBY_NSIG]

Definition at line 551 of file vm_core.h.

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

◆ coverage_mode

int rb_vm_struct::coverage_mode

Definition at line 569 of file vm_core.h.

◆ coverages

VALUE rb_vm_struct::coverages

Definition at line 568 of file vm_core.h.

Referenced by rb_vm_mark().

◆ debug

VALUE rb_vm_struct::debug

Definition at line 567 of file vm_core.h.

◆ default_params

struct { ... } rb_vm_struct::default_params

◆ defined_module_hash

VALUE rb_vm_struct::defined_module_hash

Definition at line 571 of file vm_core.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 577 of file vm_core.h.

◆ ensure_rollback_table

struct st_table* rb_vm_struct::ensure_rollback_table

Definition at line 559 of file vm_core.h.

◆ event_hooks

rb_hook_list_t rb_vm_struct::event_hooks

Definition at line 556 of file vm_core.h.

Referenced by rb_vm_mark().

◆ expanded_load_path

VALUE rb_vm_struct::expanded_load_path

Definition at line 543 of file vm_core.h.

Referenced by rb_vm_mark().

◆ fiber_machine_stack_size

size_t rb_vm_struct::fiber_machine_stack_size

Definition at line 585 of file vm_core.h.

◆ fiber_vm_stack_size

size_t rb_vm_struct::fiber_vm_stack_size

Definition at line 584 of file vm_core.h.

◆ frozen_strings

st_table* rb_vm_struct::frozen_strings

Definition at line 578 of file vm_core.h.

Referenced by Init_vm_objects().

◆ gvl

rb_global_vm_lock_t rb_vm_struct::gvl

Definition at line 517 of file vm_core.h.

◆ living_thread_num

size_t rb_vm_struct::living_thread_num

Definition at line 525 of file vm_core.h.

◆ living_threads

struct list_head rb_vm_struct::living_threads

◆ load_path

VALUE rb_vm_struct::load_path

Definition at line 540 of file vm_core.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 542 of file vm_core.h.

Referenced by rb_vm_mark().

◆ load_path_snapshot

VALUE rb_vm_struct::load_path_snapshot

Definition at line 541 of file vm_core.h.

Referenced by rb_get_expanded_load_path(), and rb_vm_mark().

◆ loaded_features

VALUE rb_vm_struct::loaded_features

Definition at line 544 of file vm_core.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 546 of file vm_core.h.

◆ loaded_features_snapshot

VALUE rb_vm_struct::loaded_features_snapshot

Definition at line 545 of file vm_core.h.

Referenced by rb_vm_mark().

◆ loading_table

struct st_table* rb_vm_struct::loading_table

Definition at line 547 of file vm_core.h.

Referenced by Init_vm_objects(), and rb_vm_mark().

◆ main_thread

struct rb_thread_struct* rb_vm_struct::main_thread

Definition at line 520 of file vm_core.h.

Referenced by rb_thread_terminate_all(), and ruby_vm_destruct().

◆ mark_object_ary

VALUE rb_vm_struct::mark_object_ary

Definition at line 535 of file vm_core.h.

Referenced by Init_vm_objects(), and rb_vm_mark().

◆ objspace

struct rb_objspace* rb_vm_struct::objspace

Definition at line 573 of file vm_core.h.

Referenced by ruby_vm_destruct().

◆ orig_progname

VALUE rb_vm_struct::orig_progname

Definition at line 567 of file vm_core.h.

◆ postponed_job_buffer

struct rb_postponed_job_struct* rb_vm_struct::postponed_job_buffer

Definition at line 562 of file vm_core.h.

Referenced by rb_postponed_job_flush(), and rb_postponed_job_register_one().

◆ postponed_job_index

int rb_vm_struct::postponed_job_index

Definition at line 563 of file vm_core.h.

Referenced by rb_postponed_job_flush(), and rb_postponed_job_register_one().

◆ progname

VALUE rb_vm_struct::progname

Definition at line 567 of file vm_core.h.

Referenced by rb_vm_bugreport().

◆ redefined_flag

short rb_vm_struct::redefined_flag[BOP_LAST_]

Definition at line 588 of file vm_core.h.

◆ running

unsigned int rb_vm_struct::running

Definition at line 528 of file vm_core.h.

◆ running_thread

struct rb_thread_struct* rb_vm_struct::running_thread

Definition at line 521 of file vm_core.h.

◆ safe

unsigned char rb_vm_struct::safe[RUBY_NSIG]

Definition at line 552 of file vm_core.h.

Referenced by rb_signal_exec().

◆ self

VALUE rb_vm_struct::self

Definition at line 515 of file vm_core.h.

◆ sleeper

volatile int rb_vm_struct::sleeper

Definition at line 532 of file vm_core.h.

Referenced by rb_mutex_lock().

◆ special_exceptions

const VALUE rb_vm_struct::special_exceptions[ruby_special_error_count]

◆ src_encoding_index

int rb_vm_struct::src_encoding_index

Definition at line 565 of file vm_core.h.

◆ thgroup_default

VALUE rb_vm_struct::thgroup_default

Definition at line 526 of file vm_core.h.

Referenced by rb_vm_mark().

◆ thread_abort_on_exception

unsigned int rb_vm_struct::thread_abort_on_exception

Definition at line 529 of file vm_core.h.

◆ thread_destruct_lock

rb_nativethread_lock_t rb_vm_struct::thread_destruct_lock

Definition at line 518 of file vm_core.h.

Referenced by rb_vm_gvl_destroy().

◆ thread_machine_stack_size

size_t rb_vm_struct::thread_machine_stack_size

Definition at line 583 of file vm_core.h.

◆ thread_report_on_exception

unsigned int rb_vm_struct::thread_report_on_exception

Definition at line 530 of file vm_core.h.

◆ thread_vm_stack_size

size_t rb_vm_struct::thread_vm_stack_size

Definition at line 582 of file vm_core.h.

◆ top_self

VALUE rb_vm_struct::top_self

Definition at line 539 of file vm_core.h.

Referenced by Init_top_self(), and rb_vm_mark().

◆ trace_running

int rb_vm_struct::trace_running

Definition at line 531 of file vm_core.h.

◆ trap_list

struct { ... } rb_vm_struct::trap_list

◆ verbose

VALUE rb_vm_struct::verbose

Definition at line 567 of file vm_core.h.

◆ waiting_fds

struct list_head rb_vm_struct::waiting_fds

Definition at line 523 of file vm_core.h.

Referenced by rb_notify_fd_close(), and rb_thread_io_blocking_region().


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