ZJIT: Disable not-annotated cfuncs in --zjit-stats (#14915)

It's mostly a duplicate of not-inlined-cfuncs right now.
This commit is contained in:
Max Bernstein 2025-10-22 15:40:52 -07:00 committed by GitHub
parent d4ea1686b5
commit a763e6dd48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-10-22 22:41:25 +00:00
Merged-By: tekknolagi <donotemailthisaddress@bernsteinbear.com>

View File

@ -153,7 +153,8 @@ class << RubyVM::ZJIT
# Show counters independent from exit_* or dynamic_send_*
print_counters_with_prefix(prefix: 'not_inlined_cfuncs_', prompt: 'not inlined C methods', buf:, stats:, limit: 20)
print_counters_with_prefix(prefix: 'not_annotated_cfuncs_', prompt: 'not annotated C methods', buf:, stats:, limit: 20)
# Don't show not_annotated_cfuncs right now because it mostly duplicates not_inlined_cfuncs
# print_counters_with_prefix(prefix: 'not_annotated_cfuncs_', prompt: 'not annotated C methods', buf:, stats:, limit: 20)
# Show fallback counters, ordered by the typical amount of fallbacks for the prefix at the time
print_counters_with_prefix(prefix: 'unspecialized_send_def_type_', prompt: 'not optimized method types for send', buf:, stats:, limit: 20)