Project

General

Profile

ยซ Previous | Next ยป 

Revision 1eff5a98

Added by maximecb (Maxime Chevalier-Boisvert) over 1 year ago

YJIT: limit size of call count stats dict (#10858)

  • YJIT: limit size of call count stats dict

Someone reported that logs were getting bloated because the
ISEQ and C call count dicts were huge, since they include all
of the call sites. I wrote code on the Rust size to limit the
size of the dict to avoid this problem. The size limit is
hardcoded at 20, but I figure this is probably fine?

  • Fix bug reported by Kokubun.