Welcome to the Tsan Project!
The goal of this Project is to explore and incubate a Thread SANitizing (TSAN) feature that could be integrated into the HotSpot JVM and the JVM Tool Interface (JVM TI). This includes working, evaluating, and incubating a Thread Sanitizer implementation for Java.
The rest of this page will provide basic information for downloading, building, and testing Java TSAN.
Note: Java TSAN is not working yet and will not be able to provide any data race information yet. The information below is really how to clone/test for developers and testers:
Cloning:
hg clone --branch dev http://hg.openjdk.java.net/tsan/dev jdk-tsan
Installing:
TODO: since TSAN is not even integrated yet, the JDK you just branched is the mainline.
Testing:
Currently, the tests for TSAN are here:
make run-test TEST="jtreg:test/hotspot/jtreg/tsan"
The tests are currently passing if TSAN is not enabled; once TSAN starts coming online, the tests will flip their assertions/expectations.
Resources
- Tsan Project
- Repositories
- Mailing list: tsan-dev