Understanding the On-Stack-Replacement (OSR) optimisation in the HotSpot C1 compiler
- What
- Article
- Where
- JITWatch wiki
- When
- Oct 2017
A walk through how HotSpot swaps a long-running interpreted loop for compiled code mid-execution, as seen in the C1 compiler.