~/talk

Java on CRaC: Superfast JVM Application Startup

Talkat Jfokus 2022 · 2022-05-02..05-04· [java, devops-and-delivery]
slides:none on file

Proposes using CRaC (Coordinated Restore at Checkpoint) to snapshot a warmed JVM process and restore it instantly, implemented as an OpenJDK proof‑of‑concept that builds on CRIU and exposes a simple resource API with beforeCheckpoint/afterRestore callbacks. Benchmarks show warm services (Spring Boot, Quarkus, Micronaut) drop startup from seconds to ~33–48 ms and Spring first‑operation from 4 s to 38 ms. Works on Linux only and aborts if sockets/files remain open.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Why is Java so popular
  3. 8:34Ahead of time compilation
  4. 12:53Speculative optimization
  5. 15:15Branch analysis
  6. 17:48speculative optimizations
  7. 18:50aot vs jit
  8. 25:14Challenges with Snapshots
  9. 26:16Restore Checkpoint
  10. 29:49Context
  11. 31:52Jetty Server
  12. 32:13Jetty Checkpoint
  13. 33:06Resource Interface
  14. 33:40Checkpoint Restore
  15. 36:02Overhead
  16. 36:47Summary
  17. 37:59Technical Support
  18. 46:07Questions
~/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.