Lines Matching full:heap
27 CHECK(HEAP->Contains(map));
29 CHECK_EQ(HEAP->meta_map(), map->map());
37 CheckMap(HEAP->meta_map(), MAP_TYPE, Map::kSize);
38 CheckMap(HEAP->heap_number_map(), HEAP_NUMBER_TYPE, HeapNumber::kSize);
39 CheckMap(HEAP->fixed_array_map(), FIXED_ARRAY_TYPE, kVariableSizeSentinel);
40 CheckMap(HEAP->string_map(), STRING_TYPE, kVariableSizeSentinel);
61 Object* obj = HEAP->NumberFromDouble(value)->ToObjectChecked();
79 Object* code = HEAP->CreateCode(
82 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked();
89 Object* found = HEAP->FindCodeObject(obj_addr + i);
93 Object* copy = HEAP->CreateCode(
96 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked();
99 Object* not_right = HEAP->FindCodeObject(obj_copy->address() +
109 Object* value = HEAP->NumberFromDouble(1.000123)->ToObjectChecked();
114 value = HEAP->NumberFromDouble(1.0)->ToObjectChecked();
119 value = HEAP->NumberFromInt32(1024)->ToObjectChecked();
124 value = HEAP->NumberFromInt32(Smi::kMinValue)->ToObjectChecked();
129 value = HEAP->NumberFromInt32(Smi::kMaxValue)->ToObjectChecked();
136 value = HEAP->NumberFromInt32(Smi::kMinValue - 1)->ToObjectChecked();
143 HEAP->NumberFromUint32(static_cast<uint32_t>(Smi::kMaxValue) + 1);
151 CHECK(HEAP->nan_value()->IsNumber());
152 CHECK(isnan(HEAP->nan_value()->Number()));
158 String* object_symbol = String::cast(HEAP->Object_symbol());
163 CheckOddball(HEAP->true_value(), "true");
164 CheckOddball(HEAP->false_value(), "false");
165 CheckOddball(HEAP->null_value(), "null");
166 CheckOddball(HEAP->undefined_value(), "undefined");
201 HEAP->CollectGarbage(NEW_SPACE);
229 HEAP->CollectGarbage(NEW_SPACE);
250 HEAP->CollectGarbage(NEW_SPACE);
315 HEAP->CollectGarbage(NEW_SPACE);
365 HEAP->PerformScavenge();
398 HEAP->CollectGarbage(OLD_POINTER_SPACE);
399 HEAP->CollectGarbage(NEW_SPACE);
408 HEAP->CollectGarbage(OLD_POINTER_SPACE);
438 HEAP->PerformScavenge();
443 HEAP->CollectGarbage(OLD_POINTER_SPACE);
515 MaybeObject* maybe_a = HEAP->LookupAsciiSymbol(string);
520 MaybeObject* maybe_b = HEAP->LookupAsciiSymbol(string);
563 String* object_symbol = String::cast(HEAP->Object_symbol());
669 // We just initialized the VM, no heap allocation failure yet.
706 String* object_symbol = String::cast(HEAP->Object_symbol());
789 // Count the number of objects found in the heap.
823 int large_size = HEAP->MaxObjectSizeInPagedSpace() + 1;
842 HEAP->CollectGarbage(NEW_SPACE);
844 Address current_top = HEAP->new_space()->top();
867 HEAP->AllocateFixedArray(n_elements)->ToObjectChecked());
877 CHECK(HEAP->new_space()->Contains(addr));
878 CHECK(!HEAP->lo_space()->Contains(addr));
909 HEAP->CollectAllGarbage(force_compaction);
933 HEAP->MaxObjectSizeInNewSpace());
935 NewSpace* new_space = HEAP->new_space();
939 CHECK(!HEAP->always_allocate());
940 Object* array = HEAP->AllocateFixedArray(allocation_len)->ToObjectChecked();
950 CHECK(!HEAP->always_allocate());
951 Object* array = HEAP->AllocateFixedArray(fixed_array_len)->ToObjectChecked();
955 Object* object = HEAP->AllocateJSObjectFromMap(*my_map)->ToObjectChecked();
967 Address old_pointer_space_top = HEAP->old_pointer_space()->top();
969 Object* clone_obj = HEAP->CopyJSObject(jsobject)->ToObjectChecked();
975 CHECK(HEAP->old_pointer_space()->Contains(clone->address()));
1011 HEAP->CollectAllGarbage(true);
1012 HEAP->CollectAllGarbage(true);
1016 HEAP->CollectAllGarbage(true);
1017 HEAP->CollectAllGarbage(true);
1018 HEAP->CollectAllGarbage(true);
1019 HEAP->CollectAllGarbage(true);
1020 HEAP->CollectAllGarbage(true);
1021 HEAP->CollectAllGarbage(true);
1036 Object* object = HEAP->global_contexts_list();
1105 HEAP->PerformScavenge();
1110 HEAP->CollectAllGarbage(true);
1116 HEAP->PerformScavenge();
1119 HEAP->CollectAllGarbage(true);
1123 HEAP->PerformScavenge();
1126 HEAP->CollectAllGarbage(true);
1133 HEAP->CollectAllGarbage(true);
1142 HEAP->PerformScavenge();
1147 HEAP->CollectAllGarbage(true);
1159 Handle<Object> object(HEAP->global_contexts_list());
1162 if (count == n) HEAP->CollectAllGarbage(true);
1181 if (count == n) HEAP->CollectAllGarbage(true);
1241 intptr_t size_of_objects_1 = HEAP->SizeOfObjects();
1252 PrintF("Heap::SizeOfObjects: %" V8_PTR_PREFIX "d, "
1259 PrintF("Heap::SizeOfObjects: %" V8_PTR_PREFIX "d, "
1313 // Verify that "a" object still resides in the heap...