| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi.cpp | 259 if (vm->GetJSThread()->HasPendingException()) { \ 273 if (vm->GetJSThread()->HasPendingException()) { \ 315 JSThread *thread = vm->GetJSThread(); in CreateJSContext() 321 JSThread *thread = vm->GetJSThread(); in SwitchCurrentContext() 327 JSThread *thread = vm->GetJSThread(); in DestroyJSContext() 371 if (vm->GetJSThread() != nullptr && vm->IsInitialized()) { in TriggerGC() 391 auto thread = vm->GetJSThread(); in ThrowException() 401 JSThread* thread = vm->GetJSThread(); in PrintExceptionInfo() 545 vm->GetJSThread()->GetCurrentEcmaContext()->LoadAOTFiles(aotFileName); in LoadAotFile() 691 return vm->GetJSThread()->HasPendingException(); in HasPendingException() [all …]
|
| D | dfx_jsnapi.cpp | 108 vm->GetJSThread()->SetStackTraceFd(stackTraceFd); in DumpHeapSnapshot() 230 vm->GetJSThread()->GetCurrentEcmaContext()->SetRuntimeStatEnable(true); in StartRuntimeStat() 235 vm->GetJSThread()->GetCurrentEcmaContext()->SetRuntimeStatEnable(false); in StopRuntimeStat() 286 if (workerVm->GetJSThread()->GetIsProfiling()) { in StopCpuProfilerForColdStart() 320 if (vm->GetJSThread()->GetIsProfiling()) { in CpuProfilerSamplingAnyTime() 495 ecmascript::JSThread* thread = vm->GetJSThread(); in CheckSafepoint()
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | js_module_manager.cpp | 43 …resolvedModules_ = NameDictionary::Create(vm_->GetJSThread(), DEAULT_DICTIONART_CAPACITY).GetTagge… in ModuleManager() 48 FrameHandler frameHandler(vm_->GetJSThread()); in GetCurrentModule() 59 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner() 68 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner() 76 …extModule::Cast(currentModule->GetTaggedObject())->GetModuleValue(vm_->GetJSThread(), index, false… in GetModuleValueInner() 98 JSThread *thread = vm_->GetJSThread(); in GetModuleValueOutterInternal() 192 …return FastRuntimeStub::CallGetter(vm_->GetJSThread(), JSTaggedValue(obj), JSTaggedValue(obj), val… in GetValueFromExportObject() 200 JSThread *thread = vm_->GetJSThread(); in StoreModuleValue() 207 JSThread *thread = vm_->GetJSThread(); in StoreModuleValue() 219 JSThread *thread = vm_->GetJSThread(); in StoreModuleValueInternal() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | tagged_object-inl.h | 36 Barriers::SetObject<true>(GetJSThread(), this, 0, JSTaggedValue(hclass).GetRawData()); in SetClass() 60 inline JSThread *TaggedObject::GetJSThread() const in GetJSThread() function 64 return region->GetJSThread(); in GetJSThread()
|
| D | incremental_marker.cpp | 85 heap_->GetJSThread()->SetMarkStatus(MarkStatus::MARKING); in Initialize() 109 heap_->GetJSThread()->SetMarkStatus(MarkStatus::MARK_FINISHED); in ProcessIncrementalMark() 118 heap_->GetJSThread()->SetMarkStatus(MarkStatus::READY_TO_MARK); in Finish() 139 heap_->GetJSThread()->SetMarkStatus(MarkStatus::READY_TO_MARK); in Reset()
|
| D | concurrent_sweeper.cpp | 37 … std::make_unique<SweeperTask>(heap_->GetJSThread()->GetThreadId(), this, OLD_SPACE)); in PostTask() 40 std::make_unique<SweeperTask>(heap_->GetJSThread()->GetThreadId(), this, NON_MOVABLE)); in PostTask() 42 … std::make_unique<SweeperTask>(heap_->GetJSThread()->GetThreadId(), this, MACHINE_CODE_SPACE)); in PostTask()
|
| D | barriers.cpp | 23 JSThread* thread = valueRegion->GetJSThread(); in Update()
|
| D | tagged_object.h | 50 JSThread* GetJSThread() const;
|
| D | concurrent_marker.cpp | 39 thread_(vm_->GetJSThread()), in ConcurrentMarker() 65 …Taskpool::GetCurrentTaskpool()->PostTask(std::make_unique<MarkerTask>(heap_->GetJSThread()->GetThr… in Mark()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | debugger_api.cpp | 76 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepth() 88 return std::make_shared<FrameHandler>(ecmaVm->GetJSThread()); in NewFrameHandler() 93 FrameHandler frameHandler(ecmaVm->GetJSThread()); in StackWalker() 112 return FrameHandler(ecmaVm->GetJSThread()).GetBytecodeOffset(); in GetBytecodeOffset() 117 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetMethod() 141 FrameHandler frameHandler(ecmaVm->GetJSThread()); in IsNativeMethod() 156 Method *method = FrameHandler(ecmaVm->GetJSThread()).GetMethod(); in GetJSPandaFile() 195 JSHandle<JSTaggedValue> handledValue(ecmaVm->GetJSThread(), value); in GetVRegValue() 202 auto exception = ecmaVm->GetJSThread()->GetException(); in GetAndClearException() 203 JSHandle<JSTaggedValue> handledException(ecmaVm->GetJSThread(), exception); in GetAndClearException() [all …]
|
| D | js_debugger.cpp | 93 JSThread *thread = ecmaVm_->GetJSThread(); in HandleBreakpoint() 97 auto handlerPtr = std::make_shared<FrameHandler>(ecmaVm_->GetJSThread()); in HandleBreakpoint() 215 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodEntry() 228 FrameHandler frameHandler(ecmaVm_->GetJSThread()); in MethodExit()
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
| D | ts_type_table_generator_test.cpp | 59 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 78 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 82 table->SetNumberOfTypes(ecmaVm->GetJSThread()); in HWTEST_F_L0() 114 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0()
|
| D | ts_type_parser_test.cpp | 61 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 73 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 144 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 217 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 283 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 344 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 410 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
| D | pgo_profiler_test.cpp | 135 method->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 138 func->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 185 method->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 186 method1->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 187 method2->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 193 func->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 194 func1->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 195 func2->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 251 method->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 252 method1->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | pass_manager.cpp | 30 …(profilerDecoder_.IsLoaded() || vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager()->Asser… in ShouldCollect() 36 [[maybe_unused]] EcmaHandleScope handleScope(vm_->GetJSThread()); in Compile() 159 …vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager()->ProcessSnapshotConstantPool(collector… in ProcessConstantPool() 180 JSThread *thread = vm_->GetJSThread(); in ResolveModule()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string_table.cpp | 105 …auto firstFlat = JSHandle<EcmaString>(vm_->GetJSThread(), EcmaStringAccessor::Flatten(vm_, firstSt… in GetOrInternString() 106 …auto secondFlat = JSHandle<EcmaString>(vm_->GetJSThread(), EcmaStringAccessor::Flatten(vm_, second… in GetOrInternString() 111 JSHandle<EcmaString> concatHandle(vm_->GetJSThread(), in GetOrInternString() 163 JSHandle<EcmaString> strHandle(vm_->GetJSThread(), string); in GetOrInternString() 177 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in GetOrInternString()
|
| D | ecma_string.cpp | 140 auto srcFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, src)); in FastSubString() 198 auto leftFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, left)); in Compare() 199 auto rightFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, right)); in Compare() 324 auto receiverFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, receiver)); in IndexOf() 325 auto searchFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, search)); in IndexOf() 377 auto receiverFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, receiver)); in LastIndexOf() 378 auto searchFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, search)); in LastIndexOf() 531 auto str1Flat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, str1)); in StringsAreEqual() 532 auto str2Flat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, str2)); in StringsAreEqual() 774 auto srcFlat = JSHandle<EcmaString>(vm->GetJSThread(), Flatten(vm, src)); in ToLower() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | program_object.cpp | 22 auto context = vm->GetJSThread()->GetCurrentEcmaContext(); in GetDeserializedConstantPool()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | heap_tracker_test.cpp | 129 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 183 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 238 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 325 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 356 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 387 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 418 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 458 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | cpu_profiler.cpp | 77 vm_->GetJSThread()->SetIsProfiling(true); in StartCpuProfilerForInfo() 87 … std::make_unique<SamplingProcessor>(vm_->GetJSThread()->GetThreadId(), generator_, interval_)); in StartCpuProfilerForInfo() 137 vm_->GetJSThread()->SetIsProfiling(true); in StartCpuProfilerForFile() 147 … std::make_unique<SamplingProcessor>(vm_->GetJSThread()->GetThreadId(), generator_, interval_)); in StartCpuProfilerForFile() 164 vm_->GetJSThread()->SetIsProfiling(false); in StopCpuProfilerForInfo() 199 vm_->GetJSThread()->SetIsProfiling(false); in StopCpuProfilerForFile() 514 AOTFileManager *loader = vm_->GetJSThread()->GetCurrentEcmaContext()->GetAOTFileManager(); in IsAddrAtStubOrAot()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | test_helper.h | 117 thread = instance->GetJSThread(); 128 auto thread = instance->GetJSThread(); in DestroyEcmaVMWithScope()
|
| /arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferallocatearraybuffer_fuzzer/ |
| D | builtinsarraybufferallocatearraybuffer_fuzzer.cpp | 38 JSThread *thread = vm->GetJSThread(); in BuiltinsArrayBufferAllocateArrayBufferFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/vmstat/ |
| D | runtime_stat.cpp | 141 vm_->GetJSThread()->GetCurrentEcmaContext()->SetRuntimeStatEnable(true); in EcmaRuntimeStatScope() 148 vm_->GetJSThread()->GetCurrentEcmaContext()->SetRuntimeStatEnable(false); in ~EcmaRuntimeStatScope()
|
| /arkcompiler/ets_runtime/test/fuzztest/builtinsarraybuffersetvalueinbufferforbyte_fuzzer/ |
| D | builtinsarraybuffersetvalueinbufferforbyte_fuzzer.cpp | 39 JSThread *thread = vm->GetJSThread(); in BuiltinsArrayBufferSetValueInBufferForByteFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferfastsetvalueinbuffer_fuzzer/ |
| D | builtinsarraybufferfastsetvalueinbuffer_fuzzer.cpp | 39 JSThread *thread = vm->GetJSThread(); in BuiltinsArrayBufferFastSetValueInBufferFuzzTest()
|