~/talk

Improve Startup Performance and Reduce Footprint with Application Class Data Sharing

Talkat Oracle Code One 2018 · 2018-10-22..10-25· [java]
name:Ioi Lam
links:none on file
links:none on file
slides:none on file

AppCDS (open-sourced since JDK 10) creates a memory‑mapped archive of class metadata and selected Java objects to cut startup and RAM; JDK 12 ships a JDK 12 default AppCDS archive in OpenJDK EA so no dump step is needed. Measured wins: ~45–50% faster empty-main startup, ~30–32% for FN functions, ~17% for a Java HTTP server, ~5% for Spring Boot. Custom archives require a trial run, dump and rerun; archived object handling exposes closed/open archive heap regions and supports G1 on 64-bit Linux, yielding real sharing and footprint reduction often exceeding 10% savings.

AI-written summary · about

  1. 0:00Start
  2. 7:27Class Data Sharing Architecture
  3. 7:57Default CDS Archive - JEP 341
  4. 9:37JDK 12 Startup Time With Default CDS Archive
  5. 13:52JDK 11
  6. 16:07Module Support
  7. 16:56Module Path Supporting Matrix
  8. 17:34Command Line Examples Create a shared archive using module path
  9. 20:49Archive Targeted Java Object Subgraphs
  10. 29:27Hybrid Archiving With Layers
  11. 37:12Using AppCDS + AppCDS - archive system classes application classes
~/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.