| /arkcompiler/ets_runtime/ecmascript/jit/ |
| D | jit_task.cpp | 47 …JSHandle<Method> methodHandle(vm_->GetJSThread(), Method::Cast(jsFunction_->GetMethod().GetTaggedO… in InstallCode() 66 methodHandle->SetMachineCode(vm_->GetJSThread(), machineCodeObj); in InstallCode() 74 GlobalHandleCollection globalHandleCollection(vm_->GetJSThread()); in PersistentHandle() 82 GlobalHandleCollection globalHandleCollection(vm_->GetJSThread()); in ReleasePersistentHandle() 107 … std::make_unique<JitTask::AsyncTask>(jitTask, jitTask->GetVM()->GetJSThread()->GetThreadId())); in Run()
|
| D | jit.cpp | 66 vm_->GetJSThread()->SwitchJitProfileStubsIfNeeded(); in Initialize() 184 std::make_unique<JitTask::AsyncTask>(jitTask, vm_->GetJSThread()->GetThreadId())); in AddAsyncCompileTask() 203 vm_->GetJSThread()->SetInstallMachineCode(true); in RequestInstallCode() 204 vm_->GetJSThread()->SetCheckSafePointStatus(); in RequestInstallCode() 237 vm_->GetJSThread()->SetInstallMachineCode(false); in InstallTasks()
|
| /arkcompiler/ets_runtime/test/fuzztest/setrefgetvalue_fuzzer/ |
| D | setrefgetvalue_fuzzer.cpp | 46 JSHandle<LinkedHashSet> hashSet = LinkedHashSet::Create(vm->GetJSThread()); in SetRefGetValueFuzztest() 47 jsSet->SetLinkedSet(vm->GetJSThread(), hashSet); in SetRefGetValueFuzztest() 52 JSSet::Add(vm->GetJSThread(), jsSet, fristValue); in SetRefGetValueFuzztest() 54 JSSet::Add(vm->GetJSThread(), jsSet, secondValue); in SetRefGetValueFuzztest()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | debugger_api.cpp | 77 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepth() 89 return std::make_shared<FrameHandler>(ecmaVm->GetJSThread()); in NewFrameHandler() 94 FrameHandler frameHandler(ecmaVm->GetJSThread()); in StackWalker() 114 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetStackDepthOverBuiltin() 129 return FrameHandler(ecmaVm->GetJSThread()).GetBytecodeOffset(); in GetBytecodeOffset() 134 FrameHandler frameHandler(ecmaVm->GetJSThread()); in GetMethod() 158 FrameHandler frameHandler(ecmaVm->GetJSThread()); in IsNativeMethod() 173 Method *method = FrameHandler(ecmaVm->GetJSThread()).GetMethod(); in GetJSPandaFile() 226 JSHandle<JSTaggedValue> handledValue(ecmaVm->GetJSThread(), value); in GetVRegValue() 233 auto exception = ecmaVm->GetJSThread()->GetException(); in GetAndClearException() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | js_module_manager.cpp | 44 …resolvedModules_ = NameDictionary::Create(vm_->GetJSThread(), DEAULT_DICTIONART_CAPACITY).GetTagge… in ModuleManager() 49 FrameHandler frameHandler(vm_->GetJSThread()); in GetCurrentModule() 60 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner() 69 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner() 77 …extModule::Cast(currentModule->GetTaggedObject())->GetModuleValue(vm_->GetJSThread(), index, false… in GetModuleValueInner() 99 JSThread *thread = vm_->GetJSThread(); in GetModuleValueOutterInternal() 233 …return FastRuntimeStub::CallGetter(vm_->GetJSThread(), JSTaggedValue(obj), JSTaggedValue(obj), val… in GetValueFromExportObject() 241 JSThread *thread = vm_->GetJSThread(); in StoreModuleValue() 248 JSThread *thread = vm_->GetJSThread(); in StoreModuleValue() 260 JSThread *thread = vm_->GetJSThread(); in StoreModuleValueInternal() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | aot_compiler_preprocessor.cpp | 53 vm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager()->AssertTypes(); in CompilationOptions() 119 vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager()->Initialize(); in AOTInitialize() 124 TSManager *tsManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in SetShouldCollectLiteralInfo() 184 JSThread *thread = vm_->GetJSThread(); in ResolveModule() 202 TSManager *tsManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in GenerateGlobalTypes() 203 PGOTypeManager *ptManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetPTManager(); in GenerateGlobalTypes() 226 JSThread *thread = vm_->GetJSThread(); in GenerateGlobalTypes() 241 PGOTypeManager *ptManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetPTManager(); in GeneratePGOTypes() 253 PGOTypeManager *ptManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetPTManager(); in SnapshotInitialize()
|
| D | jit_compiler.cpp | 46 …isEnableTypeLowering_ || vm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager()->AssertTypes(); in JitCompilationOptions() 100 vm->GetJSThread()->GetCurrentEcmaContext()->SetTSManager(tsm); in Create() 101 vm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager()->Initialize(); in Create()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/ |
| D | jsvaluerefismodulenamespace_fuzzer.cpp | 48 …SourceTextModule::AddLocalExportEntry(vm->GetJSThread(), module, localExportEntry1, 0, ERROR_TYPE_… in IsModuleNamespaceObjectFuzztest() 50 …SourceTextModule::AddLocalExportEntry(vm->GetJSThread(), module, localExportEntry2, 1, ERROR_TYPE_… in IsModuleNamespaceObjectFuzztest() 51 JSHandle<TaggedArray> localExportEntries(vm->GetJSThread(), module->GetLocalExportEntries()); in IsModuleNamespaceObjectFuzztest() 54 module->SetEcmaModuleFilename(vm->GetJSThread(), moduleFilename); in IsModuleNamespaceObjectFuzztest() 55 ModuleManager *moduleManager = vm->GetJSThread()->GetCurrentEcmaContext()->GetModuleManager(); in IsModuleNamespaceObjectFuzztest() 57 JSHandle<ModuleNamespace> np = ModuleNamespace::ModuleNamespaceCreate(vm->GetJSThread(), in IsModuleNamespaceObjectFuzztest() 75 auto thread = vm->GetJSThread(); in IsProxyFuzztest() 97 auto thread = vm->GetJSThread(); in IsJSCollatorFuzztest() 121 auto thread = vm->GetJSThread(); in IsJSPluralRulesFuzztest() 175 auto thread = vm->GetJSThread(); in IsJSPrimitiveRefFuzztest() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/setrefgettotalelements_fuzzer/ |
| D | setrefgettotalelements_fuzzer.cpp | 46 JSHandle<LinkedHashSet> hashSet = LinkedHashSet::Create(vm->GetJSThread()); in SetRefGetTotalElementsFuzztest() 47 jsSet->SetLinkedSet(vm->GetJSThread(), hashSet); in SetRefGetTotalElementsFuzztest() 51 JSSet::Add(vm->GetJSThread(), jsSet, fristValue); in SetRefGetTotalElementsFuzztest()
|
| /arkcompiler/ets_runtime/test/fuzztest/setrefgetsize_fuzzer/ |
| D | setrefgetsize_fuzzer.cpp | 46 JSHandle<LinkedHashSet> hashSet = LinkedHashSet::Create(vm->GetJSThread()); in SetRefGetSizeFuzztest() 47 jsSet->SetLinkedSet(vm->GetJSThread(), hashSet); in SetRefGetSizeFuzztest() 51 JSSet::Add(vm->GetJSThread(), jsSet, fristValue); in SetRefGetSizeFuzztest()
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
| D | snapshot_env.cpp | 30 auto globalConst = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in InitializeStringClass() 39 auto globalConst = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in InitGlobalConst() 51 auto globalConst = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in InitGlobalEnv()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | incremental_marker.cpp | 87 heap_->GetJSThread()->SetMarkStatus(MarkStatus::MARKING); in Initialize() 112 heap_->GetJSThread()->SetMarkStatus(MarkStatus::MARK_FINISHED); in ProcessIncrementalMark() 121 heap_->GetJSThread()->SetMarkStatus(MarkStatus::READY_TO_MARK); in Finish() 142 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 | linear_space.cpp | 51 } else if (heap_->GetJSThread()->IsMarking() || !heap_->IsEmptyIdleTask()) { in Allocate() 98 …ion = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->GetJSThread()); in Expand() 172 …ion = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->GetJSThread()); in Initialize() 279 heap_->GetJSThread(), in AdjustCapacity() 293 heap_->GetEcmaVM()->GetJSObjectResizingStrategy()->UpdateGrowStep(heap_->GetJSThread()); in AdjustCapacity()
|
| /arkcompiler/ets_runtime/test/fuzztest/publicapilocalregexpref_fuzzer/ |
| D | publicapilocalregexpref_fuzzer.cpp | 36 JSThread *thread = vm->GetJSThread(); in LocalRegExpGetOriginalSourceFuzzTest() 62 JSThread *thread = vm->GetJSThread(); in LocalRegExpRefGetOriginalFlagsFuzzTest() 88 JSThread *thread = vm->GetJSThread(); in LocalRegExpIsGlobalRefFuzzTest() 107 JSThread *thread = vm->GetJSThread(); in LocalRegExpIsIgnoreCaseFuzzTest() 128 JSThread *thread = vm->GetJSThread(); in LocalRegExpIsMultilineFuzzTest() 149 JSThread *thread = vm->GetJSThread(); in LocalRegExpIsDotAllFuzzTest() 170 JSThread *thread = vm->GetJSThread(); in LocalRegExpIsUtf16FuzzTest() 191 JSThread *thread = vm->GetJSThread(); in LocalRegExpIsSticklFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
| D | ts_type_table_generator_test.cpp | 60 auto *tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 79 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() 83 table->SetNumberOfTypes(ecmaVm->GetJSThread()); in HWTEST_F_L0() 115 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
| D | pgo_profiler_test.cpp | 253 method->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 255 method->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 292 method->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 293 method1->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 294 method2->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 297 method->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 298 method1->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 299 method2->SetModule(vm_->GetJSThread(), recordName); in HWTEST_F_L0() 343 method->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() 344 method1->SetConstantPool(vm_->GetJSThread(), constPool.GetTaggedValue()); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_second_tests.cpp | 88 thread_ = vm_->GetJSThread(); in SetUp() 152 EXPECT_TRUE(vm->GetJSThread()->GetThreadId() != JSThread::GetCurrentThreadId()); in ThreadCheck() 215 thread_ = vm_->GetJSThread(); in HWTEST_F_L0() 236 thread_ = vm_->GetJSThread(); in HWTEST_F_L0() 272 JSThread *thread = vm_->GetJSThread(); in HWTEST_F_L0() 299 JSThread *thread = vm_->GetJSThread(); in HWTEST_F_L0() 340 JSThread *thread = vm_->GetJSThread(); in HWTEST_F_L0() 369 JSThread *thread = vm_->GetJSThread(); in HWTEST_F_L0() 398 JSThread *thread = vm_->GetJSThread(); in HWTEST_F_L0() 614 JSThread *thread = vm_->GetJSThread(); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
| D | pgo_hclass_generator.cpp | 41 auto thread = ptManager_->GetJSThread(); in GenerateHClass() 94 auto thread = ptManager_->GetJSThread(); in GenerateIHClass() 139 auto thread = ptManager_->GetJSThread(); in CreateRootHClass() 158 auto thread = ptManager_->GetJSThread(); in CreateChildHClass()
|
| D | pgo_type_parser.cpp | 74 auto thread = ptManager_->GetJSThread(); in GenerateHClass() 111 auto hclassIdx = ptManager_->GetJSThread()->GetArrayHClassIndexMap().at(kind); in RecordTypeInfo() 125 auto thread = ptManager_->GetJSThread(); in GenerateHClass() 159 auto thread = ptManager_->GetJSThread(); in GenerateHClass() 200 auto thread = ptManager_->GetJSThread(); in CreatePGOType()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | heap_tracker_second_test.cpp | 129 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 160 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 191 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 222 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefiscontainer_fuzzer/ |
| D | jsvaluerefiscontainer_fuzzer.cpp | 44 JSThread *thread = vm->GetJSThread(); in JSValueRefIsVectorFuzzTest() 80 JSThread *thread = vm->GetJSThread(); in JSValueRefIsRegExpFuzzTest() 106 JSThread *thread = vm->GetJSThread(); in JSValueRefIsSetFuzzTest() 129 JSThread *thread = vm->GetJSThread(); in JSValueRefIsTreeMapFuzzTest() 151 JSThread *thread = vm->GetJSThread(); in JSValueRefIsTreeSetFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | global_env.h | 65 JSThread *thread = GetJSThread(); in GetNoLazyEnvObjectByIndex() 85 JSThread* GetJSThread() const in GetJSThread() function 123 … JSThread *thread = GetJSThread(); \ 134 … JSThread *thread = GetJSThread(); \
|
| D | ecma_string_table.cpp | 108 …auto firstFlat = JSHandle<EcmaString>(vm_->GetJSThread(), EcmaStringAccessor::Flatten(vm_, firstSt… in GetOrInternString() 109 …auto secondFlat = JSHandle<EcmaString>(vm_->GetJSThread(), EcmaStringAccessor::Flatten(vm_, second… in GetOrInternString() 114 JSHandle<EcmaString> concatHandle(vm_->GetJSThread(), in GetOrInternString() 172 JSHandle<EcmaString> strHandle(vm_->GetJSThread(), string); in GetOrInternString() 186 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in GetOrInternString() 201 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in InsertStringToTable() 272 auto thread = vm_->GetJSThread(); in RelocateConstantData()
|
| /arkcompiler/ets_runtime/test/fuzztest/weaksetref_fuzzer/ |
| D | weaksetref_fuzzer.cpp | 39 JSThread *thread = vm->GetJSThread(); in WeakSetRefGetSizeFuzzTest() 64 JSThread *thread = vm->GetJSThread(); in WeakSetRefGetTotalElementsFuzzTest() 89 JSThread *thread = vm->GetJSThread(); in WeakSetRefGetValueFuzzTest()
|