/external/compiler-rt/test/tsan/ |
java_race.cc | 11 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 12 __tsan_java_init(jheap, kHeapSize); 14 __tsan_java_alloc(jheap, kBlockSize); 16 pthread_create(&th, 0, Thread, (void*)jheap); 17 *(int*)jheap = 43; 19 __tsan_java_free(jheap, kBlockSize);
|
java_heap_init.cc | 11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, local 13 if (jheap == (jptr)MAP_FAILED) 15 __atomic_store_n((int*)jheap, 1, __ATOMIC_RELEASE); 16 munmap((void*)jheap, kHeapSize); 17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE, 19 if (jheap == (jptr)MAP_FAILED) 21 __tsan_java_init(jheap, kHeapSize); 22 __tsan_java_move(jheap + 16, jheap, 16) [all...] |
java_finalizer.cc | 14 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 15 __tsan_java_init(jheap, kHeapSize); 17 __tsan_java_alloc(jheap, kBlockSize); 19 pthread_create(&th, 0, Thread, (void*)jheap); 20 *(int*)jheap = 43; 23 __tsan_java_free(jheap, kBlockSize);
|
java_lock.cc | 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 19 __tsan_java_init(jheap, kHeapSize); 21 __tsan_java_alloc(jheap, kBlockSize); 22 varaddr = jheap; 23 lockaddr = jheap + 8; 31 __tsan_java_free(jheap, kBlockSize);
|
java_rwlock.cc | 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 19 __tsan_java_init(jheap, kHeapSize); 21 __tsan_java_alloc(jheap, kBlockSize); 22 varaddr = jheap; 23 lockaddr = jheap + 8; 31 __tsan_java_free(jheap, kBlockSize);
|
java_lock_move.cc | 20 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 21 __tsan_java_init(jheap, kHeapSize); 24 __tsan_java_alloc(jheap, kBlockSize); 25 varaddr = jheap; 26 lockaddr = jheap + 46;
|
java_alloc.cc | 22 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 23 __tsan_java_init(jheap, kHeapSize); 25 pthread_create(&th, 0, Thread, (void*)(jheap + kHeapSize / 4)); 26 stress(jheap);
|
java_race_move.cc | 16 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 17 __tsan_java_init(jheap, kHeapSize); 20 __tsan_java_alloc(jheap, kBlockSize); 21 varaddr = jheap + 16;
|
java_move_overlap.cc | 29 void *jheap = malloc(kHeapSize); local 30 jheap = (char*)jheap + 8; 31 __tsan_java_init((jptr)jheap, kHeapSize); 34 varaddr1_old = (jptr)jheap; 35 lockaddr1_old = (jptr)jheap + 1; 36 varaddr2_old = (jptr)jheap + kBlockSize - 1; 37 lockaddr2_old = (jptr)jheap + kBlockSize - 16;
|
java_lock_rec.cc | 31 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 32 __tsan_java_init(jheap, kHeapSize); 34 __tsan_java_alloc(jheap, kBlockSize); 35 varaddr = jheap; 37 lockaddr = jheap + 8; 50 __tsan_java_free(jheap, kBlockSize);
|
java_lock_rec_race.cc | 29 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 30 __tsan_java_init(jheap, kHeapSize); 32 __tsan_java_alloc(jheap, kBlockSize); 33 varaddr = jheap; 35 lockaddr = jheap + 8; 44 __tsan_java_free(jheap, kBlockSize);
|
java_move_overlap_race.cc | 21 void *jheap = malloc(kHeapSize); local 22 jheap = (char*)jheap + 8; 23 __tsan_java_init((jptr)jheap, kHeapSize); 26 varaddr1_old = (jptr)jheap; 27 varaddr2_old = (jptr)jheap + kBlockSize - 1;
|
java_volatile.cc | 18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 19 __tsan_java_init(jheap, kHeapSize); 21 __tsan_java_alloc(jheap, kBlockSize); 22 varaddr = jheap; 23 lockaddr = jheap + 8; 36 __tsan_java_free(jheap, kBlockSize);
|