~/talk

Java Memory Model (JMM) for Beginners and Advanced Users

TalkinGermanat FrOSCon 2016 · 2016-08-20..08-21· [security]
links:none on file
slides:none on file

Explains concrete Java Memory Model effects: how compilers and the JIT reorder operations despite strong hardware, how store buffer reordering causes visible nondeterminism, and how a GCStress tool reproduces rare cases (e.g., x=0/y=1 on x86). Describes visibility and atomicity rules—final fields provide a final-visibility guarantee, volatile enforces visibility, and atomicity requires AtomicLong or synchronized—and shows measurable costs from padding/cache contention with runnable examples and tests.

AI-written summary · about

  1. 0:00Java Memory Model intro
  2. 5:22Hardware memory basics
  3. 22:43JMM for developers
  4. 34:31Visibility and reordering
  5. 40:58GC Stress Tool testing
  6. 55:34JMM future and limits
  7. 1:07:29Summary
~/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.