diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2022-07-06 11:13:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 11:13:22 -0400 |
commit | 3c61e1e77f9e501dd5ef19d6c661ceba6b84cac8 (patch) | |
tree | 4df2e385dbf4bd8681f0f7cef552b12b6e240485 /yjit.rb | |
parent | 5ef3c7ea2d1968c87f361b6615699b92cc6e5a9a (diff) | |
download | ruby-3c61e1e77f9e501dd5ef19d6c661ceba6b84cac8.tar.gz |
YJIT: add a counter for gc object refs in the machine code (#6089)
Add a counter for gc object refs in the machine code
This is to gather data for the eventual implementation of
a constant pool.
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -211,6 +211,7 @@ module RubyVM::YJIT $stderr.puts "constant_state_bumps: " + ("%10d" % stats[:constant_state_bumps]) $stderr.puts "inline_code_size: " + ("%10d" % stats[:inline_code_size]) $stderr.puts "outlined_code_size: " + ("%10d" % stats[:outlined_code_size]) + $stderr.puts "num_gc_obj_refs: " + ("%10d" % stats[:num_gc_obj_refs]) $stderr.puts "total_exit_count: " + ("%10d" % total_exits) $stderr.puts "total_insns_count: " + ("%10d" % total_insns_count) |