~/talk

Lightweight On-Stack Replacement in Languages with Unstructured Loops

Talkat VMIL 2021 · on Sunday, 2021-10-17· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Counts backward jumps (back-edges) to detect hot regions, compiles from the back-edge destination to the end of the method, and performs a tail-call into compiled code when ready. API uses a lightweight two-stage check with pollOSR on every back-edge and heavyweight tryOSR only when needed. Implementation adds a frame copy to enable scalar replacement and allocates OSR metadata lazily. Integrated with Truffle’s LLVM bitcode interpreter and the JVM interpreter, it speeds start-up without degrading warmed-up performance.

AI-written summary · about

  1. 0:00Introduction
  2. 0:10Background
  3. 1:17Loopbased OSR
  4. 2:57Package OSR
  5. 4:49OSR Implementation
  6. 8:19Implementation Details
  7. 10:17Metadata
  8. 12:30Benchmarks
  9. 14:17Next Steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.