Home
last modified time | relevance | path

Searched refs:kHeapSize (Results 1 – 15 of 15) sorted by relevance

/external/compiler-rt/test/tsan/
Djava_alloc.cc4 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()
Djava_heap_init.cc10 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()
Djava_race.cc12 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()
Djava_finalizer.cc13 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()
Djava_race_move.cc15 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()
Djava_race_pc.cc22 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()
Djava_lock.cc17 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()
Djava_rwlock.cc17 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()
Djava_symbolization.cc27 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()
Djava_volatile.cc17 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()
Djava_lock_move.cc19 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()
Djava_lock_rec_race.cc28 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()
Djava_move_overlap_race.cc20 int const kHeapSize = 1024 * 1024; in main() local
21 void *jheap = malloc(kHeapSize); in main()
23 __tsan_java_init((jptr)jheap, kHeapSize); in main()
Djava_lock_rec.cc30 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()
Djava_move_overlap.cc28 int const kHeapSize = 1024 * 1024; in main() local
29 void *jheap = malloc(kHeapSize); in main()
31 __tsan_java_init((jptr)jheap, kHeapSize); in main()