# JIT Compilation Skill

Expert skill for just-in-time compilation including profiling, tiered compilation, and deoptimization.

## Quick Reference

- **Category**: Runtime Optimization
- **ID**: SK-011

## Key Capabilities

- Execution profiling and hot path detection
- Tiered compilation strategies (baseline + optimizing)
- On-stack replacement (OSR)
- Speculative optimizations with guards
- Deoptimization frame reconstruction
- Inline caching and type feedback
- Code cache management and eviction
- Method inlining heuristics

## When to Use

Use this skill when implementing:
- Just-in-time compilers
- Tiered compilation systems
- Runtime optimization infrastructure
- Profile-guided optimization

## Related Skills

- bytecode-vm (SK-010)
- llvm-backend (SK-005)
- register-allocation (SK-007)
