~/talk

Thread Sanitizing for Java

Talkat JVM Language Summit 2019 · 2019-07-29..07-31· [java, observability]
links:none on file
links:none on file
name:Man Cao
links:none on file
slides:none on file

An interpreter-only TSan integration for HotSpot is now upstreamed as a prototype that links LLVM TSan into the JVM, instruments Java object locks, synchronized methods, volatiles, and JNI/native accesses, and reports races with Java-level stacks; a demo showed it find and reproduce a simple read/write race and stop reporting it after synchronizing. Implementation currently uses a naive object-tracking GC protocol, has about 60 JDK suppressions, and measures roughly 3–9× slowdown and ~1.05–4× memory overhead; licensing and final-field/unsafe gaps remain.

AI-written summary · about

  1. 0:00Intro
  2. 0:38TSan Project: High Level Goals
  3. 1:18Purpose of this talk
  4. 7:17Why LLVM TSan for Java TSan
  5. 10:04Java TSan Architecture
  6. 11:50Synchronization
  7. 13:03Java Memory Accesses
  8. 14:12Volatile Fields
  9. 17:03Allocating, Garbage Collecting, and Moving Objects
  10. 19:05Symbolization
  11. 20:04Native Races
  12. 21:34Non-Performance Numbers
  13. 22:16Unresolved issues
  14. 28:06Conclusion
~/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.