/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
H A D | shared_gc_marker.h | 29 enum class Root; 55 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot); 56 inline void HandleLocalRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot); 57 inline void HandleLocalRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, 79 virtual inline void HandleLocalDerivedRoots([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, in HandleLocalDerivedRoots() 112 inline void HandleLocalDerivedRoots(Root type, ObjectSlot base, ObjectSlot derived, 124 inline void HandleLocalDerivedRoots(Root type, ObjectSlot base, ObjectSlot derived,
|
H A D | shared_gc_marker.cpp | 55 [this, threadId](Root type, ObjectSlot slot) {this->HandleLocalRoots(threadId, type, slot);}, in MarkLocalVMRoots() 56 [this, threadId](Root type, ObjectSlot start, ObjectSlot end) { in MarkLocalVMRoots() 59 [this](Root type, ObjectSlot base, ObjectSlot derived, uintptr_t baseOldObject) { in MarkLocalVMRoots() 77 auto callback = [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}; in MarkSerializeRoots() 84 auto cacheStringCallback = [this, threadId](Root type, ObjectSlot start, ObjectSlot end) { in MarkStringCache() 93 auto visitor = [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}; in MarkSharedModule()
|
H A D | shared_gc_marker-inl.h | 58 inline void SharedGCMarkerBase::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() 66 inline void SharedGCMarkerBase::HandleLocalRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleLocalRoots() 74 inline void SharedGCMarkerBase::HandleLocalRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, in HandleLocalRangeRoots() 88 void SharedGCMarker::HandleLocalDerivedRoots([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, in HandleLocalDerivedRoots() 95 void SharedGCMovableMarker::HandleLocalDerivedRoots([[maybe_unused]] Root type, ObjectSlot base, in HandleLocalDerivedRoots()
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/ |
H A D | snapshot_global_data.h | 103 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&data_))); in Iterate() 104 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&curSnapshotCpArray_))); in Iterate() 105 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&symbolInfo_))); in Iterate() 106 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&hclassInfo_))); in Iterate() 107 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&arrayInfo_))); in Iterate() 108 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&constantIndexInfo_))); in Iterate() 109 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&protoTransTableInfo_))); in Iterate()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | parallel_marker.h | 80 virtual inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) = 0; 81 virtual inline void HandleRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, 83 virtual inline void HandleDerivedRoots(Root type, ObjectSlot base, ObjectSlot derived, 110 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override; 111 inline void HandleRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, 113 inline void HandleDerivedRoots(Root type, ObjectSlot base, ObjectSlot derived, 130 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override; 131 inline void HandleRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, 133 inline void HandleDerivedRoots(Root type, ObjectSlot base, ObjectSlot derived,
|
H A D | visitor.h | 25 enum class Root { class 43 using RootVisitor = std::function<void(Root type, ObjectSlot p)>; 44 using RootRangeVisitor = std::function<void(Root type, ObjectSlot start, ObjectSlot end)>; 46 std::function<void(Root type, ObjectSlot base, ObjectSlot derived, uintptr_t baseOldObject)>;
|
H A D | parallel_marker-inl.h | 103 inline void NonMovableMarker::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() 111 inline void NonMovableMarker::HandleRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, in HandleRangeRoots() 125 inline void NonMovableMarker::HandleDerivedRoots([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, in HandleDerivedRoots() 207 inline void MovableMarker::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() 215 inline void MovableMarker::HandleRangeRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot start, in HandleRangeRoots() 231 inline void MovableMarker::HandleDerivedRoots([[maybe_unused]] Root type, ObjectSlot base, in HandleDerivedRoots()
|
H A D | parallel_marker.cpp | 27 [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}, in MarkRoots() 28 [this, threadId](Root type, ObjectSlot start, ObjectSlot end) { in MarkRoots() 31 [this](Root type, ObjectSlot base, ObjectSlot derived, uintptr_t baseOldObject) { in MarkRoots()
|
H A D | verification.cpp | 444 RootVisitor visitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) { in VerifyRoot() 452 RootRangeVisitor rangeVisitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) { in VerifyRoot() 463 []([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, [[maybe_unused]] ObjectSlot derived, in VerifyRoot() 779 RootVisitor visitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) { in VerifyRoot() 782 RootRangeVisitor rangeVisitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) { in VerifyRoot() 788 []([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, [[maybe_unused]] ObjectSlot derived, in VerifyRoot() 791 RootVisitor serializeVisitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) { in VerifyRoot()
|
H A D | parallel_evacuator.cpp | 309 RootVisitor gcUpdateYoung = [this]([[maybe_unused]] Root type, ObjectSlot slot) { in UpdateRoot() 312 RootRangeVisitor gcUpdateRangeYoung = [this]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) { in UpdateRoot() 318 []([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derived, uintptr_t baseOldObject) { in UpdateRoot()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | frames.cpp | 683 visitor(Root::ROOT_FRAME, ObjectSlot(jsFuncSlot)); in GCIterate() 691 rangeVisitor(Root::ROOT_FRAME, ObjectSlot(start), ObjectSlot(end)); in GCIterate() 697 visitor(Root::ROOT_FRAME, machineCodeSlot); in GCIterate() 746 visitor(Root::ROOT_FRAME, ObjectSlot(jsFuncSlot)); in GCIterate() 754 rangeVisitor(Root::ROOT_FRAME, ObjectSlot(start), ObjectSlot(end)); in GCIterate() 760 visitor(Root::ROOT_FRAME, machineCodeSlot); in GCIterate() 791 rangeVisitor(Root::ROOT_FRAME, ObjectSlot(start), ObjectSlot(end)); in GCIterate() 792 visitor(Root::ROOT_FRAME, ObjectSlot(ToUintPtr(&frame->function))); in GCIterate() 793 visitor(Root::ROOT_FRAME, ObjectSlot(ToUintPtr(&frame->thisObj))); in GCIterate() 795 visitor(Root in GCIterate() [all...] |
H A D | ecma_context.cpp | 922 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&globalEnv_))); in Iterate() 924 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(®expCache_))); in Iterate() 927 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(®expGlobal_))); in Iterate() 930 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&numberToStringResultCache_))); in Iterate() 933 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&stringSplitResultCache_))); in Iterate() 936 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&stringToListResultCache_))); in Iterate() 939 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(µJobQueue_))); in Iterate() 942 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&pointerToIndexDictionary_))); in Iterate() 967 rv(ecmascript::Root::ROOT_HANDLE, ObjectSlot(ToUintPtr(start)), ObjectSlot(ToUintPtr(end))); in Iterate() 976 rv(Root in Iterate() [all...] |
H A D | tagged_dictionary.cpp | 472 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&protoTransitionTable_))); in Iterate() 474 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&iter.first))); in Iterate() 475 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&iter.second))); in Iterate() 478 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&iter.first))); in Iterate() 479 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&iter.second))); in Iterate()
|
H A D | sustaining_js_handle.cpp | 66 rv(ecmascript::Root::ROOT_HANDLE, ObjectSlot(ToUintPtr(start)), ObjectSlot(ToUintPtr(end))); in Iterate()
|
H A D | js_thread.cpp | 356 visitor(Root::ROOT_VM, ObjectSlot(ToUintPtr(&glueData_.exception_))); in Iterate() 359 Root::ROOT_VM, ObjectSlot(glueData_.builtinEntries_.Begin()), ObjectSlot(glueData_.builtinEntries_.End())); in Iterate() 378 visitor(ecmascript::Root::ROOT_HANDLE, ecmascript::ObjectSlot(node->GetObjectAddress())); in Iterate() 414 visitor(ecmascript::Root::ROOT_HANDLE, ecmascript::ObjectSlot(node->GetObjectAddress())); in IterateHandleWithCheck()
|
H A D | runtime.h | 225 v(Root::ROOT_VM, begin, end); in IterateCachedStringRoot()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_env.cpp | 56 v(Root::ROOT_VM, slot); in Iterate() 64 v(Root::ROOT_VM, slot); in Iterate()
|
H A D | snapshot.cpp | 120 constant->VisitRangeSlot([&objectQueue, &data, &processor]([[maybe_unused]] Root type, in SerializeBuiltins()
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
H A D | serialize_chunk.h | 92 v(Root::ROOT_VM, ObjectSlot(slot));
|
/arkcompiler/ets_runtime/ecmascript/stackmap/ |
H A D | ark_stackmap_parser.cpp | 193 visitor(Root::ROOT_FRAME, ObjectSlot(base)); in IteratorStackMap() 197 derivedVisitor(Root::ROOT_FRAME, ObjectSlot(base), ObjectSlot(derived), baseSet[base]); in IteratorStackMap()
|
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
H A D | pgo_type_manager.cpp | 25 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&(hclassIter.second)))); in Iterate() 30 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&(iter)))); in Iterate()
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
H A D | heap_profiler.cpp | 461 [[maybe_unused]] Root type, ObjectSlot slot) { in GetRootObjects() 471 ([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, [[maybe_unused]] ObjectSlot derived, in GetRootObjects() 475 RootRangeVisitor rootRangeEdgeBuilder = [&result, &rootCnt2]([[maybe_unused]] Root type, in GetRootObjects()
|
H A D | heap_snapshot.cpp | 1289 [[maybe_unused]] Root type, ObjectSlot slot) { in AddSyntheticRoot() 1293 ([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base, [[maybe_unused]] ObjectSlot derived, in AddSyntheticRoot() 1297 RootRangeVisitor rootRangeEdgeBuilder = [this, syntheticRoot, &edgeOffset, &values]([[maybe_unused]] Root type, in AddSyntheticRoot()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/ |
H A D | snapshot_test.cpp | 272 globalConst->VisitRangeSlot([]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) { in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_shared_module_manager.cpp | 38 v(Root::ROOT_VM, slot); in Iterate()
|