summaryrefslogtreecommitdiff
path: root/test/tsan/java.h
AgeCommit message (Collapse)Author
2016-12-14tsan: allow Java VM iterate over allocated objectsDmitry Vyukov
Objects may move during the garbage collection, and JVM needs to notify ThreadAnalyzer about that. The new function __tsan_java_find eliminates the need to maintain these objects both in ThreadAnalyzer and JVM. Author: Alexander Smundak (asmundak) Reviewed in https://reviews.llvm.org/D27720 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289682 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-24tsan: don't print external PCs in reportsDmitry Vyukov
They are meaningless. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@240539 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-05tsan: add memory access functions that accept pcDmitry Vyukov
This is required for Java support, as real PCs don't work for Java. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@236484 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-21tsan: remove sleeps from testsDmitry Vyukov
Even sleep(1) lead to episodical flakes on some machines. Use an invisible by tsan barrier to enforce required execution order instead. This makes the tests deterministic and faster. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@226659 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-22tsan: add acquire/release functions to java interfaceDmitry Vyukov
they are required to handle synchronization on volatile/final fields git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224697 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-27tsan: add __tsan_java_finalize interface functionDmitry Vyukov
It is required to prevent false positives between object ctor and finalizer, as otherwise they look completely unsynchronized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@211829 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14Move TSan lit-tests under test/tsanAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201414 91177308-0d34-0410-b5e6-96231b3b80d8