Home
last modified time | relevance | path

Searched refs:AllocateFixedArray (Results 1 – 10 of 10) sorted by relevance

/external/v8/test/cctest/
Dtest-alloc.cc56 CHECK(!heap->AllocateFixedArray(100, NOT_TENURED)->IsFailure()); in AllocateAfterFailures()
60 CHECK(!heap->AllocateFixedArray(100)->IsFailure()); in AllocateAfterFailures()
81 CHECK(!heap->AllocateFixedArray(kOldPointerSpaceFillerLength, TENURED)-> in AllocateAfterFailures()
84 CHECK(!heap->AllocateFixedArray(kOldPointerSpaceFillerLength, TENURED)-> in AllocateAfterFailures()
93 CHECK(!heap->AllocateFixedArray(kLargeObjectSpaceFillerLength, TENURED)-> in AllocateAfterFailures()
96 CHECK(!heap->AllocateFixedArray(kLargeObjectSpaceFillerLength, TENURED)-> in AllocateAfterFailures()
110 CHECK(!heap->AllocateFixedArray(100, TENURED)->IsFailure()); in AllocateAfterFailures()
Dtest-mark-compact.cc99 Object* obj = HEAP->AllocateFixedArray(array_size)->ToObjectChecked(); in TEST()
131 Object* obj = i::Isolate::Current()->heap()->AllocateFixedArray(length)-> in TEST()
143 { MaybeObject* maybe_obj = HEAP->AllocateFixedArray(100, TENURED); in TEST()
168 maybe_array = HEAP->AllocateFixedArray(ARRAY_SIZE); in TEST()
172 array = HEAP->AllocateFixedArray(ARRAY_SIZE)->ToObjectChecked(); 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()
[all …]
Dtest-serialize.cc591 HEAP->AllocateFixedArray(kSmallFixedArrayLength)->ToObjectChecked(); in TEST()
603 Object* obj = HEAP->AllocateFixedArray(kSmallFixedArrayLength, in TEST()
663 Object* obj = HEAP->AllocateFixedArray(large_object_array_length, in TEST()
Dtest-heap.cc896 Object* array = HEAP->AllocateFixedArray(allocation_len)->ToObjectChecked(); in TEST()
907 Object* array = HEAP->AllocateFixedArray(fixed_array_len)->ToObjectChecked(); in TEST()
1208 HEAP->AllocateFixedArray(8192, TENURED)->ToObjectChecked(); in TEST()
/external/v8/src/
Dheap.cc2370 { MaybeObject* maybe_elements = AllocateFixedArray(2); in CreateApiObjects()
2581 AllocateFixedArray(String::kMaxAsciiCharCode + 1, TENURED); in CreateInitialObjects()
2588 AllocateFixedArray(StringSplitCache::kStringSplitCacheSize, TENURED); in CreateInitialObjects()
2594 { MaybeObject* maybe_obj = AllocateFixedArray(Natives::GetBuiltinsCount()); in CreateInitialObjects()
2689 AllocateFixedArray(kInitialNumberStringCacheSize * 2, TENURED); in AllocateInitialNumberStringCache()
2713 AllocateFixedArray(FullSizeNumberStringCacheLength(), TENURED); in AllocateFullSizeNumberStringCache()
3790 { MaybeObject* maybe_properties = AllocateFixedArray(prop_size, pretenure); in AllocateJSObjectFromMap()
4104 maybe = AllocateFixedArray(prop_size, TENURED); in ReinitializeJSReceiver()
4158 { MaybeObject* maybe_properties = AllocateFixedArray(prop_size, TENURED); in ReinitializeJSGlobalProxy()
4454 if (always_allocate()) return AllocateFixedArray(length, TENURED); in AllocateRawFixedArray()
[all …]
Delements.cc550 backing_store->GetHeap()->AllocateFixedArray(len0 + extra); in AddElementsToFixedArray()
1409 MaybeObject* maybe_obj = array->GetHeap()->AllocateFixedArray(1); in SetLengthImpl()
Dobjects.cc2270 MaybeObject* maybe_new_array = heap->AllocateFixedArray(2, TENURED); in AddElementsTransitionMapToDescriptor()
2293 heap->AllocateFixedArray(array->length() + 1, TENURED); in AddElementsTransitionMapToDescriptor()
5316 { MaybeObject* maybe_obj = code_->GetHeap()->AllocateFixedArray(2); in AsObject()
5591 { MaybeObject* maybe_obj = heap->AllocateFixedArray(new_length); in CopySize()
5638 heap->AllocateFixedArray(ToKeyIndex(number_of_descriptors)); in Allocate()
5646 heap->AllocateFixedArray(number_of_descriptors << 1); in Allocate()
5962 return HEAP->AllocateFixedArray(LengthFor(deopt_entry_count), in Allocate()
5970 return HEAP->AllocateFixedArray(LengthOfFixedArray(number_of_deopt_points), in Allocate()
8628 GetHeap()->AllocateFixedArray(transitions * 2 * step + header); in PutPrototypeTransition()
10566 { MaybeObject* maybe_obj = source_->GetHeap()->AllocateFixedArray(4); in AsObject()
[all …]
Dheap.h759 MUST_USE_RESULT MaybeObject* AllocateFixedArray(int length,
762 MUST_USE_RESULT MaybeObject* AllocateFixedArray(int length);
Dfactory.cc47 isolate()->heap()->AllocateFixedArray(size, pretenure), in NewFixedArray()
Druntime.cc177 heap->AllocateFixedArray(copy->NumberOfLocalProperties()); in DeepCopyBoilerplate()
12125 { MaybeObject* maybe_object = isolate->heap()->AllocateFixedArray(count); in RUNTIME_FUNCTION()
12205 { MaybeObject* maybe_object = isolate->heap()->AllocateFixedArray(count); in RUNTIME_FUNCTION()