From 0a108601eff5a1e69a4dd5dc170e9eaa807d4788 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Wed, 22 Sep 2021 16:56:42 -0400 Subject: Add counters for version invalidation reasons I noticed that there were two st_table iterators that do exactly the same thing so I merged them into one. --- yjit.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'yjit.rb') diff --git a/yjit.rb b/yjit.rb index f7e283dc05..29a8d39d27 100644 --- a/yjit.rb +++ b/yjit.rb @@ -160,6 +160,7 @@ module YJIT print_counters(stats, prefix: 'oaref_', prompt: 'opt_aref exit reasons: ') print_counters(stats, prefix: 'expandarray_', prompt: 'expandarray exit reasons: ') print_counters(stats, prefix: 'opt_getinlinecache_', prompt: 'opt_getinlinecache exit reasons: ') + print_counters(stats, prefix: 'invalidate_', prompt: 'invalidation reasons: ') side_exits = total_exit_count(stats) total_exits = side_exits + stats[:leave_interp_return] -- cgit v1.2.1