• Home
  • Raw
  • Download

Lines Matching refs:methodKey

55 bool HeapSampling::PushStackInfo(const struct MethodKey &methodKey)  in PushStackInfo()  argument
60 frameStack_.emplace_back(methodKey); in PushStackInfo()
98 struct MethodKey methodKey; in GetStack() local
100 methodKey.state = JsStackGetter::GetRunningState(it, vm_, isNative, true); in GetStack()
103 methodKey.state = JsStackGetter::GetRunningState(it, vm_, isNative, false); in GetStack()
109 methodKey.methodIdentifier = methodIdentifier; in GetStack()
110 if (stackInfoMap_.count(methodKey) == 0) { in GetStack()
112 if (UNLIKELY(!JsStackGetter::ParseMethodInfo(methodKey, it, vm_, codeEntry))) { in GetStack()
119 if (UNLIKELY(!PushStackInfo(methodKey))) { in GetStack()
147 frameInfoTemps_[i].methodKey.state, in FillScriptIdAndStore()
148 frameInfoTemps_[i].methodKey.deoptType); in FillScriptIdAndStore()
152 stackInfoMap_.emplace(frameInfoTemps_[i].methodKey, callframeInfo); in FillScriptIdAndStore()
180 struct CallFrameInfo HeapSampling::GetMethodInfo(const MethodKey &methodKey) in GetMethodInfo() argument
183 auto iter = stackInfoMap_.find(methodKey); in GetMethodInfo()
190 …ct SamplingNode *HeapSampling::FindOrAddNode(struct SamplingNode *node, const MethodKey &methodKey) in FindOrAddNode() argument
193 if (node->children_.count(methodKey) != 0) { in FindOrAddNode()
194 childNode = node->children_[methodKey].get(); in FindOrAddNode()
198 tempNode->callFrameInfo_ = GetMethodInfo(methodKey); in FindOrAddNode()
200 node->children_.emplace(methodKey, std::move(tempNode)); in FindOrAddNode()
201 return node->children_[methodKey].get(); in FindOrAddNode()