From 3c61e1e77f9e501dd5ef19d6c661ceba6b84cac8 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Wed, 6 Jul 2022 11:13:22 -0400 Subject: 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. --- yjit.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'yjit.rb') diff --git a/yjit.rb b/yjit.rb index b3c1efdbd4..15c84d0c61 100644 --- a/yjit.rb +++ b/yjit.rb @@ -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) -- cgit v1.2.1