summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-10-14 12:45:00 -0700
committerGitHub <noreply@github.com>2022-10-14 12:45:00 -0700
commit53e0e5e8df8648e23278e4811e634671de9e1af1 (patch)
tree6e6bda156eb8ee09ce1d5a5bbfa99fcef9255141 /yjit.rb
parentcbd3d655745564e3c33a29a5625ac30b4d69fb29 (diff)
downloadruby-53e0e5e8df8648e23278e4811e634671de9e1af1.tar.gz
YJIT: Avoid creating payloads for non-JITed ISEQs (#6549)
* YJIT: Count freed ISEQs * YJIT: Avoid creating payloads for non-JITed ISEQs
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index 226f2a8134..b80861dbfb 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -214,6 +214,7 @@ module RubyVM::YJIT
$stderr.puts "compilation_failure: " + ("%10d" % compilation_failure) if compilation_failure != 0
$stderr.puts "compiled_iseq_count: " + ("%10d" % stats[:compiled_iseq_count])
$stderr.puts "compiled_block_count: " + ("%10d" % stats[:compiled_block_count])
+ $stderr.puts "freed_iseq_count: " + ("%10d" % stats[:freed_iseq_count])
$stderr.puts "invalidation_count: " + ("%10d" % stats[:invalidation_count])
$stderr.puts "constant_state_bumps: " + ("%10d" % stats[:constant_state_bumps])
$stderr.puts "inline_code_size: " + ("%10d" % stats[:inline_code_size])