~/talk

ThreadSanitizer and Heap Sampling

Talkat JVM Language Summit 2017 · 2017-07-31..08-02· [java, testing]
links:none on file
links:none on file
slides:none on file

Integrates ThreadSanitizer into the JVM so the runtime sees Java and JNI synchronization, uses vector clocks to report no false positives, tracks field accesses by instrumenting interpreter and JDK (partial C1 JIT support, C2 pending), and suppresses thousands of legacy races to avoid noisy default enabling. Adds a Heap Sampler used in production for over a decade that gives stacktraces of live and garbage samples, targets 1–2% overhead, uses a 512KB default sampling and exports data for tooling (JEP/JDK-8171119).

AI-written summary · about

  1. 0:00Intro
  2. 0:16Outline
  3. 8:55Happens Before: No False Positives
  4. 10:11Vector Clocks by Thread Sanitizer
  5. 10:58Thread Sanitizer and JDK Together
  6. 12:55Tell TSan everything
  7. 15:36Tell TSan almost everything
  8. 16:43Nice Stack Reports - How?
  9. 18:27Reporting a Data Race
  10. 19:40Impact of Java Tsan
  11. 21:16Ongoing and Future Work
  12. 22:34Heap Sampling Introduction
  13. 24:10Preamble 2 What about as a JFR event?
  14. 25:12Preamble 3 Heap Sampling
  15. 25:47Tentative JVMTI API
  16. 28:26Heap Sampling Overview
  17. 30:58Tools on Top
  18. 32:07Compiler Implementation
  19. 35:32Internal Implementation Details
  20. 36:09Where is the webrev up to?
  21. 37:14Future Potential Items
  22. 39:03Heap Sampling Conclusion
~/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.