Skip to content

ZJIT: guard_type_failure happens too frequently on lobsters #771

@k0kubun

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions