Lines Matching refs:HEAP
89 HEAP->ConfigureHeap(2*256*KB, 8*MB, 8*MB); in TEST()
99 Object* obj = HEAP->AllocateFixedArray(array_size)->ToObjectChecked(); in TEST()
104 CHECK(HEAP->InSpace(*array, NEW_SPACE)); in TEST()
107 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
110 CHECK(HEAP->InSpace(*array, OLD_POINTER_SPACE)); in TEST()
115 HEAP->ConfigureHeap(2*256*KB, 8*MB, 8*MB); in TEST()
124 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
128 Min(Page::kMaxNonCodeHeapObjectSize, HEAP->MaxObjectSizeInNewSpace()); in TEST()
137 CHECK(HEAP->InSpace(*array, NEW_SPACE)); in TEST()
143 { MaybeObject* maybe_obj = HEAP->AllocateFixedArray(100, TENURED); in TEST()
152 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
161 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
168 maybe_array = HEAP->AllocateFixedArray(ARRAY_SIZE); in TEST()
170 HEAP->CollectGarbage(NEW_SPACE); in TEST()
172 array = HEAP->AllocateFixedArray(ARRAY_SIZE)->ToObjectChecked(); in TEST()
178 maybe_mapp = HEAP->AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
180 HEAP->CollectGarbage(MAP_SPACE); in TEST()
181 mapp = HEAP->AllocateMap(JS_OBJECT_TYPE, in TEST()
186 String::cast(HEAP->LookupAsciiSymbol("theFunction")->ToObjectChecked()); in TEST()
188 HEAP->AllocateSharedFunctionInfo(func_name)->ToObjectChecked()); in TEST()
190 HEAP->AllocateFunction(*Isolate::Current()->function_map(), in TEST()
192 HEAP->undefined_value())->ToObjectChecked()); in TEST()
194 Map::cast(HEAP->AllocateMap(JS_OBJECT_TYPE, in TEST()
201 HEAP->AllocateJSObject(function)->ToObjectChecked()); in TEST()
202 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
205 String::cast(HEAP->LookupAsciiSymbol("theFunction")->ToObjectChecked()); in TEST()
212 obj = JSObject::cast(HEAP->AllocateJSObject(function)->ToObjectChecked()); in TEST()
214 String::cast(HEAP->LookupAsciiSymbol("theObject")->ToObjectChecked()); in TEST()
218 String::cast(HEAP->LookupAsciiSymbol("theSlot")->ToObjectChecked()); in TEST()
224 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
227 String::cast(HEAP->LookupAsciiSymbol("theObject")->ToObjectChecked()); in TEST()
234 String::cast(HEAP->LookupAsciiSymbol("theSlot")->ToObjectChecked()); in TEST()
259 } while (HEAP->map_space()->MapPointersEncodable());
265 HEAP->CollectAllGarbage(Heap::kForceCompactionMask);
267 CHECK(HEAP->map_space()->MapPointersEncodable());
289 HEAP->SetGlobalGCPrologueCallback(&GCPrologueCallbackFunc); in TEST()
290 HEAP->SetGlobalGCEpilogueCallback(&GCEpilogueCallbackFunc); in TEST()
293 HEAP->PerformScavenge(); in TEST()
298 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
319 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()
321 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()
323 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()
335 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()
337 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()
339 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()
369 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
397 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
410 HEAP->CollectGarbage(OLD_POINTER_SPACE); in TEST()
446 global_handles->Create(HEAP->AllocateFixedArray(1)->ToObjectChecked()); in TEST()