Home
last modified time | relevance | path

Searched refs:GetEcmaVM (Results 1 – 25 of 548) sorted by relevance

12345678910>>...22

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp66 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateBuiltinsRegExpObjByPatternAndFlags()
87 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0()
88 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0()
106 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0()
107 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0()
111 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
141 JSHandle<EcmaString> pattern1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0()
142 JSHandle<EcmaString> flags1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0()
146 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
149 JSHandle<EcmaString> flags2 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("gi"); in HWTEST_F_L0()
[all …]
Dbuiltins_number_test.cpp70 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
121 JSHandle<EcmaString> test = thread->GetEcmaVM()->GetFactory()->NewFromASCII("helloworld"); in HWTEST_F_L0()
220 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
221 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
226 …JSHandle<JSPrimitiveRef> number = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(numberObjec… in HWTEST_F_L0()
245 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
246 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
270 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
271 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
295 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
Dbuiltins_lazy_test.cpp69 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
82 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
97 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
108 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
119 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
132 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
143 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
156 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
167 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
180 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
[all …]
Dbuiltins_finalization_registry_test.cpp80 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateFinalizationRegistryConstructor()
81 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateFinalizationRegistryConstructor()
101 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
102 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
121 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
122 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
147 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
148 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
174 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0()
175 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
Dbuiltins_object_test.cpp64 EcmaVM *ecmaVM = thread->GetEcmaVM(); in CreateBuiltinJSObject()
67 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateBuiltinJSObject()
78 EcmaVM *ecmaVM = thread->GetEcmaVM(); in BuiltinsObjectTestCreate()
85 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in TestNewJSObject()
97 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
117 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0()
136 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0()
161 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), functi… in HWTEST_F_L0()
163 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), functi… in HWTEST_F_L0()
165 JSHandle<JSTaggedValue> key1(thread->GetEcmaVM()->GetFactory()->NewFromASCII("x")); in HWTEST_F_L0()
[all …]
Dbuiltins_weak_ref_test.cpp71 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateWeakRefConstructor()
89 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
90 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
112 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
113 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
132 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
133 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
160 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0()
161 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
162 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
Dbuiltins_boolean_test.cpp63 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
83 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
103 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
107 JSHandle<EcmaString> str = thread->GetEcmaVM()->GetFactory()->NewFromASCII("helloworld"); in HWTEST_F_L0()
132 auto ruler = thread->GetEcmaVM()->GetFactory()->NewFromASCII("false"); in HWTEST_F_L0()
139 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
144 …JSHandle<JSPrimitiveRef> boolean = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(booleanObj… in HWTEST_F_L0()
154 auto ruler = thread->GetEcmaVM()->GetFactory()->NewFromASCII("true"); in HWTEST_F_L0()
175 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
180 …JSHandle<JSPrimitiveRef> boolean = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(booleanObj… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Dgc_test.cpp49 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in SetUp()
66 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
67 auto heap = thread->GetEcmaVM()->GetHeap(); in HWTEST_F_L0()
87 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
126 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
144 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
183 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
184 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
191 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
197 … auto newData1 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
[all …]
Djs_function_test.cpp63 EcmaVM *ecmaVM = thread->GetEcmaVM(); in JSObjectCreate()
70 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
72 JSHandle<JSFunction> funHandle = thread->GetEcmaVM()->GetFactory()->NewJSFunction(env); in HWTEST_F_L0()
76 JSHandle<LexicalEnv> lexicalEnv = thread->GetEcmaVM()->GetFactory()->NewLexicalEnv(0); in HWTEST_F_L0()
83 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
85 …JSHandle<JSFunction> func = thread->GetEcmaVM()->GetFactory()->NewJSFunction(env, static_cast<void… in HWTEST_F_L0()
98 thread->GetEcmaVM()->GetFactory()->NewFromASCII("constructor")); in HWTEST_F_L0()
100 JSHandle<JSTaggedValue> protoKey(thread->GetEcmaVM()->GetFactory()->NewFromASCII("prototype")); in HWTEST_F_L0()
114 … thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0()
118 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
[all …]
Decma_string_table_test.cpp57 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0()
59 …EcmaString> emptyEcmaStrHandle(thread, EcmaStringAccessor::CreateEmptyString(thread->GetEcmaVM())); in HWTEST_F_L0()
75 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0()
76 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0()
96 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0()
97 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0()
118 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0()
120 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0()
139 EXPECT_TRUE(thread->GetEcmaVM()->GetEcmaStringTable()->CheckStringTableValidity()); in HWTEST_F_L0()
Djs_arguments_test.cpp54 EcmaVM *ecmaVM = thread->GetEcmaVM(); in JSObjectTestCreate()
63 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0()
64 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0()
67 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0()
86 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0()
87 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0()
90 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0()
108 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0()
109 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0()
112 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0()
[all …]
Djs_handle_test.cpp55 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
64 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
75 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
87 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
100 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
112 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
130 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
145 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
166 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
176 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
[all …]
Dobject_factory_test.cpp64 return thread->GetEcmaVM()->GetGlobalEnv(); in GetGlobal()
69 thread->GetEcmaVM()->SetEnableForceGC(false); in HWTEST_F_L0()
70 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
93 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
95 if (thread->GetEcmaVM()->GetJSOptions().EnableSnapshotDeserialize()) { in HWTEST_F_L0()
100 thread->GetEcmaVM()->SetEnableForceGC(true); in HWTEST_F_L0()
105 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
106 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
134 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
151 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
Dbuiltins_test.cpp59 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
68 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
77 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
86 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
95 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
104 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
107 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
Dthrow_oom_error_test.cpp42 thread->GetEcmaVM()->SetEnableForceGC(false); in SetUp()
43 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp()
62 …thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE, JSTaggedValue::Hole(), MemSpaceType::NON_M… in HWTEST_F_L0()
72 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0()
82 …thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE, JSTaggedValue::Hole(), MemSpaceType::OLD_S… in HWTEST_F_L0()
89 …thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE, JSTaggedValue::Hole(), MemSpaceType::SEMI_… in HWTEST_F_L0()
Dread_only_space_test.cpp49 factory = thread->GetEcmaVM()->GetFactory(); in SetUp()
50 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp()
95 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
113 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
122 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
139 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
151 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0()
152 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
Djs_object_test.cpp68 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in JSObjectTestCreate()
76 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
84 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
88 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0()
103 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
107 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0()
120 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
124 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0()
133 JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromASCII("print_test")); in HWTEST_F_L0()
145 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
[all …]
Dweak_vector_test.cpp79 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
80 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
103 thread->GetEcmaVM()->SetEnableForceGC(false); // turn off gc in HWTEST_F_L0()
104 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
105 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
130 thread->GetEcmaVM()->SetEnableForceGC(true); // turn on gc in HWTEST_F_L0()
144 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
145 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
180 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
181 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
Dhuge_object_test.cpp44 thread->GetEcmaVM()->SetEnableForceGC(false); in SetUp()
45 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp()
61 EcmaVM *ecmaVM = thread->GetEcmaVM(); in JSObjectTestCreate()
73 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE); in LargeArrayTestCreate()
85 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0()
95 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dpartial_gc.cpp40 TRACE_GC(GCStats::Scope::ScopeId::TotalGC, heap_->GetEcmaVM()->GetEcmaGCStats()); in RunPhases()
41 MEM_ALLOCATE_AND_GC_TRACE(heap_->GetEcmaVM(), PartialGC_RunPhases); in RunPhases()
62 TRACE_GC(GCStats::Scope::ScopeId::Initialize, heap_->GetEcmaVM()->GetEcmaGCStats()); in Initialize()
88 TRACE_GC(GCStats::Scope::ScopeId::Finish, heap_->GetEcmaVM()->GetEcmaGCStats()); in Finish()
106 TRACE_GC(GCStats::Scope::ScopeId::Mark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark()
129 TRACE_GC(GCStats::Scope::ScopeId::Sweep, heap_->GetEcmaVM()->GetEcmaGCStats()); in Sweep()
136 TRACE_GC(GCStats::Scope::ScopeId::ClearNativeObject, heap_->GetEcmaVM()->GetEcmaGCStats()); in ProcessNativeDelete()
147 heap_->GetEcmaVM()->ProcessNativeDelete(gcUpdateWeak); in ProcessNativeDelete()
153 TRACE_GC(GCStats::Scope::ScopeId::Evacuate, heap_->GetEcmaVM()->GetEcmaGCStats()); in Evacuate()
Dstw_young_gc.cpp40 MEM_ALLOCATE_AND_GC_TRACE(heap_->GetEcmaVM(), STWYoungGC_RunPhases); in RunPhases()
41 TRACE_GC(GCStats::Scope::ScopeId::TotalGC, heap_->GetEcmaVM()->GetEcmaGCStats()); in RunPhases()
57 TRACE_GC(GCStats::Scope::ScopeId::Initialize, heap_->GetEcmaVM()->GetEcmaGCStats()); in Initialize()
70 TRACE_GC(GCStats::Scope::ScopeId::Mark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark()
97 TRACE_GC(GCStats::Scope::ScopeId::Sweep, heap_->GetEcmaVM()->GetEcmaGCStats()); in Sweep()
121 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep()
136 heap_->GetEcmaVM()->GetJSThread()->IterateWeakEcmaGlobalStorage(gcUpdateWeak); in Sweep()
137 heap_->GetEcmaVM()->ProcessReferences(gcUpdateWeak); in Sweep()
143 TRACE_GC(GCStats::Scope::ScopeId::Finish, heap_->GetEcmaVM()->GetEcmaGCStats()); in Finish()
Dfull_gc.cpp36 TRACE_GC(GCStats::Scope::ScopeId::TotalGC, heap_->GetEcmaVM()->GetEcmaGCStats()); in RunPhases()
37 MEM_ALLOCATE_AND_GC_TRACE(heap_->GetEcmaVM(), FullGC_RunPhases); in RunPhases()
61 TRACE_GC(GCStats::Scope::ScopeId::Initialize, heap_->GetEcmaVM()->GetEcmaGCStats()); in Initialize()
86 TRACE_GC(GCStats::Scope::ScopeId::Mark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark()
95 TRACE_GC(GCStats::Scope::ScopeId::Sweep, heap_->GetEcmaVM()->GetEcmaGCStats()); in Sweep()
131 auto stringTable = heap_->GetEcmaVM()->GetEcmaStringTable(); in Sweep()
148 heap_->GetEcmaVM()->GetJSThread()->IterateWeakEcmaGlobalStorage(gcUpdateWeak); in Sweep()
149 heap_->GetEcmaVM()->ProcessReferences(gcUpdateWeak); in Sweep()
158 TRACE_GC(GCStats::Scope::ScopeId::Finish, heap_->GetEcmaVM()->GetEcmaGCStats()); in Finish()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dproto_change_details_test.cpp60 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
78 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
96 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
118 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
136 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
137 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
167 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
168 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
200 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
201 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.cpp28 EcmaVM *vm = thread->GetEcmaVM(); in Date()
42 EcmaVM *vm = thread->GetEcmaVM(); in Set()
56 EcmaVM *vm = thread->GetEcmaVM(); in Map()
70 EcmaVM *vm = thread->GetEcmaVM(); in WeakMap()
84 EcmaVM *vm = thread->GetEcmaVM(); in WeakSet()
98 EcmaVM *vm = thread->GetEcmaVM(); in WeakRef()
112 EcmaVM *vm = thread->GetEcmaVM(); in FinalizationRegistry()
126 EcmaVM *vm = thread->GetEcmaVM(); in TypedArray()
147 … EcmaVM *vm = thread->GetEcmaVM(); \
160 EcmaVM *vm = thread->GetEcmaVM(); in ITERATE_TYPED_ARRAY()
[all …]
/arkcompiler/ets_runtime/ecmascript/jobs/tests/
Dpending_job_test.cpp64 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
65 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
88 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
89 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
119 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
120 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
154 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
155 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
190 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
191 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
[all …]

12345678910>>...22