/external/compiler-rt/lib/tsan/lit_tests/ |
java_race.cc | 11 void *jheap = malloc(kHeapSize); local 12 __tsan_java_init((jptr)jheap, kHeapSize); 14 __tsan_java_alloc((jptr)jheap, kBlockSize); 16 pthread_create(&th, 0, Thread, jheap); 17 *(int*)jheap = 43; 19 __tsan_java_free((jptr)jheap, kBlockSize);
|
java_lock.cc | 18 void *jheap = malloc(kHeapSize); local 19 __tsan_java_init((jptr)jheap, kHeapSize); 21 __tsan_java_alloc((jptr)jheap, kBlockSize); 22 varaddr = (jptr)jheap; 23 lockaddr = (jptr)jheap + 8; 30 __tsan_java_free((jptr)jheap, kBlockSize);
|
java_rwlock.cc | 18 void *jheap = malloc(kHeapSize); local 19 __tsan_java_init((jptr)jheap, kHeapSize); 21 __tsan_java_alloc((jptr)jheap, kBlockSize); 22 varaddr = (jptr)jheap; 23 lockaddr = (jptr)jheap + 8; 30 __tsan_java_free((jptr)jheap, kBlockSize);
|
java_lock_rec.cc | 30 void *jheap = malloc(kHeapSize); local 31 __tsan_java_init((jptr)jheap, kHeapSize); 33 __tsan_java_alloc((jptr)jheap, kBlockSize); 34 varaddr = (jptr)jheap; 36 lockaddr = (jptr)jheap + 8; 48 __tsan_java_free((jptr)jheap, kBlockSize);
|
java_lock_rec_race.cc | 28 void *jheap = malloc(kHeapSize); local 29 __tsan_java_init((jptr)jheap, kHeapSize); 31 __tsan_java_alloc((jptr)jheap, kBlockSize); 32 varaddr = (jptr)jheap; 34 lockaddr = (jptr)jheap + 8; 42 __tsan_java_free((jptr)jheap, kBlockSize);
|
java_alloc.cc | 22 jptr jheap = (jptr)malloc(kHeapSize); local 23 __tsan_java_init(jheap, kHeapSize); 25 pthread_create(&th, 0, Thread, (void*)(jheap + kHeapSize / 4)); 26 stress(jheap);
|
java_race_move.cc | 15 void *jheap = malloc(kHeapSize); local 16 __tsan_java_init((jptr)jheap, kHeapSize); 19 __tsan_java_alloc((jptr)jheap, kBlockSize); 20 varaddr = (jptr)jheap + 16;
|
java_lock_move.cc | 19 void *jheap = malloc(kHeapSize); local 20 __tsan_java_init((jptr)jheap, kHeapSize); 23 __tsan_java_alloc((jptr)jheap, kBlockSize); 24 varaddr = (jptr)jheap; 25 lockaddr = (jptr)jheap + 46;
|