Maximizing performance with GraalVM
summary
GraalVM replaces the JVM JIT and often removes abstractions: a JMH benchmark comparing a hand‑tuned raw hash and an abstracted Objects.hash version shows HotSpot’s abstracted code is ~3x slower but GraalVM equalizes them by eliminating allocations via escape analysis. The native-image tool produces self-contained binaries that start in milliseconds and run at ~15 MB RSS for a simple quotes service; Renaissance suite shows GraalVM Enterprise about 30% faster on modern workloads.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 0:50About GraalVM
- 6:30Project structure
- 7:34Running general programs
- 8:38How to get started
- 10:10Performance misconceptions
- 10:50No abstractions
- 12:04Demo
- 12:28Small benchmark
- 13:48Abstraction
- 14:08Good
- 17:18Community Edition
- 21:13Escape Analysis
- 22:32Renaissance Benchmark
- 25:31More benchmarks are better
- 26:59Workload optimizations
- 29:38Ahead of time compilation
- 30:13What is performance
- 32:02Jet mode
- 33:02JIT mode
- 33:50Closed world assumption
- 34:46NET
- 35:43Annotation Processor
- 36:34Quotes
- 37:44Startup Test
- 40:29Native images
- 41:07Reduce startup time
- 42:16Languages
related talks
56mMaximizing Performance with GraalVM
59mMaximizing performance with GraalVM
17mGraalVM Runtime Efficiency and Contributing to the Development Community
44mJava In The Cloud with GraalVM
34mFast and Efficient Java Microservices with GraalVM
35mTop 10 Things to Do with GraalVM
47mBring the action: using GraalVM in production
31mBring the action: using GraalVM in production
