123456789_123456789_123456789_123456789_123456789_

Class: RubyVM

Relationships & Source Files
Namespace Children
Classes:
Inherits: Object
Defined in: vm.c

Constant Summary

  • DEFAULT_PARAMS =

    This constant variable shows VM's default parameters. Note that changing these values does not affect VM execution. Specification is not stable and you should not depend on this value. Of course, this constant is MRI specific.

    # File 'vm.c', line 2724
    :
  • INSTRUCTION_NAMES =
    # File 'vm.c', line 2716
    :
  • OPTS =

    OPTS, which shows vm build options

    # File 'vm.c', line 2689
    :

Class Method Summary

Class Method Details

.statHash .stat(hsh) ⇒ Hash .stat(Symbol) ⇒ Numeric

Returns a ::Hash containing implementation-dependent counters inside the VM.

This hash includes information about method/constant cache serials:

{
  :global_method_state=>251,
  :global_constant_state=>481,
  :class_serial=>9029
}

The contents of the hash are implementation specific and may be changed in the future.

This method is only expected to work on C Ruby.

USAGE_ANALYSIS_INSN_STOP

USAGE_ANALYSIS_OPERAND_STOP

USAGE_ANALYSIS_REGISTER_STOP