Lines Matching refs:allocation
266 // Have allocation in OLD and LO failed?
492 // If the scratchpad overflowed, we have to iterate over the allocation
494 // TODO(hpayer): We iterate over the whole list of allocation sites when
496 // allocation sites. We could hold the maybe tenured allocation sites
549 PrintF("GC: (mode, #visited allocation sites, #active allocation sites, "
564 // TODO(hpayer): If iterating over the allocation sites list becomes a
566 // allocation sites scratchpad).
590 // Process pretenuring feedback and update allocation sites.
773 // There may be an allocation memento behind every object in new space.
795 // Reset the allocation timeout to the GC interval, but make sure to
797 // for this is that we have a lot of allocation sequences and we
799 // allocation attempts to go through.
942 AllocationResult allocation;
944 allocation = new_space()->AllocateRaw(sizes[space]);
946 allocation = paged_space(space)->AllocateRaw(sizes[space]);
949 if (!allocation.To(&node)) {
1367 // allocation routines.
1472 // allocation pointer.
1719 // allocation sites may be the cause for that. We have to deopt all
1720 // dependent code registered in the allocation sites to re-evaluate
1724 PrintF("Deopt all allocation sites dependent code due to low survival "
1999 AllocationResult allocation;
2003 allocation = heap->old_data_space()->AllocateRaw(allocation_size);
2006 allocation = heap->old_pointer_space()->AllocateRaw(allocation_size);
2010 if (allocation.To(&target)) {
2035 AllocationResult allocation =
2038 HeapObject* target = HeapObject::cast(allocation.ToObjectChecked());
2279 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE, MAP_SPACE);
2280 if (!allocation.To(&result)) return allocation;
2304 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE, MAP_SPACE);
2305 if (!allocation.To(&result)) return allocation;
2338 { AllocationResult allocation = AllocateRaw(size, space, space);
2339 if (!allocation.To(&obj)) return allocation;
2376 { AllocationResult allocation = AllocatePartialMap(MAP_TYPE, Map::kSize);
2377 if (!allocation.To(&obj)) return false;
2384 { // Partial map allocation
2401 { AllocationResult allocation = AllocateEmptyFixedArray();
2402 if (!allocation.To(&obj)) return false;
2406 { AllocationResult allocation = Allocate(null_map(), OLD_POINTER_SPACE);
2407 if (!allocation.To(&obj)) return false;
2412 { AllocationResult allocation = Allocate(undefined_map(), OLD_POINTER_SPACE);
2413 if (!allocation.To(&obj)) return false;
2423 { AllocationResult allocation = AllocateEmptyFixedArray();
2424 if (!allocation.To(&obj)) return false;
2429 { AllocationResult allocation = AllocateEmptyConstantPoolArray();
2430 if (!allocation.To(&obj)) return false;
2478 { // Map allocation
2506 { AllocationResult allocation = AllocateMap(entry.type, entry.size);
2507 if (!allocation.To(&obj)) return false;
2626 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
2627 if (!allocation.To(&result)) return allocation;
2641 { AllocationResult allocation = AllocateRaw(size, CELL_SPACE, CELL_SPACE);
2642 if (!allocation.To(&result)) return allocation;
2655 AllocationResult allocation =
2657 if (!allocation.To(&result)) return allocation;
3199 AllocationResult allocation = Allocate(foreign_map(), space);
3200 if (!allocation.To(&result)) return allocation;
3213 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
3214 if (!allocation.To(&result)) return allocation;
3278 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
3279 if (!allocation.To(&result)) return allocation;
3326 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
3327 if (!allocation.To(&object)) return allocation;
3344 AllocationResult allocation;
3350 allocation = lo_space_->AllocateRaw(object_size, EXECUTABLE);
3352 allocation = AllocateRaw(object_size, CODE_SPACE, CODE_SPACE);
3354 if (!allocation.To(&result)) return allocation;
3359 // Discard the first code allocation, which was on a page where it could be
3362 allocation = lo_space_->AllocateRaw(object_size, EXECUTABLE);
3363 if (!allocation.To(&result)) return allocation;
3378 AllocationResult allocation;
3384 allocation = CopyConstantPoolArray(code->constant_pool());
3385 if (!allocation.To(&new_constant_pool)) return allocation;
3393 allocation = lo_space_->AllocateRaw(obj_size, EXECUTABLE);
3395 allocation = AllocateRaw(obj_size, CODE_SPACE, CODE_SPACE);
3399 if (!allocation.To(&result)) return allocation;
3423 { AllocationResult allocation =
3425 if (!allocation.To(&reloc_info_array)) return allocation;
3432 AllocationResult allocation =
3434 if (!allocation.To(&new_constant_pool)) return allocation;
3448 AllocationResult allocation;
3450 allocation = lo_space_->AllocateRaw(new_obj_size, EXECUTABLE);
3452 allocation = AllocateRaw(new_obj_size, CODE_SPACE, CODE_SPACE);
3456 if (!allocation.To(&result)) return allocation;
3503 // If allocation failures are disallowed, we may allocate in a different
3512 AllocationResult allocation = AllocateRaw(size, space, retry_space);
3513 if (!allocation.To(&result)) return allocation;
3526 // To get fast allocation and map sharing for arguments objects we
3548 // Do the allocation.
3550 { AllocationResult allocation =
3552 if (!allocation.To(&result)) return allocation;
3628 { AllocationResult allocation
3629 if (!allocation.To(&properties)) return allocation;
3639 AllocationResult allocation = Allocate(map, space, allocation_site);
3640 if (!allocation.To(&js_obj)) return allocation;
3657 AllocationResult allocation = AllocateJSObjectFromMap(
3662 ASSERT(!allocation.To(&obj) || !obj->IsGlobalObject());
3664 return allocation;
3682 // If we're forced to always allocate, we use the general allocation
3685 { AllocationResult allocation =
3687 if (!allocation.To(&clone)) return allocation;
3703 AllocationResult allocation =
3705 if (!allocation.To(&clone)) return allocation;
3728 { AllocationResult allocation;
3730 allocation = FixedArray::cast(elements);
3732 allocation = CopyFixedDoubleArray(FixedDoubleArray::cast(elements));
3734 allocation = CopyFixedArray(FixedArray::cast(elements));
3736 if (!allocation.To(&elem)) return allocation;
3743 { AllocationResult allocation = CopyFixedArray(properties);
3744 if (!allocation.To(&prop)) return allocation;
3822 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
3823 if (!allocation.To(&result)) return allocation;
3864 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
3865 if (!allocation.To(&result)) return allocation;
3887 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
3888 if (!allocation.To(&result)) return allocation;
3903 { AllocationResult allocation =
3905 if (!allocation.To(&result)) return allocation;
3927 { AllocationResult allocation = AllocateRawFixedArray(len, TENURED);
3928 if (!allocation.To(&obj)) return allocation;
3956 { AllocationResult allocation = AllocateRawFixedArray(len, NOT_TENURED);
3957 if (!allocation.To(&obj)) return allocation;
3982 { AllocationResult allocation = AllocateRawFixedDoubleArray(len, NOT_TENURED);
3983 if (!allocation.To(&obj)) return allocation;
4002 AllocationResult allocation =
4004 if (!allocation.To(&obj)) return allocation;
4008 AllocationResult allocation = AllocateConstantPoolArray(small);
4009 if (!allocation.To(&obj)) return allocation;
4041 { AllocationResult allocation = AllocateRawFixedArray(length, pretenure);
4042 if (!allocation.To(&result)) return allocation;
4062 { AllocationResult allocation = AllocateRawFixedArray(length, NOT_TENURED);
4063 if (!allocation.To(&obj)) return allocation;
4078 AllocationResult allocation = AllocateRawFixedDoubleArray(length, pretenure);
4079 if (!allocation.To(&elements)) return allocation;
4099 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE);
4100 if (!allocation.To(&object)) return allocation;
4117 { AllocationResult allocation = AllocateRaw(size, space, OLD_POINTER_SPACE);
4118 if (!allocation.To(&object)) return allocation;
4142 { AllocationResult allocation = AllocateRaw(size, space, OLD_POINTER_SPACE);
4143 if (!allocation.To(&object)) return allocation;
4159 { AllocationResult allocation =
4161 if (!allocation.To(&result)) return allocation;
4174 AllocationResult allocation =
4176 if (!allocation.To(&result)) return allocation;
4213 { AllocationResult allocation = Allocate(map, space);
4214 if (!allocation.To(&result)) return allocation;
4655 // Skip the current linear allocation space between top and limit which is
5082 // Update inline allocation limit for new space.
5091 // Update inline allocation limit for new space.
5094 // Update inline allocation limit for old spaces.