~/talk

Techniques for a faster JVM start-up

Talkat Voxxed Days Bucharest 2022 · 2022-03-23..03-25· [java]
slides:none on file

Explains concrete ways to shave startup seconds: using dynamic CDS (AppCDS) on HotSpot cuts a typical Spring Boot boot by about a second but requires identical JDK version and stable jar timestamps; enabling OpenJ9 shared cache (includes AOT-compiled code) reduces warmup far more in these demos (roughly halving 15–8s runs); and producing a native executable with GraalVM native image (Spring Native) yields ~300 ms starts at the cost of long builds, reflection config, and missing dynamic classloading.

AI-written summary · about

  1. 0:00Introduction
  2. 2:07When JVM startup matters
  3. 5:15Dynamic CDS
  4. 8:46ABCDS
  5. 10:56DynamicCDFS
  6. 12:26Multiple DynamicCDFS
  7. 15:14DynamicCDFS Structure
  8. 17:18Practice
  9. 26:56Summary
  10. 27:29Limitations
  11. 28:56Eclipse OpenG9
  12. 35:29Native compilation
~/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.