~/talk

A journey to JVM Excellence: Navigating JDKs and JVMs

links:none on file
slides:none on file

Public benchmarks use JMH, JDK 17, x86 and aarch64, HotSpot C2, GraalVM CE and Oracle GraalVM and reveal concrete tradeoffs: Oracle GraalVM CE/Enterprise often wins overall by 10s–40% on many microcases; C2 beats Graal on implicit NullPointer hot loops because C2 avoids filling stack traces (fast-throw), while Graal fills stack traces; enum lookups need cached values to avoid allocation storms; nested synchronized code can be two orders of magnitude slower when C2 fails to compile (runs in interpreter); Graal’s allocation grouping and scalar replacement reduce allocations; results come from compilation logs, assembly inspection, async-profiler flame graphs.

AI-written summary · about

  1. 0:00JVM compiler benchmarks intro
  2. 3:58Focus on JDK 17
  3. 6:09Benchmarking setup
  4. 8:18Baseline benchmark
  5. 11:15Enum lookup performance
  6. 16:18Nested synchronization
  7. 22:20Dead local store optimizations
  8. 27:23Null pointer exceptions
  9. 32:18Recursive method optimizations
  10. 34:03Scalar replacement analysis
  11. 38:17Benchmark results stats
  12. 41:52Choosing the right compiler
  13. 43:37Key learnings
  14. 47:17Q&A
~/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.