/external/compiler-rt/test/tsan/ |
D | java_alloc.cc | 4 int const kHeapSize = 1024 * 1024; variable 8 for (jptr i = 0; i < kHeapSize / 4 / sz; i++) { in stress() 11 __tsan_java_move(addr, addr + kHeapSize / 2, kHeapSize / 4); in stress() 12 __tsan_java_free(addr + kHeapSize / 2, kHeapSize / 4); in stress() 22 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 23 __tsan_java_init(jheap, kHeapSize); in main() 25 pthread_create(&th, 0, Thread, (void*)(jheap + kHeapSize / 4)); in main()
|
D | java_heap_init.cc | 10 int const kHeapSize = 1024 * 1024; in main() local 11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, in main() 16 munmap((void*)jheap, kHeapSize); in main() 17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE, in main() 21 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_race.cc | 12 int const kHeapSize = 1024 * 1024; in main() local 13 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 14 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_finalizer.cc | 13 int const kHeapSize = 1024 * 1024; in main() local 14 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 15 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_race_pc.cc | 22 int const kHeapSize = 1024 * 1024; in main() local 23 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 24 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_race_move.cc | 15 int const kHeapSize = 1024 * 1024; in main() local 16 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 17 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_rwlock.cc | 17 int const kHeapSize = 1024 * 1024; in main() local 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 19 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_lock.cc | 17 int const kHeapSize = 1024 * 1024; in main() local 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 19 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_symbolization.cc | 27 int const kHeapSize = 1024 * 1024; in main() local 28 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 29 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_volatile.cc | 17 int const kHeapSize = 1024 * 1024; in main() local 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 19 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_lock_move.cc | 19 int const kHeapSize = 1024 * 1024; in main() local 20 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 21 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_move_overlap_race.cc | 20 int const kHeapSize = 1024 * 1024; in main() local 21 void *jheap = malloc(kHeapSize); in main() 23 __tsan_java_init((jptr)jheap, kHeapSize); in main()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | java_alloc.cpp | 4 int const kHeapSize = 1024 * 1024; variable 8 for (jptr i = 0; i < kHeapSize / 4 / sz; i++) { in stress() 11 __tsan_java_move(addr, addr + kHeapSize / 2, kHeapSize / 4); in stress() 12 __tsan_java_free(addr + kHeapSize / 2, kHeapSize / 4); in stress() 22 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 23 __tsan_java_init(jheap, kHeapSize); in main() 25 pthread_create(&th, 0, Thread, (void*)(jheap + kHeapSize / 4)); in main()
|
D | java_heap_init.cpp | 10 int const kHeapSize = 1024 * 1024; in main() local 11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, in main() 16 munmap((void*)jheap, kHeapSize); in main() 17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE, in main() 21 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_find.cpp | 4 int const kHeapSize = 1024 * 1024; variable 37 const jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 38 const jptr jheap_end = jheap + kHeapSize; in main() 39 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_race.cpp | 12 int const kHeapSize = 1024 * 1024; in main() local 13 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 14 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_finalizer.cpp | 13 int const kHeapSize = 1024 * 1024; in main() local 14 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 15 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_race_move.cpp | 15 int const kHeapSize = 1024 * 1024; in main() local 16 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 17 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_race_pc.cpp | 22 int const kHeapSize = 1024 * 1024; in main() local 23 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 24 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_lock.cpp | 17 int const kHeapSize = 1024 * 1024; in main() local 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 19 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_rwlock.cpp | 17 int const kHeapSize = 1024 * 1024; in main() local 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 19 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_symbolization.cpp | 22 int const kHeapSize = 1024 * 1024; in main() local 23 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 24 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_symbolization_legacy.cpp | 27 int const kHeapSize = 1024 * 1024; in main() local 28 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 29 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_volatile.cpp | 17 int const kHeapSize = 1024 * 1024; in main() local 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 19 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_lock_move.cpp | 19 int const kHeapSize = 1024 * 1024; in main() local 20 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 21 __tsan_java_init(jheap, kHeapSize); in main()
|