Home
last modified time | relevance | path

Searched refs:Root (Results 1 - 25 of 33) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_gc_marker.h29 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 Dshared_gc_marker.cpp55 [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 Dshared_gc_marker-inl.h58 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 Dsnapshot_global_data.h103 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 Dparallel_marker.h80 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 Dvisitor.h25 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 Dparallel_marker-inl.h103 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 Dparallel_marker.cpp27 [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 Dverification.cpp444 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 Dparallel_evacuator.cpp309 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 Dframes.cpp683 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 Decma_context.cpp922 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&globalEnv_))); in Iterate()
924 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&regexpCache_))); in Iterate()
927 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&regexpGlobal_))); 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>(&microJobQueue_))); 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 Dtagged_dictionary.cpp472 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 Dsustaining_js_handle.cpp66 rv(ecmascript::Root::ROOT_HANDLE, ObjectSlot(ToUintPtr(start)), ObjectSlot(ToUintPtr(end))); in Iterate()
H A Djs_thread.cpp356 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 Druntime.h225 v(Root::ROOT_VM, begin, end); in IterateCachedStringRoot()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_env.cpp56 v(Root::ROOT_VM, slot); in Iterate()
64 v(Root::ROOT_VM, slot); in Iterate()
H A Dsnapshot.cpp120 constant->VisitRangeSlot([&objectQueue, &data, &processor]([[maybe_unused]] Root type, in SerializeBuiltins()
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dserialize_chunk.h92 v(Root::ROOT_VM, ObjectSlot(slot));
/arkcompiler/ets_runtime/ecmascript/stackmap/
H A Dark_stackmap_parser.cpp193 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 Dpgo_type_manager.cpp25 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 Dheap_profiler.cpp461 [[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 Dheap_snapshot.cpp1289 [[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 Dsnapshot_test.cpp272 globalConst->VisitRangeSlot([]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) { in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_shared_module_manager.cpp38 v(Root::ROOT_VM, slot); in Iterate()

Completed in 35 milliseconds

12