Home
last modified time | relevance | path

Searched full:load (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/arkcompiler/ets_runtime/test/moduletest/internstring/
Dexpect_output.txt14 id: 12345678 - load: undefined
15 id: 1234567891 - load: undefined
16 id: 9999999999 - load: undefined
17 id: 135 - load: undefined
18 id: 0 - load: undefined
19 id: abc - load: undefined
20 id: cba - load: undefined
21 id: 12345678 - load: 12345678
22 id: 1234567891 - load: 1234567891
23 id: 9999999999 - load: 9999999999
[all …]
/arkcompiler/ets_runtime/test/moduletest/ecmastringtable/
Dexpect_output.txt14 id: no-schema:/src/xxx-js/instantiated-1af0bf5b.js - load: undefined
15 id: no-schema:/src/xxx-js/instantiation.js - load: undefined
16 id: no-schema:/src/xxx-js/cc.js - load: undefined
17 id: no-schema:/src/instantiated-1af0bf5b.js - load: undefined
18 id: 12022421 - load: undefined
19 id: 123420002 - load: undefined
20 id: 908890 - load: undefined
21 id: 9088000 - load: undefined
22 id: 999999999 - load: undefined
23 id: 1000000000 - load: undefined
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_napi1/
Dpgo_napi1.ts16 // load load
19 print(obj.x); // load: slow
20 print(obj.y); // load: slow
26 // load store load store load load
29 print(obj.x); // load: slow
31 print(obj.x); // load: fast
33 print(obj.y); // load: fast
34 print(obj.z); // load: slow
40 // store store load load load
45 print(obj.x); // load: fast
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/
Dpt_hooks_wrapper.h61 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in Breakpoint()
66 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in Breakpoint()
73 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in LoadModule()
78 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in LoadModule()
85 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in Paused()
90 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in Paused()
99 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in Exception()
104 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in Exception()
112 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in ExceptionCatch()
117 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in ExceptionCatch()
[all …]
/arkcompiler/runtime_core/libpandabase/mem/
Dbase_mem_stats.cpp32 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordAllocate()
40 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordMoved()
56 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordFree()
63 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated()
65 return allocated_[helpers::ToUnderlying(type_mem)].load(std::memory_order_acquire); in GetAllocated()
70 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed()
72 return freed_[helpers::ToUnderlying(type_mem)].load(std::memory_order_acquire); in GetFreed()
81 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetAllocatedHeap()
83 result += allocated_[index].load(std::memory_order_acquire); in GetAllocatedHeap()
95 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetFreedHeap()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dbase_mem_stats.cpp33 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordAllocate()
41 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordMoved()
57 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordFree()
64 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated()
66 return allocated_[helpers::ToUnderlying(typeMem)].load(std::memory_order_acquire); in GetAllocated()
71 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed()
73 return freed_[helpers::ToUnderlying(typeMem)].load(std::memory_order_acquire); in GetFreed()
82 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetAllocatedHeap()
84 result += allocated_[index].load(std::memory_order_acquire); in GetAllocatedHeap()
96 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetFreedHeap()
[all …]
/arkcompiler/runtime_core/static_core/runtime/include/
Dmethod.h179 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in Method()
181 : accessFlags_(method->accessFlags_.load(std::memory_order_acquire)), in Method()
194 … method->pointer_.nativePointer.load(std::memory_order_relaxed), std::memory_order_relaxed); in Method()
373 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompiledEntryPoint()
375 return compiledEntryPoint_.load(std::memory_order_acquire); in GetCompiledEntryPoint()
380 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompiledEntryPoint()
382 return compiledEntryPoint_.load(std::memory_order_acquire); in GetCompiledEntryPoint()
408 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompilationStatus()
410 …return static_cast<CompilationStage>((accessFlags_.load(std::memory_order_acquire) & COMPILATION_S… in GetCompilationStatus()
421 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in SetCompilationStatus()
[all …]
/arkcompiler/ets_runtime/test/quickfix/multi_patch/
Dexpect_output.txt15 QuickFix start load patch
16 QuickFix load patch success
23 QuickFix start load patch
24 QuickFix load patch success
31 QuickFix start load patch
32 QuickFix load patch success
/arkcompiler/runtime_core/static_core/runtime/mem/
Dmem_stats.cpp40 // the load and on writes before the store in RecordAllocateObjects()
43 …th acq_rel order reason: data race with objects_allocated_ with dependecies on reads after the load in RecordAllocateObjects()
57 // the load and on writes before the store in RecordYoungMovedObjects()
59 …cq_rel order reason: data race with objects_allocated_ with dependecies on reads after the load and in RecordYoungMovedObjects()
72 …cq_rel order reason: data race with objects_allocated_ with dependecies on reads after the load and in RecordTenuredMovedObjects()
91 // load and on writes before the store in RecordFreeObjects()
94 …th acq_rel order reason: data race with objects_freed_ with dependecies on reads after the load and in RecordFreeObjects()
119 …th acquire order reason: data race with objects_allocated_ with dependecies on reads after the load in GetTotalObjectsAllocated()
121 return objectsAllocated_.load(std::memory_order_acquire); in GetTotalObjectsAllocated()
127 … acquire order reason: data race with objects_freed_ with dependecies on reads after the load which in GetTotalObjectsFreed()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.h172 return Load(VariableType::INT32(), obj, IntPtr(JSAPIVector::ELEMENT_COUNT_OFFSET)); in ContainerGetSize()
175 GateRef top = Load(VariableType::INT32(), obj, IntPtr(JSAPIStack::TOP_OFFSET)); in ContainerGetSize()
179 return Load(VariableType::INT32(), obj, IntPtr(JSAPIPlainArray::LENGTH_OFFSET)); in ContainerGetSize()
183 … GateRef len = Load(VariableType::JS_ANY(), obj, IntPtr(JSAPIArrayList::LENGTH_OFFSET)); in ContainerGetSize()
187 return Load(VariableType::INT32(), obj, IntPtr(JSAPILightWeightSet::LENGTH_OFFSET)); in ContainerGetSize()
190 … return Load(VariableType::INT32(), obj, IntPtr(JSAPILightWeightMap::LWP_LENGTH_OFFSET)); in ContainerGetSize()
194 GateRef table = Load(VariableType::JS_POINTER(), obj, tableOffset); in ContainerGetSize()
199 GateRef table = Load(VariableType::JS_POINTER(), obj, tableOffset); in ContainerGetSize()
204 GateRef table = Load(VariableType::JS_POINTER(), obj, tableOffset); in ContainerGetSize()
210 GateRef table = Load(VariableType::JS_POINTER(), obj, tableOffset); in ContainerGetSize()
[all …]
Dcontainers_queue_stub_builder.h45 GateRef begin = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in BUILTINS_WITH_CONTAINERS_QUEUE_STUB_BUILDER()
46 GateRef end = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::TAIL_OFFSET)); in BUILTINS_WITH_CONTAINERS_QUEUE_STUB_BUILDER()
56 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in BUILTINS_WITH_CONTAINERS_QUEUE_STUB_BUILDER()
57 … GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in BUILTINS_WITH_CONTAINERS_QUEUE_STUB_BUILDER()
70 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in Get()
71 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get()
72 GateRef front = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in Get()
80 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in GetNextPosition()
81 … GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetNextPosition()
87 return Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in GetCurrentFront()
Dcontainers_deque_stub_builder.h39 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in BUILTINS_WITH_CONTAINERS_DEQUE_STUB_BUILDER()
40 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in BUILTINS_WITH_CONTAINERS_DEQUE_STUB_BUILDER()
49 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in Get()
50 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get()
58 return Load(VariableType::INT32(), obj, IntPtr(JSAPIDeque::FIRST_OFFSET)); in GetFirst()
63 return Load(VariableType::INT32(), obj, IntPtr(JSAPIDeque::LAST_OFFSET)); in GetLast()
69 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in GetElementsLength()
70 return Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetElementsLength()
/arkcompiler/ets_runtime/test/aottest/pgo_inherited_function_operation/
Dpgo_inherited_function_operation.ts32 print(p.x) // load: p.x --> type: LOAD_PROPERTY
33 print(p.z) // load: p.z --> type: LOAD_PROPERTY
41 obj.add() // load: obj.add --> type: MONO_LOAD_PROPERTY_ON_PROTO
42 obj.sub() // load: obj.sub --> type: MONO_LOAD_PROPERTY_ON_PROTO
43 print(p.x) // load: p.x --> type: LOAD_PROPERTY
44 print(p.z) // load: p.z --> type: LOAD_PROPERTY
45 print(obj.c) // load: obj.c --> type: MONO_LOAD_PROPERTY_ON_PROTO
46 print(obj.x) // load: obj.x --> type: LOAD_PROPERTY
47 print(obj.y) // load: obj.y --> type: LOAD_PROPERTY
48 print(obj.z) // load: obj.z --> type: MONO_LOAD_PROPERTY_ON_PROTO
[all …]
/arkcompiler/ets_runtime/ecmascript/jit/
Djit_dfx.h111 return jitEventParams.totalTimeOnMainThread_.load() / CONVERT_TO_MILLISECOND; in GetTotalTimeOnMainThread()
121 return jitEventParams.singleTimeOnMainThread_.load() / CONVERT_TO_MILLISECOND; in GetSingleTimeOnMainThread()
131 return jitEventParams.totalTimeOnJitThread_.load() / CONVERT_TO_MILLISECOND; in GetTotalTimeOnJitThread()
141 return jitEventParams.singleTimeOnJitThread_.load() / CONVERT_TO_MILLISECOND; in GetSingleTimeOnJitThread()
155 return jitEventParams.totalBaselineJitTimes_.load(); in GetTotalBaselineJitCount()
160 return jitEventParams.totalFastoptJitTimes_.load(); in GetTotalFastoptJitCount()
186 if (time > jitEventParams.maxLockHoldingTime_.load()) { in SetLockHoldingTime()
196 return jitEventParams.totalLockHoldingTime_.load() / CONVERT_TO_MILLISECOND; in GetTotalLockHoldingTime()
201 return jitEventParams.maxLockHoldingTime_.load() / CONVERT_TO_MILLISECOND; in GetMaxLockHoldingTime()
206 return jitEventParams.longtimeLockTimes_.load(); in GetLongtimeLockCount()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dlock_free_queue.cpp26 Node *tail = tail_.load(std::memory_order_acquire); in Push()
29 Node *next = tail->next.load(std::memory_order_acquire); in Push()
31 Node *tail2 = tail_.load(std::memory_order_acquire); in Push()
53 Node *head = head_.load(std::memory_order_acquire); in Pop()
55 Node *tail = tail_.load(std::memory_order_acquire); in Pop()
57 Node *next = head->next.load(std::memory_order_acquire); in Pop()
59 Node *head2 = head_.load(std::memory_order_acquire); in Pop()
86 Node *head = head_.load(std::memory_order_acquire); in FindValue()
88 Node *tail = tail_.load(std::memory_order_acquire); in FindValue()
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
Dbaseline_stub_builder.cpp30 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::HOME_OBJECT_OFFSET)); in GetHomeObjectFromFunction()
36 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromGeneratorObject()
45 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromAsyncGeneratorObject()
55 return Load(VariableType::NATIVE_POINTER(), glue, spOffset); in GetLastLeaveFrame()
60 …GateRef raw = Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::RAW_PROFILE_TYPE_INFO_… in GetProfileTypeInfoFromFunction()
61 return Load(VariableType::JS_POINTER(), raw, IntPtr(ProfileTypeInfoCell::VALUE_OFFSET)); in GetProfileTypeInfoFromFunction()
66 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::ECMA_MODULE_OFFSET)); in GetModuleFromFunction()
Dbaseline_stubs-inl.h158 return Load(VariableType::JS_POINTER(), frame, in GetFunctionFromFrame()
164 return Load(VariableType::JS_POINTER(), frame, in GetEnvFromFrame()
170 return Load(VariableType::JS_ANY(), frame, in GetAccFromFrame()
176 return Load(VariableType::JS_POINTER(), method, IntPtr(Method::CONSTANT_POOL_OFFSET)); in GetConstpoolFromMethod()
181 …GateRef raw = Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::RAW_PROFILE_TYPE_INFO_… in GetProfileTypeInfoFromFunction()
182 return Load(VariableType::JS_POINTER(), raw, IntPtr(ProfileTypeInfoCell::VALUE_OFFSET)); in GetProfileTypeInfoFromFunction()
187 GateRef x = Load(VariableType::INT16(), method, IntPtr(Method::LITERAL_INFO_OFFSET)); in GetHotnessCounterFromMethod()
193 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::ECMA_MODULE_OFFSET)); in GetModuleFromFunction()
198 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::HOME_OBJECT_OFFSET)); in GetHomeObjectFromFunction()
219 return Load(VariableType::NATIVE_POINTER(), frame, in GetPcFromFrame()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dinterpreter_stub-inl.h37 return Load(VariableType::JS_ANY(), sp, PtrMul(IntPtr(sizeof(JSTaggedType)), idx)); in GetVregValue()
42 return Load(VariableType::INT8(), pc, IntPtr(1)); // 1 : skip 1 byte of bytecode in ReadInst8_0()
47 return Load(VariableType::INT8(), pc, IntPtr(2)); // 2 : skip 1 byte of bytecode in ReadInst8_1()
52 return Load(VariableType::INT8(), pc, IntPtr(3)); // 3 : skip 1 byte of bytecode in ReadInst8_2()
57 return Load(VariableType::INT8(), pc, IntPtr(4)); // 4 : skip 1 byte of bytecode in ReadInst8_3()
62 return Load(VariableType::INT8(), pc, IntPtr(5)); // 5 : skip 1 byte of bytecode in ReadInst8_4()
67 return Load(VariableType::INT8(), pc, IntPtr(6)); // 6 : skip 1 byte of bytecode in ReadInst8_5()
72 return Load(VariableType::INT8(), pc, IntPtr(7)); // 7 : skip 1 byte of bytecode in ReadInst8_6()
77 return Load(VariableType::INT8(), pc, IntPtr(8)); // 8 : skip 1 byte of bytecode in ReadInst8_7()
82 return Load(VariableType::INT8(), pc, IntPtr(9)); // 9 : skip 1 byte of bytecode in ReadInst8_8()
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dlse_doc.md1 # Load Store Elimination
4 …o memory that has been already written as well as delete load instructions that attempt to load a …
8 Elimination of load and store instructions generally reduces the number of long latency memory inst…
27load instructions read values from the heap. But if a load instruction tries to read a value that …
37 - if the instruction is a load and there is a value from the heap for this load then this load can …
38load and there is no value from the heap for this load then we update heap value for this load wit…
40 - if the instruction is a volatile load then the whole heap is cleared.
113 …te because it is overwritten somewhere inside the loop. If there are only load instructions among …
123 * If among aliased accesses only loads, add `MUST_ALIAS`ed load to elimination list.
209 …// If this load MUST_ALIAS any inst from phis[block] it can be further replaced with value outside…
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dlse.h29 * Load Store Elimination (Lse) optimization is aimed to eliminate redundant
38 * 2) delete loads that attempt to load values that were previously loaded or
50 * - if the instruction is a load and there is a value from the heap for this
51 * load then this load can be eliminated.
52 * - if the instruction is a load and there is no value from the heap for this
53 * load then we update heap value for this load with the result of this load.
54 * All instructions that MUST_ALIAS this load updated as well.
55 * - if the instruction is a volatile load then the whole heap is invalidated.
/arkcompiler/runtime_core/libpandabase/mem/ringbuf/
Dlock_free_ring_buffer.h50 const auto current_tail = tail_index_.load(std::memory_order_acquire); in TryPush()
53 auto local_head = head_index_.load(std::memory_order_acquire); in TryPush()
75 auto local_head = head_index_.load(std::memory_order_acquire); in IsEmpty()
77 auto local_tail = tail_index_.load(std::memory_order_acquire); in IsEmpty()
87 auto currentHead = head_index_.load(std::memory_order_acquire); in TryPop()
89 if (currentHead == tail_index_.load(std::memory_order_acquire)) { in TryPop()
122 [[maybe_unused]] auto local_head = head_index_.load(std::memory_order_acquire); in CheckInvariant()
126 [[maybe_unused]] auto local_tail = tail_index_.load(std::memory_order_acquire); in CheckInvariant()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
Dmutex.cpp63 if (pred(addr->load(std::memory_order_relaxed))) { in WaitBrieflyFor()
117 if (state_.load(std::memory_order_relaxed) != 0) { in ~RWLock()
120 } else if (exclusiveOwner_.load(std::memory_order_relaxed) != 0) { in ~RWLock()
123 } else if (waiters_.load(std::memory_order_relaxed) != 0) { in ~RWLock()
146 curState = state_.load(std::memory_order_relaxed); in FutexWait()
159 auto curState = state_.load(std::memory_order_relaxed); in WriteLock()
175 ASSERT(state_.load(std::memory_order_relaxed) == WRITE_LOCKED); in WriteLock()
177 ASSERT(exclusiveOwner_.load(std::memory_order_relaxed) == 0); in WriteLock()
202 curState = state_.load(std::memory_order_relaxed); in HandleReadLockWait()
212 auto curState = state_.load(std::memory_order_relaxed); in TryReadLock()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/mem/ringbuf/
Dlock_free_ring_buffer.h49 const auto currentTail = tailIndex_.load(std::memory_order_acquire); in TryPush()
52 auto localHead = headIndex_.load(std::memory_order_acquire); in TryPush()
74 auto localHead = headIndex_.load(std::memory_order_acquire); in IsEmpty()
76 auto localTail = tailIndex_.load(std::memory_order_acquire); in IsEmpty()
86 auto currentHead = headIndex_.load(std::memory_order_acquire); in TryPop()
88 if (currentHead == tailIndex_.load(std::memory_order_acquire)) { in TryPop()
139 [[maybe_unused]] auto localHead = headIndex_.load(std::memory_order_acquire); in CheckInvariant()
143 [[maybe_unused]] auto localTail = tailIndex_.load(std::memory_order_acquire); in CheckInvariant()
/arkcompiler/runtime_core/static_core/runtime/jit/
Dprofiling_data.h57 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in UpdateInlineCaches()
59 auto storedClass = classAtomic->load(std::memory_order_acquire); in UpdateInlineCaches()
84 …th acquire order reason: data race with bytecode_pc_ with dependecies on reads after the load which in GetBytecodePc()
86 return bytecodePc_.load(std::memory_order_acquire); in GetBytecodePc()
101 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in GetClassesCopy()
103 auto storedClass = classAtomic->load(std::memory_order_acquire); in GetClassesCopy()
117 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in GetClassesCount()
119 auto storedClass = classAtomic->load(std::memory_order_acquire); in GetClassesCount()
131 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in IsMegamorphic()
133 …return classAtomic->load(std::memory_order_acquire) == reinterpret_cast<Class *>(MEGAMORPHIC_FLAG); in IsMegamorphic()
[all …]
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dmutex.cpp55 if (pred(addr->load(std::memory_order_relaxed))) { in WaitBrieflyFor()
109 if (state_.load(std::memory_order_relaxed) != 0) { in ~RWLock()
112 } else if (exclusive_owner_.load(std::memory_order_relaxed) != 0) { in ~RWLock()
115 } else if (waiters_.load(std::memory_order_relaxed) != 0) { in ~RWLock()
133 auto cur_state = state_.load(std::memory_order_relaxed); in WriteLock()
154 cur_state = state_.load(std::memory_order_relaxed); in WriteLock()
162 ASSERT(state_.load(std::memory_order_relaxed) == WRITE_LOCKED); in WriteLock()
164 ASSERT(exclusive_owner_.load(std::memory_order_relaxed) == 0); in WriteLock()
184 cur_state = state_.load(std::memory_order_relaxed); in HandleReadLockWait()
194 auto cur_state = state_.load(std::memory_order_relaxed); in TryReadLock()
[all …]

12345678910>>...44