Skip to content
class method

ZJIT.dump_exit_locations

dump_exit_locations(filename)

Marshal dumps exit locations to the given filename.

Usage:

In a script call:

Example
RubyVM::ZJIT.dump_exit_locations("my_file.dump")

Then run the file with the following options:

ruby --zjit --zjit-stats --zjit-trace-exits test.rb

Once the code is done running, use Stackprof to read the dump file. See Stackprof documentation for options.

See also .enable .enabled?