| /arkcompiler/runtime_core/runtime/tooling/ |
| D | pt_hooks_wrapper.h | 33 // Atomic with release order reason: data race with hooks_ in SetHooks() 60 // Atomic with acquire order reason: data race with hooks_ in Breakpoint() 65 // Atomic with acquire order reason: data race with vmdeath_did_not_happen_ in Breakpoint() 72 // Atomic with acquire order reason: data race with hooks_ in LoadModule() 77 // Atomic with acquire order reason: data race with vmdeath_did_not_happen_ in LoadModule() 84 // Atomic with acquire order reason: data race with hooks_ in Paused() 89 // Atomic with acquire order reason: data race with vmdeath_did_not_happen_ in Paused() 97 // Atomic with acquire order reason: data race with hooks_ in Exception() 102 // Atomic with acquire order reason: data race with vmdeath_did_not_happen_ in Exception() 110 // Atomic with acquire order reason: data race with hooks_ in ExceptionCatch() [all …]
|
| D | debug_inf.cpp | 103 …// Atomic with relaxed order reason: data race with update_lock_ with no synchronization or orderi… in Lock() 112 …// Atomic with relaxed order reason: data race with update_lock_ with no synchronization or orderi… in UnLock() 121 …// Atomic with relaxed order reason: data race with metaInfo with no synchronization or ordering c… in AddCodeMetaInfoImpl() 129 …// Atomic with relaxed order reason: data race with codeItem with no synchronization or ordering c… in AddCodeMetaInfoImpl() 140 …// Atomic with relaxed order reason: data race with metaInfo with no synchronization or ordering c… in AddCodeMetaInfoImpl() 160 …// Atomic with relaxed order reason: data race with codeItem with no synchronization or ordering c… in DelCodeMetaInfoImpl() 164 …// Atomic with relaxed order reason: data race with codeItem with no synchronization or ordering c… in DelCodeMetaInfoImpl() 168 …// Atomic with relaxed order reason: data race with metaInfo with no synchronization or ordering c… in DelCodeMetaInfoImpl()
|
| /arkcompiler/ets_frontend/testTs/instype/ |
| D | recordthis-expected.txt | 2 (instruction order, type): (-2, 111), (-1, 106), 4 (instruction order, type): (-2, 111), (-1, 102), 6 (instruction order, type): (-2, 111), (-1, 103), 8 (instruction order, type): (-2, 111), (-1, 104), 10 (instruction order, type): (-2, 111), (-1, 105), 12 (instruction order, type): (-2, 111), (-1, 107), (16, 4), 14 (instruction order, type): (-2, 101), (-1, 108), 16 (instruction order, type): (-2, 111), (-1, 109), 18 (instruction order, type): (-2, 111), (-1, 110), 20 (instruction order, type): (-1, 112), (9, 1), [all …]
|
| D | recordimport-expected.txt | 2 (instruction order, type): (-1, 101), 4 (instruction order, type): (-2, 105), 6 (instruction order, type): (-1, 103), 8 (instruction order, type): (-1, 104), 10 (instruction order, type): (8, 101), (10, 1), (12, 103), (14, 104), (16, 1), (18, 1), (20, 1), (22,… 12 (instruction order, type): (5, 101), (8, 105), (19, 107), (22, 102), (25, 103), (31, 104), (37, 106…
|
| D | recordexport-expected.txt | 2 (instruction order, type): (-1, 101), 4 (instruction order, type): (-2, 105), 6 (instruction order, type): (-1, 103), 8 (instruction order, type): (-1, 104), 10 (instruction order, type): (8, 101), (10, 1), (12, 103), (14, 104), (16, 1), (18, 1), (20, 1), (22,…
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | fmutex.cpp | 45 // Atomic with acquire order reason: mutex synchronization in FutexWait() 47 // Atomic with acquire order reason: mutex synchronization in FutexWait() 51 // Atomic with acquire order reason: mutex synchronization in FutexWait() 58 // Atomic with release order reason: mutex synchronization in FutexWake() 82 // Atomic with relaxed order reason: mutex synchronization in IncrementWaiters() 87 // Atomic with relaxed order reason: mutex synchronization in DecrementWaiters() 93 // Atomic with relaxed order reason: mutex synchronization in GetWaiters() 100 // Atomic with relaxed order reason: mutex synchronization in IsHeld() 131 // Atomic with relaxed order reason: mutex synchronization in WaitBrieflyFor() 142 // Atomic with relaxed order reason: mutex synchronization in MutexInit() [all …]
|
| D | mutex.cpp | 62 // Atomic with relaxed order reason: mutex synchronization in WaitBrieflyFor() 116 // Atomic with relaxed order reason: mutex synchronization in ~RWLock() 119 // Atomic with relaxed order reason: mutex synchronization in ~RWLock() 122 // Atomic with relaxed order reason: mutex synchronization in ~RWLock() 140 // Atomic with relaxed order reason: mutex synchronization in WriteLock() 161 // Atomic with relaxed order reason: mutex synchronization in WriteLock() 169 // Atomic with relaxed order reason: mutex synchronization in WriteLock() 171 // Atomic with relaxed order reason: mutex synchronization in WriteLock() 173 // Atomic with relaxed order reason: mutex synchronization in WriteLock() 191 // Atomic with relaxed order reason: mutex synchronization in HandleReadLockWait() [all …]
|
| D | mutex.h | 91 // Atomic with relaxed order reason: mutex synchronization in GetWaiters() 147 // Atomic with relaxed order reason: mutex synchronization in ReadLock() 179 // Atomic with relaxed order reason: mutex synchronization in ReadUnlock() 187 // Atomic with seq_cst order reason: mutex synchronization in ReadUnlock() 190 // Atomic with seq_cst order reason: mutex synchronization in ReadUnlock() 227 // Atomic with relaxed order reason: mutex synchronization in HasExclusiveHolder() 232 // Atomic with relaxed order reason: mutex synchronization in IsExclusiveHeld() 241 // Atomic with relaxed order reason: mutex synchronization in IncrementWaiters() 246 // Atomic with relaxed order reason: mutex synchronization in DecrementWaiters()
|
| /arkcompiler/runtime_core/libpandabase/mem/ringbuf/ |
| D | lock_free_ring_buffer.h | 39 // Atomic with release order reason: threads should see correct initialization in LockFreeBuffer() 41 // Atomic with release order reason: threads should see correct initialization in LockFreeBuffer() 49 // Atomic with acquire order reason: push should get the latest value in TryPush() 52 // Atomic with acquire order reason: push should get the latest value in TryPush() 57 // Atomic with release order reason: to allow pop to see the latest value in TryPush() 74 // Atomic with acquire order reason: get the latest value in IsEmpty() 76 // Atomic with acquire order reason: get the latest value in IsEmpty() 86 // Atomic with acquire order reason: get the latest value in TryPop() 88 // Atomic with acquire order reason: get the latest value in TryPop() 95 // Atomic with release order reason: let others threads to see the latest value in TryPop() [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 34 …// Atomic with acq_rel order reason: data race with allocated_ with dependecies on reads after the… in RecordAllocate() 42 …// Atomic with acq_rel order reason: data race with allocated_ with dependecies on reads after the… in RecordMoved() 58 …// Atomic with acq_rel order reason: data race with allocated_ with dependecies on reads after the… in RecordFree() 65 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetAllocated() 72 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFreed() 83 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetAllocatedHeap() 97 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFreedHeap() 113 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFootprint() 118 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFootprint() 122 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFootprint() [all …]
|
| /arkcompiler/runtime_core/runtime/jit/ |
| D | profiling_data.h | 57 …// Atomic with acquire order reason: data race with classes_ with dependecies on reads after the l… in UpdateInlineCaches() 77 …// Atomic with release order reason: data race with classes_ with dependecies on writes before the… in UpdateInlineCaches() 84 …// Atomic with acquire order reason: data race with bytecode_pc_ with dependecies on reads after t… in GetBytecodePc() 91 …// Atomic with release order reason: data race with bytecode_pc_ with dependecies on writes before… in SetBytecodePc() 101 …// Atomic with acquire order reason: data race with classes_ with dependecies on reads after the l… in GetClassesCopy() 117 …// Atomic with acquire order reason: data race with classes_ with dependecies on reads after the l… in GetClassesCount() 131 …// Atomic with acquire order reason: data race with classes_ with dependecies on reads after the l… in IsMegamorphic() 155 // Atomic with relaxed order reason: data race with pc_ in Init() 157 // Atomic with relaxed order reason: data race with taken_counter_ in Init() 159 // Atomic with relaxed order reason: data race with not_taken_counter_ in Init() [all …]
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | method.h | 91 // So the value's order is choosen in a such way early stage must have highest value. 190 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in Method() 203 …// Atomic with relaxed order reason: data race with native_pointer_ with no synchronization or ord… in Method() 207 …// Atomic with release order reason: data race with compiled_entry_point_ with dependecies on writ… in Method() 369 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in GetCompiledEntryPoint() 376 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in GetCompiledEntryPoint() 383 …// Atomic with release order reason: data race with compiled_entry_point_ with dependecies on writ… in SetCompiledEntryPoint() 404 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in GetCompilationStatus() 417 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in SetCompilationStatus() 421 …// Atomic with release order reason: data race with access_flags_ with dependecies on writes befor… in SetCompilationStatus() [all …]
|
| D | object_accessor.h | 125 // Atomic with relaxed order reason: concurrent access from GC in GetDynValue() 136 // Atomic with seq_cst order reason: required for volatile in Get() 139 // Atomic with relaxed order reason: to be compatible with other vms in Get() 149 // Atomic with seq_cst order reason: required for volatile in Set() 152 // Atomic with relaxed order reason: to be compatible with other vms in Set() 161 // Atomic with parameterized order reason: memory order passed as argument in Get() 170 // Atomic with parameterized order reason: memory order passed as argument in Set()
|
| D | object_accessor-inl.h | 219 // we need to use the complement memory order std::memory_order_acquire in SetFieldObject() 351 // Atomic with parameterized order reason: memory order passed as argument in GetAndAddFieldPrimitive() 362 // Atomic with parameterized order reason: memory order passed as argument in GetAndAddFieldPrimitive() 381 // Atomic with parameterized order reason: memory order passed as argument in GetAndBitwiseOrFieldPrimitive() 399 // Atomic with parameterized order reason: memory order passed as argument in GetAndBitwiseAndFieldPrimitive() 417 // Atomic with parameterized order reason: memory order passed as argument in GetAndBitwiseXorFieldPrimitive() 427 // Atomic with relaxed order reason: concurrent access from GC in SetDynValueWithoutBarrier()
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | mem_stats.cpp | 39 …// Atomic with acq_rel order reason: data race with humongous_objects_allocated_ with dependecies … in RecordAllocateObjects() 43 …// Atomic with acq_rel order reason: data race with objects_allocated_ with dependecies on reads a… in RecordAllocateObjects() 56 …// Atomic with acq_rel order reason: data race with last_young_objects_moved_bytes_ with dependeci… in RecordYoungMovedObjects() 59 …// Atomic with acq_rel order reason: data race with objects_allocated_ with dependecies on reads a… in RecordYoungMovedObjects() 72 …// Atomic with acq_rel order reason: data race with objects_allocated_ with dependecies on reads a… in RecordTenuredMovedObjects() 90 …// Atomic with acq_rel order reason: data race with humongous_objects_freed_ with dependecies on r… in RecordFreeObjects() 94 …// Atomic with acq_rel order reason: data race with objects_freed_ with dependecies on reads after… in RecordFreeObjects() 123 …// Atomic with acquire order reason: data race with objects_allocated_ with dependecies on reads a… in GetTotalObjectsAllocated() 131 …// Atomic with acquire order reason: data race with objects_freed_ with dependecies on reads after… in GetTotalObjectsFreed() 151 …// Atomic with acquire order reason: data race with humongous_objects_allocated_ with dependecies … in GetTotalHumongousObjectsAllocated() [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | linear_order_test.cpp | 130 ASSERT_TRUE(CheckOrder(2, {4, 3})) << "Unexpected initial order"; in TEST_F() 135 ASSERT_TRUE(CheckOrder(2, {3, 4})) << "Unexpected order"; in TEST_F() 167 ASSERT_TRUE(CheckOrder(2, {4, 3, 5})) << "Unexpected initial order"; in TEST_F() 173 ASSERT_TRUE(CheckOrder(2, {4, 3, 5})) << "Unexpected order, threshold was not exceeded"; in TEST_F() 176 ASSERT_TRUE(CheckOrder(2, {3, 5, 4})) << "Unexpected order, threshold was exceeded"; in TEST_F() 179 …ASSERT_TRUE(CheckOrder(2, {3, 4, 5})) << "Unexpected order, another branch didn't exceed threshold… in TEST_F() 182 ASSERT_TRUE(CheckOrder(2, {4, 5, 3})) << "Unexpected order, another branch exceeded threshold"; in TEST_F() 217 …UE(CheckOrder(20, {4, 3, 5, 22, 24, 25, 23, 26, 28, 29, 27, 21, 1})) << "Unexpected initial order"; in TEST_F() 224 << "Unexpected order, threshold was exceeded"; in TEST_F() 229 << "Unexpected order, another branch threshold was exceeded"; in TEST_F()
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | panda_cache.h | 85 // Atomic with acquire order reason: fixes a data race with method_cache_ in GetMethodFromCache() 103 // Atomic with release order reason: fixes a data race with method_cache_ in SetMethodCache() 112 // Atomic with acquire order reason: fixes a data race with field_cache_ in GetFieldFromCache() 130 // Atomic with release order reason: fixes a data race with field_cache_ in SetFieldCache() 139 // Atomic with acquire order reason: fixes a data race with class_cache_ in GetClassFromCache() 157 // Atomic with release order reason: fixes a data race with class_cache_ in SetClassCache() 178 // Atomic with acquire order reason: fixes a data race with class_cache_ in EnumerateCachedClasses()
|
| /arkcompiler/runtime_core/runtime/coretypes/ |
| D | array.cpp | 57 // Order is matters here: GC can read data before it copied if we set length first. in Create() 63 …// Witout full memory barrier it is possible that architectures with weak memory order can try fet… in Create() 81 …// Without full memory barrier it is possible that architectures with weak memory order can try fe… in Create() 100 …// Witout full memory barrier it is possible that architectures with weak memory order can try fet… in Create() 115 // Order is matters here: GC can read data before it copied if we set length first. in CreateTagged() 123 …// Witout full memory barrier it is possible that architectures with weak memory order can try fet… in CreateTagged()
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | generational-gc-base.h | 129 // Atomic with relaxed order reason: memory accesses from different threads in RecordCountFreedYoung() 143 // Atomic with relaxed order reason: memory accesses from different threads in RecordSizeFreedYoung() 157 // Atomic with relaxed order reason: memory accesses from different threads in RecordCountMovedYoung() 171 // Atomic with relaxed order reason: memory accesses from different threads in RecordSizeMovedYoung() 185 // Atomic with relaxed order reason: memory accesses from different threads in RecordCountMovedTenured() 199 // Atomic with relaxed order reason: memory accesses from different threads in RecordSizeMovedTenured() 213 // Atomic with relaxed order reason: memory accesses from different threads in RecordCountFreedTenured() 227 // Atomic with relaxed order reason: memory accesses from different threads in RecordSizeFreedTenured()
|
| D | gc_stats.h | 189 …// Atomic with seq_cst order reason: data race with objects_freed_bytes_ with requirement for sequ… in GetObjectsFreedBytes() 190 // consistent order where threads observe all modifications in the same order in GetObjectsFreedBytes() 195 …// Atomic with seq_cst order reason: data race with objects_freed_bytes_ with requirement for sequ… in GetObjectsFreedBytes() 196 // consistent order where threads observe all modifications in the same order in GetObjectsFreedBytes()
|
| D | gc.cpp | 85 // Atomic with acquire order reason: data race with gc_counter_ in GetLogPrefix() 140 …// Atomic with relaxed order reason: data race with native_bytes_registered_ with no synchronizati… in TriggerGCForNative() 190 …// Atomic with acquire order reason: data race with gc_counter_ with dependecies on reads after th… in RunPhases() 194 …// Atomic with acquire order reason: data race with gc_counter_ with dependecies on reads after th… in RunPhases() 201 …// Atomic with release order reason: data race with last_cause_ with dependecies on writes before … in RunPhases() 211 …// Atomic with acq_rel order reason: data race with gc_counter_ with dependecies on reads after th… in RunPhases() 379 …// Atomic with seq_cst order reason: data race with gc_running_ with requirement for sequentially … in JoinWorker() 380 // where threads observe all modifications in the same order in JoinWorker() 397 …// Atomic with seq_cst order reason: data race with gc_running_ with requirement for sequentially … in CreateWorker() 398 // where threads observe all modifications in the same order in CreateWorker() [all …]
|
| /arkcompiler/runtime_core/verification/jobs/ |
| D | thread_pool.cpp | 102 …// Atomic with release order reason: data race with shutdown_ with dependecies on writes before th… in Initialize() 109 …// Atomic with release order reason: data race with next_thread_num_ with dependecies on writes be… in Initialize() 129 // Atomic with seq_cst order reason: initial adding annotations for memory order in Destroy() 142 // Atomic with seq_cst order reason: initial adding annotations for memory order in Destroy()
|
| D | thread_pool.h | 103 …// Atomic with acq_rel order reason: could be relaxed, but we need to allow reinitialization for t… in Processor() 182 …// Atomic with acquire order reason: data race with shutdown_ with dependecies on reads after the … 187 …// Atomic with seq_cst order reason: data race with data_ with requirement for sequentially consis… 188 // where threads observe all modifications in the same order
|
| /arkcompiler/ets_frontend/test262/ |
| D | module_tests.txt | 86 eval-rqstd-order-1_FIXTURE.js 87 eval-rqstd-order-2_FIXTURE.js 88 eval-rqstd-order-3_FIXTURE.js 89 eval-rqstd-order-4_FIXTURE.js 90 eval-rqstd-order-5_FIXTURE.js 91 eval-rqstd-order-6_FIXTURE.js 92 eval-rqstd-order-7_FIXTURE.js 93 eval-rqstd-order-8_FIXTURE.js 94 eval-rqstd-order-9_FIXTURE.js 95 eval-rqstd-order.js [all …]
|
| /arkcompiler/runtime_core/scripts/ |
| D | run_check_atomic_format.py | 17 A tool to check atomic memory order format. 53 res = re.search(r"// Atomic with (\w+) order reason: (.+)", line) 110 print("File {}:{}: reason for specific memory order was not " 115 print("File {}:{}: memory order was not specified for "
|