Lines Matching refs:Array
20 #include "src/heap/array-buffer-tracker.h"
766 // If GC happens while adding a stack trace to the weak fixed array,
1097 void Heap::MoveElements(FixedArray* array, int dst_index, int src_index,
1101 DCHECK(array->map() != fixed_cow_array_map());
1102 Object** dst_objects = array->data_start() + dst_index;
1103 MemMove(dst_objects, array->data_start() + src_index, len * kPointerSize);
1104 if (!InNewSpace(array)) {
1108 RecordWrite(array->address(), array->OffsetOfElementAt(dst_index + i));
1112 incremental_marking()->RecordWrites(array);
2207 // Allocate the empty array.
2232 // Allocate the empty descriptor array.
2431 if (!AllocateEmptyFixedTypedArray(kExternal##Type##Array).To(&obj)) \
2547 TransitionArray* array = TransitionArray::cast(raw_array);
2548 array->set_length(capacity);
2549 MemsetPointer(array->data_start(), undefined_value(), capacity);
2550 return array;
2795 // Microtask queue uses the empty fixed array as a sentinel for "empty".
2969 case kExternal##Type##Array: \
3019 v8::internal::Heap::FatalProcessOutOfMemory("invalid array length", true);
3041 v8::internal::Heap::FatalProcessOutOfMemory("invalid array length", true);
3043 // Bytecode array is pretenured, so constant pool array should be to.
3143 // Calculate location of new array start.
3151 // Initialize header of the trimmed array. Since left trimming is only
3207 // header of the trimmed array.
3212 // Calculate location of new array end.
3225 // Initialize header of the trimmed array. We are storing the new length
3233 // Notify the heap profiler of change in object layout. The array may not be
3265 case kExternal##Type##Array: \
3462 // fixed array (e.g. Heap::empty_fixed_array()). Currently, the object
3481 // In case of Array subclassing the |map| could already be transitioned
3864 v8::internal::Heap::FatalProcessOutOfMemory("invalid array length", true);
3888 FixedArray* array = FixedArray::cast(result);
3889 array->set_length(length);
3890 MemsetPointer(array->data_start(), filler, length);
3891 return array;
3932 v8::internal::Heap::FatalProcessOutOfMemory("invalid array length",
5198 // Set up the special root array entries containing the stack limits.
5413 Handle<ArrayList> array(retained_maps(), isolate());
5414 if (array->IsFull()) {
5415 CompactRetainedMaps(*array);
5417 array = ArrayList::Add(
5418 array, cell, handle(Smi::FromInt(FLAG_retain_maps_for_n_gc), isolate()),
5420 if (*array != retained_maps()) {
5421 set_retained_maps(*array);
5431 // This loop compacts the array by removing cleared weak cells.