/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_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_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_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_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_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_lock_rec_race.cc | 28 int const kHeapSize = 1024 * 1024; in main() local 29 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 30 __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()
|
D | java_lock_rec.cc | 30 int const kHeapSize = 1024 * 1024; in main() local 31 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main() 32 __tsan_java_init(jheap, kHeapSize); in main()
|
D | java_move_overlap.cc | 28 int const kHeapSize = 1024 * 1024; in main() local 29 void *jheap = malloc(kHeapSize); in main() 31 __tsan_java_init((jptr)jheap, kHeapSize); in main()
|