~/talk

Optimizing Java Startup and Warmup: Exploring the Power of CRaC on Embedded

Talkat JCON WORLD ONLINE 2023 · on Tuesday, 2023-11-21· at 13:00· Live-Stream 5, Online - Remote· [java, cloud-infrastructure]
slides:none on file

CRaC (Coordinated Restore at Checkpoint) captures a fully warmed JVM snapshot and restarts JVMs from that image, cutting framework startup from seconds to milliseconds—examples show Spring Boot dropping from ~4 s to 38 ms and a Raspberry Pi demo going from a 5 s JAR cold start and 16 s to load 1M CSV rows down to ~6 ms per request after restore. It uses CRIU checkpoint/restore on Linux, requires kernel support now present in Raspberry Pi OS, and is available in Zulu with CRaC; checkpointing writes files, kills the process, and restores almost instantly.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 12:04Java versions and updates
  3. 22:02Java warmup and JIT compilation
  4. 28:53AOT vs JIT and CRaC solution
  5. 33:05Adding CRaC to existing projects
  6. 36:17CRaC demo on Raspberry Pi
  7. 42:28Current state and future of CRaC
  8. 44:55Q&A and closing remarks
~/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.