~/talk

Graal: How to use the new JVM JIT compiler in real life

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [java, web-performance]
slides:none on file

Graal is the Java-written JIT now available via JDK 9’s JVMCI and JDK 10’s JEP 317 and can be enabled with -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler or precompiled with jaotc (JEP 295). It bootstraps lazily at tier 4, compiles roughly ~5,000 Graal methods which adds about ~600 ms extra startup in tests, allocates compilation memory on the Java heap (risk of OOME without heap isolation), and in Twitter/Scala runs reduced CPU ~10% and showed up to ~40% faster runtime with p99 latency down ~20% in demos.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 5:19What is Graal VM
  3. 11:46Why use Graal at Twitter
  4. 15:17Enabling Graal in HotSpot
  5. 22:33Bootstrapping Graal
  6. 27:53Java heap usage with Graal
  7. 33:55Performance benchmarks
  8. 39:43Summary and call to action
~/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.