Skip to content

ZJIT: guard_type_failure happens too frequently on lobsters #771

Description

@k0kubun

guard_type_failure is the top exit reason on lobsters other than compile_error_register_spill_*. We should investigate why that happens and reduce such exits.

We should:

  1. Investigate how guard_type_failure happens on benchmarks. Try --zjit-trace-exits?
  2. Address common guard_type_failure patterns.
    • Is call-threshold or num-profiles too low to profile those types?
    • Should we recompile the ISEQ if this happens?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions