summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/java_lock_rec_race.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in test/tsan to .cppFangrui Song2019-08-021-51/+0
| | | | | | Like r367463, but for test/tsan. llvm-svn: 367656
* [TSAN] Make tsan tests more portable (take 3)Renato Golin2016-04-151-3/+3
| | | | | | | | Some tests didn't merge stderr with stdout. Patch by Maxim Kuvyrkov. llvm-svn: 266426
* Revert "Make tsan tests more portable (take 2)"Renato Golin2016-04-141-2/+2
| | | | | | This reverts commit r266294, as it broke some buildbots again. :/ llvm-svn: 266300
* Make tsan tests more portable (take 2)Renato Golin2016-04-141-2/+2
| | | | | | | | | Using stderr more uniformily, avoiding potential races when scanning stdout and stderr output. Patch by Maxim Kuvyrkov. llvm-svn: 266294
* Revert "[RT] Make tsan tests more portable"Renato Golin2016-03-021-2/+2
| | | | | | This reverts commit r262476, as it broken the AArch64 VMA42 buildbot. llvm-svn: 262479
* [RT] Make tsan tests more portableRenato Golin2016-03-021-2/+2
| | | | | | | | by avoiding potential races when scanning stdout and stderr output. Patch by Maxim Kuvyrkov. llvm-svn: 262476
* tsan: remove sleeps from testsDmitry Vyukov2015-01-211-3/+5
| | | | | | | | 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. llvm-svn: 226659
* tsan: allow memory overlap in __tsan_java_moveDmitry Vyukov2014-07-081-7/+8
| | | | | | JVM actually moves memory between overlapping ranges. llvm-svn: 212560
* tsan: make positive tests more robustDmitry Vyukov2014-05-301-1/+1
| | | | | | | | | | Add a script that is used to deflake inherently flaky tsan tests. It is invoked from lit tests as: %deflake %run %t The script runs the target program up to 10 times, until it produces a tsan warning. llvm-svn: 209898
* tsan: refactor storage of meta information for heap blocks and sync objectsDmitry Vyukov2014-05-291-1/+1
| | | | | | | | | | | | | | | The new storage (MetaMap) is based on direct shadow (instead of a hashmap + per-block lists). This solves a number of problems: - eliminates quadratic behaviour in SyncTab::GetAndLock (https://code.google.com/p/thread-sanitizer/issues/detail?id=26) - eliminates contention in SyncTab - eliminates contention in internal allocator during allocation of sync objects - removes a bunch of ad-hoc code in java interface - reduces java shadow from 2x to 1/2x - allows to memorize heap block meta info for Java and Go - allows to cleanup sync object meta info for Go - which in turn enabled deadlock detector for Go llvm-svn: 209810
* Add %run to all lit testsGreg Fitzgerald2014-04-301-1/+1
| | | | llvm-svn: 207709
* Move TSan lit-tests under test/tsanAlexey Samsonov2014-02-141-0/+48
llvm-svn: 201414
OpenPOWER on IntegriCloud