Home
last modified time | relevance | path

Searched refs:thread_ (Results 1 - 25 of 162) sorted by relevance

1234567

/arkcompiler/ets_runtime/ecmascript/
H A Dobject_factory.cpp116 : thread_(thread), vm_(thread->GetEcmaVM()), heap_(heap), sHeap_(sHeap) {} in ObjectFactory()
141 newClass->Initialize(thread_, size, type, 0); in NewEcmaHClassClass()
143 return JSHandle<JSHClass>(thread_, newClass); in NewEcmaHClassClass()
150 hclass->SetClass(thread_, hclass); in InitClassClass()
159 newClass->Initialize(thread_, size, type, inlinedProps); in NewEcmaHClass()
161 return JSHandle<JSHClass>(thread_, newClass); in NewEcmaHClass()
171 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
172 newClass->Initialize(thread_, size, type, inlinedProps, layout); in NewEcmaHClass()
173 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass()
177 hclass->SetProto(thread_, prototyp in NewEcmaHClass()
[all...]
H A Dshared_object_factory.cpp33 !thread_->IsAllContextsInitialized()) { in NewSObjectHook()
38 sHeap_->CollectGarbage<TriggerGCType::SHARED_GC, GCReason::OTHER>(thread_); in NewSObjectHook()
39 } else if (sHeap_->CheckCanTriggerConcurrentMarking(thread_)) { in NewSObjectHook()
40 sHeap_->TriggerConcurrentMarking<TriggerGCType::SHARED_GC, GCReason::OTHER>(thread_); in NewSObjectHook()
43 sHeap_->WaitGCFinished(thread_); in NewSObjectHook()
44 sHeap_->CollectGarbage<TriggerGCType::SHARED_FULL_GC, GCReason::OTHER>(thread_); in NewSObjectHook()
54 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateSFunctionClass()
64 layoutInfoHandle->AddKey(thread_, fieldOrder, globalConst->GetLengthString(), attributes); in CreateSFunctionClass()
71 layoutInfoHandle->AddKey(thread_, fieldOrder, in CreateSFunctionClass()
79 layoutInfoHandle->AddKey(thread_, fieldOrde in CreateSFunctionClass()
[all...]
H A Dobject_operator.cpp32 key_ = JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread_, JSTaggedValue(keyInt))); in HandleKey()
48 key_ = JSHandle<JSTaggedValue>(thread_, thread_->GetEcmaVM()->GetFactory()->InternString(key)); in HandleKey()
61 key_ = JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread_, key.GetTaggedValue())); in HandleKey()
63 key_ = JSHandle<JSTaggedValue>(thread_, thread_->GetEcmaVM()->GetFactory()->InternString(key_)); in HandleKey()
73 JSHandle<JSTaggedValue> keyHandle(thread_, JSTaggedValue::ToPrimitive(thread_, key, PREFER_STRING)); in HandleKey()
74 RETURN_IF_ABRUPT_COMPLETION(thread_); in HandleKey()
79 key_ = JSHandle<JSTaggedValue>(thread_, in HandleKey()
[all...]
H A Dproperty_accessor.cpp22 : thread_(thread), in PropertyAccessor()
77 JSTaggedValue current = JSTaggedValue::GetPrototype(thread_, receiver_); in CollectPrototypeInfo()
78 RETURN_IF_ABRUPT_COMPLETION(thread_); in CollectPrototypeInfo()
108 jshclass->SetEnumCache(thread_, JSTaggedValue::Undefined()); in CollectPrototypeInfo()
116 ObjectFactory *factory = thread_->GetEcmaVM()->GetFactory(); in InitSimplePropertiesEnumCache()
120 JSMutableHandle<TaggedArray> keyArray(thread_, JSTaggedValue::Undefined()); in InitSimplePropertiesEnumCache()
126 JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache()
127 uint32_t length = JSObject::GetAllEnumKeys(thread_, receiverObj, EnumCache::ENUM_CACHE_HEADER_SIZE, newArray); in InitSimplePropertiesEnumCache()
129 JSObject::SetEnumCacheKind(thread_, *newArray, EnumCacheKind::SIMPLE); in InitSimplePropertiesEnumCache()
134 jsHclass->SetEnumCache(thread_, keyArra in InitSimplePropertiesEnumCache()
[all...]
H A Dobject_factory-inl.h35 object = reinterpret_cast<TaggedObject *>(sHeap_->GetHugeObjectSpace()->Allocate(thread_, size)); in AllocLineStringObjectNoGC()
37 object = reinterpret_cast<TaggedObject *>(sHeap_->GetOldSpace()->TryAllocateAndExpand(thread_, size, true)); in AllocLineStringObjectNoGC()
43 object->SetClass(thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject())); in AllocLineStringObjectNoGC()
51 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocNonMovableLineStringObject()
58 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocLineStringObject()
65 thread_, JSHClass::Cast(thread_ in AllocOldSpaceLineStringObject()
[all...]
H A Decma_vm.cpp88 vm->thread_ = jsThread; in Create()
123 sHeap->CompactHeapBeforeFork(thread_); in PreFork()
124 sHeap->DisableParallelGC(thread_); in PreFork()
151 ModuleLogger *moduleLogger = thread_->GetCurrentEcmaContext()->GetModuleLogger(); in PostFork()
153 moduleLogger->PostModuleLoggerTask(thread_->GetThreadId(), this); in PostFork()
188 thread_ = jitThread; in InitializeForJit()
192 factory_ = chunk_.New<ObjectFactory>(thread_, nullptr, SharedHeap::GetInstance()); in InitializeForJit()
203 thread_->SetPGOProfilerEnable(isEnablePGOProfiler); in InitializePGOProfiler()
211 thread_->SetPGOProfilerEnable(isEnablePGOProfiler); in ResetPGOProfiler()
212 thread_ in ResetPGOProfiler()
[all...]
H A Decma_context.cpp40 : thread_(thread), in EcmaContext()
70 [[maybe_unused]] EcmaHandleScope scope(thread_); in Initialize()
74 thread_->SetUnsharedConstpools(reinterpret_cast<uintptr_t>(unsharedConstpools_.data())); in Initialize()
76 thread_->SetGlobalConst(&globalConst_); in Initialize()
77 globalConst_.Init(thread_); in Initialize()
78 JSHandle<JSHClass> hClassHandle = JSHandle<JSHClass>(thread_, globalConst_.GetHClassClass()); in Initialize()
84 thread_->SetArrayHClassIndexMap(arrayHClassIndexMaps); in Initialize()
86 globalEnv->Init(thread_); in Initialize()
90 thread_->SetEnableLazyBuiltins(builtinsLazyEnabled); in Initialize()
91 builtins.Initialize(globalEnv, thread_, builtinsLazyEnable in Initialize()
[all...]
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dthread_scopes.h69 explicit ScopedNativeCodeThread(ManagedThread *thread) : thread_(thread) in ScopedNativeCodeThread()
71 ASSERT(thread_ != nullptr); in ScopedNativeCodeThread()
72 ASSERT(thread_ == ManagedThread::GetCurrent()); in ScopedNativeCodeThread()
73 thread_->NativeCodeBegin(); in ScopedNativeCodeThread()
78 thread_->NativeCodeEnd(); in ~ScopedNativeCodeThread()
82 ManagedThread *thread_; member in ark::ScopedNativeCodeThread
90 explicit ScopedManagedCodeThread(ManagedThread *thread) : thread_(thread) in ScopedManagedCodeThread()
92 ASSERT(thread_ != nullptr); in ScopedManagedCodeThread()
93 ASSERT(thread_ == ManagedThread::GetCurrent()); in ScopedManagedCodeThread()
94 thread_ in ScopedManagedCodeThread()
103 ManagedThread *thread_; global() member in ark::ScopedManagedCodeThread
123 ManagedThread *thread_; global() member in ark::ScopedChangeThreadStatus
[all...]
/arkcompiler/ets_runtime/ecmascript/base/
H A Dfast_json_stringifier.cpp27 factory_ = thread_->GetEcmaVM()->GetFactory(); in Stringify()
28 JSHandle<JSTaggedValue> jsonCache = thread_->GetEcmaVM()->GetGlobalEnv()->GetJsonObjectHclassCache(); in Stringify()
35 handleValue_ = JSMutableHandle<JSTaggedValue>(thread_, tagValue); in Stringify()
36 handleKey_ = JSMutableHandle<JSTaggedValue>(thread_, factory_->GetEmptyString()); in Stringify()
40 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSTaggedValue, thread_); in Stringify()
46 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSTaggedValue, thread_); in Stringify()
51 return thread_->GlobalConstants()->GetHandledUndefined(); in Stringify()
58 JSHandle<JSTaggedValue> undefined = thread_->GlobalConstants()->GetHandledUndefined(); in GetSerializeValue()
60 JSHandle<JSTaggedValue> toJson = thread_->GlobalConstants()->GetHandledToJsonString(); in GetSerializeValue()
62 thread_, ObjectFastOperato in GetSerializeValue()
[all...]
H A Djson_stringifier.cpp31 factory_ = thread_->GetEcmaVM()->GetFactory(); in Stringify()
32 handleValue_ = JSMutableHandle<JSTaggedValue>(thread_, JSTaggedValue::Undefined()); in Stringify()
33 handleKey_ = JSMutableHandle<JSTaggedValue>(thread_, JSTaggedValue::Undefined()); in Stringify()
35 bool isArray = replacer->IsArray(thread_); in Stringify()
37 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSTaggedValue, thread_); in Stringify()
50 JSHandle<JSTaggedValue> lengthKey = thread_->GlobalConstants()->GetHandledLengthString(); in Stringify()
51 JSHandle<JSTaggedValue> lenResult = JSTaggedValue::GetProperty(thread_, replacer, lengthKey).GetValue(); in Stringify()
53 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSTaggedValue, thread_); in Stringify()
54 JSTaggedNumber lenNumber = JSTaggedValue::ToLength(thread_, lenResult); in Stringify()
55 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSTaggedValue, thread_); in Stringify()
[all...]
H A Djson_parser.cpp27 return JSHandle<JSTaggedValue>(thread_, [&]() -> JSTaggedValue { in Launch()
28 THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected Text in JSON", JSTaggedValue::Exception()); in Launch()
36 auto vm = thread_->GetEcmaVM(); in Launch()
42 auto globalConstant = const_cast<GlobalEnvConstants *>(thread_->GlobalConstants()); in Launch()
44 initialJSArrayClass_ = JSHandle<JSHClass>(thread_, hclassVal); in Launch()
47 JSHandle<JSHClass>(thread_, JSFunction::GetOrCreateInitialJSHClass(thread_, objectFunc)); in Launch()
50 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSTaggedValue, thread_); in Launch()
51 return JSHandle<JSTaggedValue>(thread_, result); in Launch()
70 THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpecte in ParseJSONText()
[all...]
H A Dsort_helper.cpp185 JSHandle<JSTaggedValue> key1(thread_, elements_->Get(base2));
193 JSHandle<JSTaggedValue> key2(thread_, elements_->Get(base1 + len1 - 1));
213 JSHandle<JSTaggedValue> baseHintElement(thread_, array->Get(base + hint));
214 JSMutableHandle<JSTaggedValue> offsetElement(thread_, JSTaggedValue::Undefined());
215 JSMutableHandle<JSTaggedValue> mElement(thread_, JSTaggedValue::Undefined());
216 double order = ArrayHelper::SortCompare(thread_, fn_, key, baseHintElement);
221 order = ArrayHelper::SortCompare(thread_, fn_, key, offsetElement);
239 order = ArrayHelper::SortCompare(thread_, fn_, key, offsetElement);
260 if (ArrayHelper::SortCompare(thread_, fn_, key, mElement) > 0) {
276 JSHandle<JSTaggedValue> baseHintElement(thread_, arra
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_math_test.cpp37 TestHelper::CreateEcmaVMWithScope(instance_, thread_, scope_); in SetUpTestCase()
47 static JSThread *thread_; member in panda::test::BuiltinsMathTest
51 JSThread *BuiltinsMathTest::thread_ = nullptr; member in panda::test::BuiltinsMathTest
56 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0()
61 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread_, ecmaRuntimeCallInfo); in HWTEST_F_L0()
63 TestHelper::TearDownFrame(thread_, prev); in HWTEST_F_L0()
71 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0()
76 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread_, ecmaRuntimeCallInfo); in HWTEST_F_L0()
78 TestHelper::TearDownFrame(thread_, prev); in HWTEST_F_L0()
86 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValu in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dprofile_type_info.cpp26 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, GetWeakRef(hclass.GetTaggedValue()), in AddElementHandler()
32 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, GetWeakRef(hclass.GetTaggedValue()), in AddElementHandler()
43 JSHandle<TaggedArray> arr(thread_, profileData); in AddWithoutKeyPoly()
47 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, JSTaggedValue::Hole(), index + 1, JSTaggedValue::Hole()); in AddWithoutKeyPoly()
50 auto factory = thread_->GetEcmaVM()->GetFactory(); in AddWithoutKeyPoly()
54 newArr->Set(thread_, i, arr->Get(i)); in AddWithoutKeyPoly()
55 newArr->Set(thread_, i + 1, arr->Get(i + 1)); in AddWithoutKeyPoly()
57 newArr->Set(thread_, i, GetWeakRef(hclass.GetTaggedValue())); in AddWithoutKeyPoly()
58 newArr->Set(thread_, i + 1, handler.GetTaggedValue()); in AddWithoutKeyPoly()
59 profileTypeInfo_->SetMultiIcSlotLocked(thread_, inde in AddWithoutKeyPoly()
[all...]
H A Dic_runtime.cpp36 ObjectFactory *factory = thread_->GetEcmaVM()->GetFactory(); in UpdateLoadHandler()
41 originhclass = JSHandle<JSHClass>(thread_, receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler()
55 handlerValue = LoadHandler::LoadElement(thread_, op); in UpdateLoadHandler()
60 handlerValue = LoadHandler::LoadProperty(thread_, op); in UpdateLoadHandler()
62 handlerValue = PrototypeHandler::LoadPrototype(thread_, op, hclass); in UpdateLoadHandler()
65 handlerValue = LoadHandler::LoadProperty(thread_, op); in UpdateLoadHandler()
71 handlerValue = PrototypeHandler::LoadPrototype(thread_, op, hclass); in UpdateLoadHandler()
96 JSHandle<JSTaggedValue> handlerValue = LoadHandler::LoadStringElement(thread_); in UpdateLoadStringHandler()
107 LoadHandler::LoadTypedArrayElement(thread_, JSHandle<JSTypedArray>(receiver)); in UpdateTypedArrayHandler()
126 JSHandle<JSHClass> hclass(thread_, JSHandl in UpdateStoreHandler()
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins.cpp190 thread_ = thread; in Initialize()
194 [[maybe_unused]] EcmaHandleScope scope(thread_); in Initialize()
207 env->SetObjectFunctionClass(thread_, objFuncClass); in Initialize()
212 globalObjFuncClass->SetPrototype(thread_, objFuncPrototypeVal.GetTaggedValue()); in Initialize()
221 env->SetJSGlobalObject(thread_, globalObject); in Initialize()
241 env->SetAsyncAwaitStatusFunctionClass(thread_, asyncAwaitStatusFuncClass); in Initialize()
249 env->SetAsyncGeneratorResNextRetProRstFtnClass(thread_, asyncGeneratorResNextRetProRstFtnClass); in Initialize()
255 env->SetProxyRevocFunctionClass(thread_, proxyRevocFuncClass); in Initialize()
261 JSFunction::SetFunctionPrototypeOrInstanceHClass(thread_, JSHandle<JSFunction>(objectFunction), in Initialize()
264 env->SetObjectFunction(thread_, objectFunctio in Initialize()
[all...]
H A Dshared_builtins.cpp52 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSObjectAndSFunction()
60 auto emptySLayout = thread_->GlobalConstants()->GetHandledEmptySLayoutInfo(); in InitializeSObjectAndSFunction()
79 env->SetSObjectFunctionPrototype(thread_, sObjPrototype); in InitializeSObjectAndSFunction()
88 env->Set##Name(thread_, sGlobalEnv->Get##Name()); in CopySObjectAndSFunction()
97 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSObject()
105 env->SetSObjectFunction(thread_, sObjectFunction); in InitializeSObject()
114 sObjPrototype->SetPropertyInlinedProps(thread_, fieldIndex++, sObjectFunction.GetTaggedValue()); in InitializeSObject()
130 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSArrayBuffer()
131 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in InitializeSArrayBuffer()
152 JSHandle<JSObject> globalObject(thread_, en in InitializeSArrayBuffer()
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/
H A Dvm_thread_control.cpp27 thread_->SetCheckSafePointStatus(); in NotifyVMThreadSuspension()
32 thread_->ResetCheckSafePointStatus(); in NotifyVMThreadSuspension()
42 thread_->SetCheckSafePointStatus(); in RequestTerminateExecution()
47 thread_->SetVMNeedSuspension(flag); in SetVMNeedSuspension()
52 return thread_->VMNeedSuspension(); in VMNeedSuspension()
57 thread_->SetTerminationRequest(flag); in SetTerminationRequest()
62 thread_->SetVMSuspended(flag); in SetVMSuspended()
67 return thread_->IsVMSuspended(); in IsSuspended()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Daot_compilation_env.cpp23 ptManager_ = thread_->GetCurrentEcmaContext()->GetPTManager(); in AOTCompilationEnv()
38 return thread_->GetArrayHClassIndexMap(); in GetArrayHClassIndexMap()
43 return thread_->GetBuiltinHClassEntries(); in GetBuiltinHClassEntries()
48 return thread_->GetBuiltinPrototypeHClass(type); in GetBuiltinPrototypeHClass()
53 return thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile, id); in FindConstpool()
58 return thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile, index); in FindConstpool()
64 return thread_->GetCurrentEcmaContext()->FindOrCreateUnsharedConstpool(cp); in FindOrCreateUnsharedConstpool()
69 return thread_->GetCurrentEcmaContext()->FindOrCreateUnsharedConstpool(sharedConstpool); in FindOrCreateUnsharedConstpool()
75 return thread_->GetCurrentEcmaContext()->FindOrCreateConstPool(jsPandaFile, id); in FindOrCreateConstPool()
85 return thread_ in GlobalConstants()
[all...]
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit.h144 explicit JitLockHolder(JSThread *thread) : thread_(nullptr), scope_(thread->GetEcmaVM()) in JitLockHolder()
147 thread_ = static_cast<JitThread*>(thread); in JitLockHolder()
148 if (thread_->GetState() != ThreadState::RUNNING) { in JitLockHolder()
149 thread_->ManagedCodeBegin(); in JitLockHolder()
152 thread_->GetHostThread()->GetJitLock()->Lock(); in JitLockHolder()
156 explicit JitLockHolder(const CompilationEnv *env, CString message) : thread_(nullptr), in JitLockHolder()
163 thread_ = static_cast<JitThread*>(thread); in JitLockHolder()
164 if (thread_->GetState() != ThreadState::RUNNING) { in JitLockHolder()
165 thread_->ManagedCodeBegin(); in JitLockHolder()
168 thread_ in JitLockHolder()
222 JSThread *thread_; global() member in panda::ecmascript::Jit::JitGCLockHolder
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
H A Dsnapshot_constantpool_data.cpp52 PGOTypeManager *ptManager = thread_->GetCurrentEcmaContext()->GetPTManager(); in TryGetHClass()
54 return JSHandle<JSTaggedValue>(thread_, hclass); in TryGetHClass()
59 PGOTypeManager *ptManager = thread_->GetCurrentEcmaContext()->GetPTManager(); in TryGetHClassByPGOTypeLocation()
68 JSHandle<JSTaggedValue> maybeCache(thread_, globalData.GetObjectLiteralHClassCache()); in TryGetHClassFromCached()
80 return thread_->GlobalConstants()->GetHandledUndefined(); in TryGetHClassFromCached()
86 return thread_->GlobalConstants()->GetHandledUndefined(); in TryGetHClassFromCached()
89 JSMutableHandle<JSTaggedValue> key(thread_, JSTaggedValue::Undefined()); in TryGetHClassFromCached()
107 return thread_->GlobalConstants()->GetHandledUndefined(); in TryGetHClassFromCached()
111 auto result = JSHandle<JSHClass>(thread_, newClass); in TryGetHClassFromCached()
116 return thread_ in TryGetHClassFromCached()
[all...]
/arkcompiler/ets_runtime/ecmascript/shared_objects/
H A Dconcurrent_api_scope.h35 : thread_(thread), objHandle_(objHandle), checkMode_(mode) in ConcurrentApiScope()
80 thread_, containers::ErrorFlag::CONCURRENT_MODIFICATION_ERROR, "Concurrent modification exception"); in CanWrite()
81 THROW_NEW_ERROR_AND_RETURN(thread_, error); in CanWrite()
93 thread_, containers::ErrorFlag::CONCURRENT_MODIFICATION_ERROR, "Concurrent modification exception"); in WriteDone()
94 THROW_NEW_ERROR_AND_RETURN(thread_, error); in WriteDone()
105 thread_, containers::ErrorFlag::CONCURRENT_MODIFICATION_ERROR, "Concurrent modification exception"); in CanRead()
106 THROW_NEW_ERROR_AND_RETURN(thread_, error); in CanRead()
131 thread_, containers::ErrorFlag::CONCURRENT_MODIFICATION_ERROR, "Concurrent modification exception"); in ReadDone()
132 THROW_NEW_ERROR_AND_RETURN(thread_, error); in ReadDone()
139 JSThread *thread_ {nullpt
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Ddebuggable_thread.cpp20 : thread_(thread), callbacks_(std::move(callbacks)) in DebuggableThread()
124 ASSERT(thread_->IsSuspended()); in RequestToObjectRepository()
127 thread_->Resume(); in RequestToObjectRepository()
134 ASSERT(thread_->IsSuspended()); in RequestToObjectRepository()
146 ASSERT(thread_->GetCurrentFrame()); in Evaluate()
147 auto *ctx = thread_->GetCurrentFrame()->GetMethod()->GetClass()->GetLoadContext(); in Evaluate()
170 ASSERT(!thread_->HasPendingException()); in InvokeEvaluationMethod()
175 Value result = method->Invoke(thread_, nullptr); in InvokeEvaluationMethod()
179 if (thread_->HasPendingException()) { in InvokeEvaluationMethod()
180 newException = thread_ in InvokeEvaluationMethod()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
H A Dpgo_type_manager.cpp45 return thread_->GetCurrentEcmaContext()->FindConstpool(curJSPandaFile_, cpId); in GetConstantPoolByMethodOffset()
51 return ConstantPool::GetStringFromCache(thread_, cp, cpIdx); in GetStringFromConstantPool()
91 ObjectFactory* factory = thread_->GetEcmaVM()->GetFactory(); in GenSymbolInfo()
114 symbolInfo->Set(thread_, pos++, JSTaggedValue(symbolId)); in GenSymbolInfo()
115 symbolInfo->Set(thread_, pos++, symbol); in GenSymbolInfo()
122 EcmaVM *vm = thread_->GetEcmaVM(); in GenSymbolInfo()
136 ObjectFactory* factory = thread_->GetEcmaVM()->GetFactory(); in GenHClassInfo()
147 hclassInfo->Set(thread_, pos++, JSTaggedValue(hclass)); in GenHClassInfo()
151 JSHandle<GlobalEnv> env = thread_->GetEcmaVM()->GetGlobalEnv(); in GenHClassInfo()
157 hclassInfo->Set(thread_, po in GenHClassInfo()
[all...]
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dframe_handler.cpp23 : sp_(const_cast<JSTaggedType *>(thread->GetCurrentFrame())), thread_(thread) in FrameHandler()
30 if (!thread_->IsAsmInterpreter()) { in AdvanceToJSFrame()
33 FrameIterator it(sp_, thread_); in AdvanceToJSFrame()
48 if (!thread_->IsAsmInterpreter()) { in PrevJSFrame()
49 FrameIterator it(sp_, thread_); in PrevJSFrame()
58 FrameIterator it(sp_, thread_); in PrevJSFrame()
62 if (thread_->IsAsmInterpreter()) { in PrevJSFrame()
79 if (thread_->IsAsmInterpreter()) { in GetNumberArgs()
85 FrameIterator it(sp_, thread_); in GetNumberArgs()
121 FrameIterator it(sp_, thread_); in GetAcc()
[all...]

Completed in 26 milliseconds

1234567