Lines Matching full:heap
37 int Heap::MaxObjectSizeInPagedSpace() {
42 Object* Heap::AllocateSymbol(Vector<const char> str,
51 Object* Heap::AllocateRaw(int size_in_bytes,
62 Heap::allocation_timeout_-- <= 0) {
97 Object* Heap::NumberFromInt32(int32_t value) {
104 Object* Heap::NumberFromUint32(uint32_t value) {
113 void Heap::FinalizeExternalString(String* string) {
126 Object* Heap::AllocateRawMap() {
143 Object* Heap::AllocateRawCell() {
154 bool Heap::InNewSpace(Object* object) {
163 bool Heap::InFromSpace(Object* object) {
168 bool Heap::InToSpace(Object* object) {
173 bool Heap::ShouldBePromoted(Address old_address, int object_size) {
182 void Heap::RecordWrite(Address address, int offset) {
190 OldSpace* Heap::TargetSpace(HeapObject* object) {
199 AllocationSpace Heap::TargetSpaceId(InstanceType type) {
200 // Heap numbers and sequential strings are promoted to old data space, all
203 // know that object has the heap object tag.
214 // non-map-word pointers to heap objects.
224 void Heap::CopyBlock(Object** dst, Object** src, int byte_size) {
243 void Heap::ScavengeObject(HeapObject** p, HeapObject* object) {
246 // We use the first word (where the map pointer usually is) of a heap
264 int Heap::AdjustAmountOfExternalAllocatedMemory(int change_in_bytes) {
289 void Heap::SetLastScriptId(Object* last_script_id) {
295 ASSERT(!FLAG_gc_greedy || v8::internal::Heap::GarbageCollectionGreedyCheck())
314 Heap::CollectGarbage(Failure::cast(__object__)->requested(), \
323 Heap::CollectAllGarbage(false); \
350 inline bool Heap::allow_allocation(bool new_state) {
361 if (Heap::InNewSpace(string)) {
386 ASSERT(Heap::InNewSpace(new_space_strings_[i]));
387 ASSERT(new_space_strings_[i] != Heap::raw_unchecked_null_value());
390 ASSERT(!Heap::InNewSpace(old_space_strings_[i]));
391 ASSERT(old_space_strings_[i] != Heap::raw_unchecked_null_value());
399 ASSERT(!Heap::InNewSpace(string));