diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-13 09:54:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 12:54:41 -0500 |
commit | 6246788bc47b5d28e3c612479a2986d84f2aa589 (patch) | |
tree | 2a09d2bf3158d0864eb0d4d459c82c645ce84e7c /yjit.rb | |
parent | bc8ba244b8524c8537eda4ca79f880312c8f4528 (diff) | |
download | ruby-6246788bc47b5d28e3c612479a2986d84f2aa589.tar.gz |
YJIT: Instrument global allocations on stats build (#6712)
* YJIT: Instrument global allocations on stats build
* Just use GLOVAL_ALLOCATOR.stats()
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -262,6 +262,7 @@ module RubyVM::YJIT $stderr.puts "inline_code_size: " + ("%10d" % stats[:inline_code_size]) $stderr.puts "outlined_code_size: " + ("%10d" % stats[:outlined_code_size]) $stderr.puts "freed_code_size: " + ("%10d" % stats[:freed_code_size]) + $stderr.puts "yjit_alloc_size: " + ("%10d" % stats[:yjit_alloc_size]) if stats.key?(:yjit_alloc_size) $stderr.puts "live_page_count: " + ("%10d" % stats[:live_page_count]) $stderr.puts "freed_page_count: " + ("%10d" % stats[:freed_page_count]) $stderr.puts "code_gc_count: " + ("%10d" % stats[:code_gc_count]) |