Home
last modified time | relevance | path

Searched refs:AllocationResult (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/heap/
Dspaces-inl.h185 AllocationSpace AllocationResult::RetrySpace() { in RetrySpace()
324 AllocationResult LocalAllocationBuffer::AllocateRawAligned( in AllocateRawAligned()
330 if (new_top > allocation_info_.limit()) return AllocationResult::Retry(); in AllocateRawAligned()
338 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateRawAligned()
362 AllocationResult PagedSpace::AllocateRawUnaligned(int size_in_bytes) { in AllocateRawUnaligned()
380 return AllocationResult::Retry(identity()); in AllocateRawUnaligned()
384 AllocationResult PagedSpace::AllocateRawUnalignedSynchronized( in AllocateRawUnalignedSynchronized()
392 AllocationResult PagedSpace::AllocateRawAligned(int size_in_bytes, in AllocateRawAligned()
421 return AllocationResult::Retry(identity()); in AllocateRawAligned()
425 AllocationResult PagedSpace::AllocateRaw(int size_in_bytes, in AllocateRaw()
[all …]
Dheap.h1959 MUST_USE_RESULT AllocationResult CopyJSObject(JSObject* source,
1963 MUST_USE_RESULT AllocationResult
1971 MUST_USE_RESULT AllocationResult AllocateJSObject(
1978 MUST_USE_RESULT AllocationResult
1983 MUST_USE_RESULT AllocationResult
1989 AllocationResult Allocate##Type(lane_type lanes[lane_count], \
1995 MUST_USE_RESULT AllocationResult
1999 MUST_USE_RESULT AllocationResult
2005 MUST_USE_RESULT AllocationResult CopyCode(Code* code,
2008 MUST_USE_RESULT AllocationResult CopyCode(Code* code);
[all …]
Dheap.cc1156 AllocationResult allocation; in ReserveSpace()
2062 AllocationResult Heap::AllocatePartialMap(InstanceType instance_type, in AllocatePartialMap()
2065 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE); in AllocatePartialMap()
2095 AllocationResult Heap::AllocateMap(InstanceType instance_type, in AllocateMap()
2099 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE); in AllocateMap()
2136 AllocationResult Heap::AllocateFillerObject(int size, bool double_align, in AllocateFillerObject()
2141 AllocationResult allocation = AllocateRaw(size, space, align); in AllocateFillerObject()
2184 AllocationResult allocation = AllocatePartialMap(MAP_TYPE, Map::kSize); in CreateInitialMaps()
2209 AllocationResult allocation = AllocateEmptyFixedArray(); in CreateInitialMaps()
2215 AllocationResult allocation = Allocate(null_map(), OLD_SPACE); in CreateInitialMaps()
[all …]
Dheap-inl.h102 AllocationResult Heap::AllocateInternalizedStringFromUtf8( in AllocateInternalizedStringFromUtf8()
113 AllocationResult Heap::AllocateInternalizedStringImpl(T t, int chars, in AllocateInternalizedStringImpl()
122 AllocationResult Heap::AllocateOneByteInternalizedString( in AllocateOneByteInternalizedString()
132 AllocationResult allocation = AllocateRaw(size, OLD_SPACE); in AllocateOneByteInternalizedString()
153 AllocationResult Heap::AllocateTwoByteInternalizedString(Vector<const uc16> str, in AllocateTwoByteInternalizedString()
163 AllocationResult allocation = AllocateRaw(size, OLD_SPACE); in AllocateTwoByteInternalizedString()
182 AllocationResult Heap::CopyFixedArray(FixedArray* src) { in CopyFixedArray()
188 AllocationResult Heap::CopyFixedDoubleArray(FixedDoubleArray* src) { in CopyFixedDoubleArray()
194 AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, in AllocateRaw()
202 return AllocationResult::Retry(space); in AllocateRaw()
[all …]
Dspaces.h1844 class AllocationResult {
1847 AllocationResult(Object* object) // NOLINT in AllocationResult() function
1854 AllocationResult() : object_(Smi::FromInt(NEW_SPACE)) {} in AllocationResult() function
1856 static inline AllocationResult Retry(AllocationSpace space = NEW_SPACE) {
1857 return AllocationResult(space);
1877 explicit AllocationResult(AllocationSpace space) in AllocationResult() function
1884 STATIC_ASSERT(sizeof(AllocationResult) == kPointerSize);
1913 AllocationResult result,
1922 MUST_USE_RESULT inline AllocationResult AllocateRawAligned(
2038 MUST_USE_RESULT inline AllocationResult AllocateRawUnaligned(
[all …]
Dscavenger.cc150 AllocationResult allocation = in SemiSpaceCopyObject()
178 AllocationResult allocation = in PromoteObject()
Dmark-compact.cc1561 AllocationResult allocation = target_space->AllocateRaw(size, alignment); in TryEvacuateObject()
1632 AllocationResult allocation; in AllocateTargetObject()
1651 AllocationResult result = in NewLocalAllocationBuffer()
1662 inline AllocationResult AllocateInNewSpace(int size_in_bytes, in AllocateInNewSpace()
1665 AllocationResult allocation = in AllocateInNewSpace()
1681 inline AllocationResult AllocateInOldSpace(int size_in_bytes, in AllocateInOldSpace()
1683 AllocationResult allocation = in AllocateInOldSpace()
1692 inline AllocationResult AllocateInLab(int size_in_bytes, in AllocateInLab()
1694 AllocationResult allocation; in AllocateInLab()
1698 return AllocationResult::Retry(OLD_SPACE); in AllocateInLab()
[all …]
Dspaces.cc3098 AllocationResult LargeObjectSpace::AllocateRaw(int object_size, in AllocateChunk()
3103 return AllocationResult::Retry(identity()); in AllocateChunk()
3108 if (page == NULL) return AllocationResult::Retry(identity()); in AllocateChunk()
/external/v8/test/cctest/heap/
Dtest-lab.cc17 AllocationResult result = heap->old_space()->AllocateRaw( in AllocateLabBackingStore()
46 AllocationResult result = in AllocateFromLab()
73 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
94 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
123 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
150 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
191 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST()
204 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST()
233 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST()
238 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST()
[all …]
Dheap-tester.h57 static AllocationResult AllocateAfterFailures();
Dtest-spaces.cc702 { AllocationResult allocation = lo->AllocateRaw(lo_size, NOT_EXECUTABLE); in TEST()
775 v8::internal::AllocationResult allocation = in UNINITIALIZED_TEST()
792 AllocationResult allocation = space->AllocateRawUnaligned(size); in AllocateUnaligned()
Dtest-alloc.cc39 AllocationResult v8::internal::HeapTester::AllocateAfterFailures() { in AllocateAfterFailures()
Dtest-mark-compact.cc147 AllocationResult allocation; in HEAP_TEST()
Dtest-heap.cc2022 AllocationResult allocation = in NewSpaceAllocateAligned()
2125 AllocationResult allocation = in OldSpaceAllocateAligned()
4234 AllocationResult allocation = in TEST()
/external/v8/src/snapshot/
Dserialize.cc858 AllocationResult result = lo_space->AllocateRaw(size, exec); in Allocate()
/external/v8/src/
Dfactory.cc33 AllocationResult __allocation__ = FUNCTION_CALL; \