Skip to content

3.3.4 Tracing & Loop Analysis #30

Description

@Mathnerd314

Function: Identifies and extracts hot traces and loops for advanced optimization when the optimization objective warrants it; incorporates speculative inlining, prefetching, and cache shaping.

optimizing JIT with:

  • Method compilation.
  • Trace compilation for hot paths, using meta-hybrid policy to avoid pathological traces. ar5iv.labs.arxiv
  • Speculative optimizations: inlining, specialization, prefetching, cache shaping.

Outputs: Machine code per function/trace with guards; mapping of IR to instructions/registers/schedule; deoptimization metadata.

Key references

  • Meta-hybrid JIT: amalgamating method and tracing JITs. arxiv
  • Cloud/offload JIT ideas similar to Azul.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions