/external/compiler-rt/test/tsan/ |
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_race.cc | 13 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 14 __tsan_java_init(jheap, kHeapSize); 16 __tsan_java_alloc(jheap, kBlockSize); 18 pthread_create(&th, 0, Thread, (void*)jheap); 19 *(int*)jheap = 43; 22 __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_race_pc.cc | 23 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 24 __tsan_java_init(jheap, kHeapSize); 26 __tsan_java_alloc(jheap, kBlockSize); 28 pthread_create(&th, 0, Thread, (void*)jheap); 29 __tsan_write1_pc((jptr)jheap, (jptr)barbaz + kPCInc); 32 __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_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_symbolization.cc | 28 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; local 29 __tsan_java_init(jheap, kHeapSize); 31 __tsan_java_alloc(jheap, kBlockSize); 33 pthread_create(&th, 0, Thread, (void*)jheap); 34 __tsan_write1_pc((jptr)jheap, 1234 | kExternalPCBit); 37 __tsan_java_free(jheap, kBlockSize);
|
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);
|
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_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_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);
|