JEP Draft: Java Thread Sanitizer
openjdk.org·2h·
Discuss: Hacker News
⚙️Language Runtimes
Preview
Report Post

Note: This description is still a work in progress :)

Summary

Provide a dynamic data race detector implementation for Java and native JNI code utilizing ThreadSanitizer in OpenJDK.

Goals

Provide a means to detect data races in Java programs and their associated native JNI code:

  • Detects data races in a single execution both completely (i.e., finds all data races in the execution) and precisely (i.e., reports no false data race)
  • Runs via a command-line flag
  • Dumps information in a file/stderr about data races
  • Provides stack traces from the read/write data race moments with thread information

Non-Goals

  • Detects all data races in the program’s source code
  • Provide a way to detect data races in the JVM (HotSpot) itself
  • Provide a low-overhead data race dete…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help