~/talk

An Analysis of Compiled Code Reusability in Dynamic Compilation

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

Prototype implements IR caching and deferred optimization for GraalVM targeting the HotSpot JVM, tested on Renaissance benchmarks. It disables field folding and wraps heap-constant IR nodes before a reuse point, then re-enables optimizations per-VM; empirical results show performance impact from negligible to a 6x slowdown (GhostMix outlier caused by lost method-handle inlining). Proposal includes a remote JIT compilation server to serve cached IR; savings depend on method size and on compiling from cache being much faster than from scratch.

AI-written summary · about

  1. 0:00Compiled code reusability intro
  2. 1:05Remote JIT compilation server
  3. 2:27Reusing machine code challenges
  4. 4:37VM optimizations hindering reusability
  5. 7:47IR caching and deferred optimization
  6. 9:55IR caching reduces latency
  7. 13:03Cached IR verification
  8. 13:46Deferred optimization impact
  9. 16:36GhostMix performance drop
  10. 18:25Selective deferred optimization
  11. 19:08Conclusion and future work
  12. 20:14Q&A: Tiered compilation
  13. 20:55Q&A: Invalid optimizations
  14. 21:42Q&A: Static final fields
  15. 22:04Q&A: Future VM invalidations
  16. 23:10Q&A: Warm-up time savings
  17. 24:40Q&A: Space vs speed trade-offs
  18. 25:44Q&A: Warm-up curves
~/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.