~/talk

Workshop: Java Concurrency Stress (JCStress). Part 1

Talkat Hydra 2021 · 2021-06-15..06-18· [concurrency]
slides:none on file

JCStress is an OpenJDK harness that empirically probes the Java Memory Model by running millions of tiny configurations; it reproduces an atomicity failure in a simple volatile increment (about 50M occurrences out of ~500M samples, ~10%), exposes non-atomic wide-word writes on 32-bit or future value-type layouts, demonstrates that Dekker’s 0/0 outcome is possible without proper ordering, and shows volatile release-acquire and final-field safe publication fix many surprises; the workspace ships runnable tests to reproduce VM, compiler, and hardware issues with JCStress harness.

AI-written summary · about

  1. 0:00Start
  2. 4:09Why One Should Care about Gc Stress
  3. 7:23Runnable Jc Stress Samples
  4. 8:55Basics
  5. 13:34Concurrency Bugs
  6. 16:10Volatile Increment Test
  7. 17:11Collision Case
  8. 17:51Jc Stress Examples
  9. 20:48Transmitting Configurations
  10. 24:29Problem with Gmm
  11. 29:21Jmm Update
  12. 31:10Overview
  13. 33:13Race Condition
  14. 38:21Access Atomicity Accessibility
  15. 45:03Atomicity
  16. 49:06Coherence Example
  17. 53:24Causality Possibility
  18. 59:03Safe Publication
  19. 1:00:10Causality
  20. 1:01:34Taker Test
  21. 1:18:32Safe Construction
~/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.