~/talk

Under the Hood of Java Synchronization

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java]
links:none on file
name:Jack Lu
links:none on file
slides:none on file

Explains how OpenJ9’s adaptive spinning and lock reservation actually work, shows using the Java Lock Monitor agent to profile locks, and reports retuning the Spark “torrent broadcast” lock via JVM command-line knobs to cut runtimes by 3–21%. Describes the decision models (heuristics based on hold time and JIT analysis), the cost of wrong decisions, and moving from manual trial-and-error to automated Bayesian optimization using the open-source “experiment” tool to search parameter space.

AI-written summary · about

  1. 0:00Introduction to JVM and locking
  2. 1:57Basics of Java locking
  3. 7:15Benefits and drawbacks of locks
  4. 9:20JVM locking architecture in OpenJ9
  5. 11:48Adaptive spinning feature
  6. 16:26Lock reservation feature
  7. 24:19Manual tuning challenges
  8. 25:44Bayesian optimization approach
  9. 27:51Recap and future automation
  10. 58:41Q&A session
~/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.