• Home
  • Raw
  • Download

Lines Matching +full:- +full:200

7  *     http://www.apache.org/licenses/LICENSE-2.0
16 #include "ecmascript/ecma_string-inl.h"
31 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
36 auto string1 = factory->NewFromASCII("test1"); in HWTEST_F_L0()
37 globalString = thread->NewGlobalHandle(string1.GetTaggedType()); in HWTEST_F_L0()
40 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
44 factory->NewFromASCII("test1"), in HWTEST_F_L0()
51 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in GlobalHandleCommon()
55 auto string1 = factory->NewFromUtf8(test.c_str()); in GlobalHandleCommon()
56 globalString[i] = thread->NewGlobalHandle(string1.GetTaggedType()); in GlobalHandleCommon()
65 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
66 for (int i = 300; i > 200; i--) { in HWTEST_F_L0()
67 thread->DisposeGlobalHandle(globalString[i]); in HWTEST_F_L0()
69 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
71 for (int i = 0; i <= 200; i++) { in HWTEST_F_L0()
74 factory->NewFromUtf8(test.c_str()), in HWTEST_F_L0()
79 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
83 factory->NewFromUtf8(test.c_str()), in HWTEST_F_L0()
93 for (int i = 512; i > 200; i--) { in HWTEST_F_L0()
94 thread->DisposeGlobalHandle(globalString[i]); in HWTEST_F_L0()
100 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
107 auto string1 = factory->NewFromUtf8(test.c_str()); in HWTEST_F_L0()
108 globalString[i] = thread->NewGlobalHandle(string1.GetTaggedType()); in HWTEST_F_L0()
111 for (int i = 767; i > 200; i--) { in HWTEST_F_L0()
112 thread->DisposeGlobalHandle(globalString[i]); in HWTEST_F_L0()
115 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
118 for (int i = 200; i < 400; i++) { in HWTEST_F_L0()
120 auto string1 = factory->NewFromUtf8(test.c_str()); in HWTEST_F_L0()
121 globalString[i] = thread->NewGlobalHandle(string1.GetTaggedType()); in HWTEST_F_L0()
128 factory->NewFromUtf8(test.c_str()), in HWTEST_F_L0()
136 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
141 auto string1 = factory->NewFromASCII("test1"); in HWTEST_F_L0()
142 globalString = thread->NewGlobalHandle(string1.GetTaggedType()); in HWTEST_F_L0()
143 globalString = thread->SetWeak(globalString); in HWTEST_F_L0()
146 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
150 factory->NewFromASCII("test1"), in HWTEST_F_L0()
153 EXPECT_TRUE(thread->IsWeak(globalString)); in HWTEST_F_L0()
156 …SharedHeap::GetInstance()->CollectGarbage<TriggerGCType::SHARED_GC, GCReason::OTHER>(instance->Get… in HWTEST_F_L0()
157 …SharedHeap::GetInstance()->CollectGarbage<TriggerGCType::SHARED_GC, GCReason::OTHER>(instance->Get… in HWTEST_F_L0()
166 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
173 auto string1 = factory->NewFromUtf8(test.c_str()); in HWTEST_F_L0()
174 globalString[i] = thread->NewGlobalHandle(string1.GetTaggedType()); in HWTEST_F_L0()
175 globalString[i] = thread->SetWeak(globalString[i]); in HWTEST_F_L0()
176 EXPECT_TRUE(thread->IsWeak(globalString[i])); in HWTEST_F_L0()
178 for (int i = 600; i > 200; i--) { in HWTEST_F_L0()
179 thread->DisposeGlobalHandle(globalString[i]); in HWTEST_F_L0()
182 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
184 for (int i = 0; i <= 200; i++) { in HWTEST_F_L0()
187 factory->NewFromUtf8(test.c_str()), in HWTEST_F_L0()
193 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()