summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/yjit.rb b/yjit.rb
index 751400a43e..9fb4d6876b 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -219,7 +219,7 @@ module RubyVM::YJIT
if !self.enabled?
warn(
"YJIT needs to be enabled to produce disasm output, e.g.\n" +
- "ruby --yjit-call-threshold=1 my_script.rb (see doc/yjit/yjit.md)"
+ "ruby --yjit-call-threshold=1 my_script.rb (see doc/jit/yjit.md)"
)
return nil
end
@@ -229,7 +229,7 @@ module RubyVM::YJIT
if !disasm_str
warn(
"YJIT disasm is only available when YJIT is built in dev mode, i.e.\n" +
- "./configure --enable-yjit=dev (see doc/yjit/yjit.md)\n"
+ "./configure --enable-yjit=dev (see doc/jit/yjit.md)\n"
)
return nil
end
@@ -322,7 +322,6 @@ module RubyVM::YJIT
leave
objtostring
opt_aref
- opt_aref_with
opt_aset
opt_case_dispatch
opt_div
@@ -354,6 +353,9 @@ module RubyVM::YJIT
# Number of failed compiler invocations
compilation_failure = stats[:compilation_failure]
+ # Number of refused exceptional entries with an escaped environment
+ exceptional_entry_escaped_env = stats[:exceptional_entry_escaped_env]
+
code_region_overhead = stats[:code_region_size] - (stats[:inline_code_size] + stats[:outlined_code_size])
out.puts "num_send: " + format_number(13, stats[:num_send])
@@ -390,6 +392,7 @@ module RubyVM::YJIT
out.puts "bindings_allocations: " + format_number(13, stats[:binding_allocations])
out.puts "bindings_set: " + format_number(13, stats[:binding_set])
out.puts "compilation_failure: " + format_number(13, compilation_failure) if compilation_failure != 0
+ out.puts "exceptional_entry_escaped_env:" + format_number(6, exceptional_entry_escaped_env) if exceptional_entry_escaped_env != 0
out.puts "live_iseq_count: " + format_number(13, stats[:live_iseq_count])
out.puts "iseq_alloc_count: " + format_number(13, stats[:iseq_alloc_count])
out.puts "compiled_iseq_entry: " + format_number(13, stats[:compiled_iseq_entry])