define methodname as instance method of current module, using ERB
object or eRuby file
Gets the right public key from a PKey instance
Creates a self-signed certificate with an issuer and subject from email
, a subject alternative name of email
and the given extensions
for the key
.
Deprecation method to deprecate Rubygems commands
Deprecation method to deprecate Rubygems commands
Creates an RubyGems API to host
and path
with the given HTTP method
.
If allowed_push_host
metadata is present, then it will only allow that host.
Retrieves the pre-configured API key key
or terminates interaction with an error.
Add the –prerelease option to the option parser.
Add the –version option to the option parser.
Marshal
dumps exit locations to the given filename.
Usage:
If --yjit-exit-locations
is passed, a file named “yjit_exit_locations.dump” will automatically be generated.
If you want to collect traces manually, call dump_exit_locations
directly.
Note that calling this in a script will generate stats after the dump is created, so the stats data may include exits from the dump itself.
In a script call:
at_exit do RubyVM::YJIT.dump_exit_locations("my_file.dump") end
Then run the file with the following options:
ruby --yjit --yjit-trace-exits test.rb
Once the code is done running, use Stackprof to read the dump file. See Stackprof documentation for options.
$foo += bar ^^^^^^^^^^^
foo += bar ^^^^^^^^^^
$foo += bar ^^^^^^^^^^^
foo += bar ^^^^^^^^^^