Skip to content

ZJIT: send_without_block_polymorphic happens too frequently #776

Description

@k0kubun

On lobsters, 19.4% of dynamic dispatch is caused by send_without_block_polymorphic.

We should:

  1. Investigate the most frequent reasons why callsites become polymorphic. Try --zjit-trace-exits?
  2. Address common polymorphic callsite patterns.
    • Support handling multiple receiver classes for a single callsite and then fallback to dynamic dispatch like YJIT does?

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