~/talk

Java Memory Model

Talkat JavaDay Kiev 2014 · 2014-11-06..11-07· [concurrency, java]
links:none on file
slides:none on file

Describes why the original Java memory model is broken and how JSR-133 replaces it with concrete guarantees: strengthened final semantics, well-defined volatile behavior implemented as a store fence after write and load fence before read, and synchronized semantics that force cache flushes. Shows how hardware (registers, L1/L3 caches, MESI protocol) and JVM optimizations caused divergent implementations, explains that JVMs were unified by the new model, and reports measured performance costs as negligible. Slides: http://goo.gl/KFEjWe

AI-written summary · about

  1. 0:00Introduction to speakers
  2. 1:37What is memory consistency
  3. 4:49Hardware memory models
  4. 9:32Java Memory Model basics
  5. 13:07Old Java model flaws
  6. 15:47Volatile and final explained
  7. 18:04Why built-in model wins
  8. 20:08Model clash and performance
~/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.