~/talk

How Class Data Sharing Can Speed up Your Jakarta EE Application Startup

Talkat JCON-ONLINE 2021 · 2021-10-05..10-08· [java, web-performance]
slides:none on file

Shows how to use JDK 17 class data sharing to precompute a classlist dump and build a shared archive so a Jakarta EE app with ~14k classes launches much faster without code changes. Compares OpenJ9 vs HotSpot/OpenJDK behavior and commands, demonstrates creating the archive (classlist → dump → use at startup), and measures startup improvements commonly in the 5–10 second range (examples drop ~6s → ~4.3s) and memory savings around 5–10% in Docker; warns about dynamic proxies/reflection and platform/permission caveats.

AI-written summary · about

  1. 0:00Start
  2. 10:31Improvements? Can we improve this?
  3. 15:16Why Fast Startup Important? • Large surge in requests
  4. 18:14Class Data Sharing - CDS • Load, verify, derive - Perform upfront Store info in memory mapped read-only file
~/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.