Skip to content

ZJIT: Recompile ISEQ when a shape check fails on monomorphic callsites #847

Description

@k0kubun

context: #771 (comment)

There are phase changes where a reasonable call-threshold setting would not observe all possible types. To address exits in such situations, it's nice to experiment with recompiling a whole ISEQ:

  1. Update the profile on such a exit
  2. Clear JIT code and reset the call counter to re-compile the ISEQ after profiling num-profiles times again

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions