Home
last modified time | relevance | path

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

/external/v8/src/heap/
Dheap.h445 class AllocationResult {
447 static inline AllocationResult Retry(AllocationSpace space = NEW_SPACE) {
448 return AllocationResult(space);
452 AllocationResult(Object* object) // NOLINT in AllocationResult() function
459 AllocationResult() : object_(Smi::FromInt(NEW_SPACE)) {} in AllocationResult() function
473 explicit AllocationResult(AllocationSpace space) in AllocationResult() function
479 STATIC_ASSERT(sizeof(AllocationResult) == kPointerSize);
1941 MUST_USE_RESULT AllocationResult CopyJSObject(JSObject* source,
1945 MUST_USE_RESULT AllocationResult
1953 MUST_USE_RESULT AllocationResult AllocateJSObject(
[all …]
Dspaces-inl.h387 AllocationResult LocalAllocationBuffer::AllocateRawAligned( in AllocateRawAligned()
393 if (new_top > allocation_info_.limit()) return AllocationResult::Retry(); in AllocateRawAligned()
401 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateRawAligned()
425 AllocationResult PagedSpace::AllocateRawUnaligned( in AllocateRawUnaligned()
449 return AllocationResult::Retry(identity()); in AllocateRawUnaligned()
453 AllocationResult PagedSpace::AllocateRawUnalignedSynchronized( in AllocateRawUnalignedSynchronized()
461 AllocationResult PagedSpace::AllocateRawAligned(int size_in_bytes, in AllocateRawAligned()
497 return AllocationResult::Retry(identity()); in AllocateRawAligned()
501 AllocationResult PagedSpace::AllocateRaw(int size_in_bytes, in AllocateRaw()
504 AllocationResult result = in AllocateRaw()
[all …]
Dheap.cc1169 AllocationResult allocation = map_space()->AllocateRawUnaligned( in ReserveSpace()
1190 AllocationResult allocation; in ReserveSpace()
2087 AllocationResult Heap::AllocatePartialMap(InstanceType instance_type, in AllocatePartialMap()
2090 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE); in AllocatePartialMap()
2120 AllocationResult Heap::AllocateMap(InstanceType instance_type, in AllocateMap()
2124 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE); in AllocateMap()
2162 AllocationResult Heap::AllocateFillerObject(int size, bool double_align, in AllocateFillerObject()
2167 AllocationResult allocation = AllocateRaw(size, space, align); in AllocateFillerObject()
2225 AllocationResult allocation = AllocatePartialMap(MAP_TYPE, Map::kSize); in CreateInitialMaps()
2252 AllocationResult allocation = AllocateEmptyFixedArray(); in CreateInitialMaps()
[all …]
Dheap-inl.h30 AllocationSpace AllocationResult::RetrySpace() { in RetrySpace()
35 HeapObject* AllocationResult::ToObjectChecked() { in ToObjectChecked()
205 AllocationResult Heap::AllocateInternalizedStringFromUtf8( in AllocateInternalizedStringFromUtf8()
216 AllocationResult Heap::AllocateInternalizedStringImpl(T t, int chars, in AllocateInternalizedStringImpl()
225 AllocationResult Heap::AllocateOneByteInternalizedString( in AllocateOneByteInternalizedString()
237 AllocationResult allocation = AllocateRaw(size, OLD_SPACE); in AllocateOneByteInternalizedString()
258 AllocationResult Heap::AllocateTwoByteInternalizedString(Vector<const uc16> str, in AllocateTwoByteInternalizedString()
269 AllocationResult allocation = AllocateRaw(size, OLD_SPACE); in AllocateTwoByteInternalizedString()
288 AllocationResult Heap::CopyFixedArray(FixedArray* src) { in CopyFixedArray()
294 AllocationResult Heap::CopyFixedDoubleArray(FixedDoubleArray* src) { in CopyFixedDoubleArray()
[all …]
Dspaces.h1882 AllocationResult result,
1891 MUST_USE_RESULT inline AllocationResult AllocateRawAligned(
1998 MUST_USE_RESULT inline AllocationResult AllocateRawUnaligned( in NON_EXPORTED_BASE()
2001 MUST_USE_RESULT inline AllocationResult AllocateRawUnalignedSynchronized( in NON_EXPORTED_BASE()
2006 MUST_USE_RESULT inline AllocationResult AllocateRawAligned( in NON_EXPORTED_BASE()
2011 MUST_USE_RESULT inline AllocationResult AllocateRaw( in NON_EXPORTED_BASE()
2541 MUST_USE_RESULT INLINE(AllocationResult AllocateRawAligned(
2545 AllocationResult AllocateRawUnaligned(int size_in_bytes));
2547 MUST_USE_RESULT INLINE(AllocationResult AllocateRaw(
2550 MUST_USE_RESULT inline AllocationResult AllocateRawSynchronized(
[all …]
Dscavenger.cc162 AllocationResult allocation = in SemiSpaceCopyObject()
190 AllocationResult allocation = in PromoteObject()
Dmark-compact.cc1628 AllocationResult allocation = target_space->AllocateRaw(size, alignment); in TryEvacuateObject()
1755 AllocationResult allocation; in AllocateTargetObject()
1776 AllocationResult result = in NewLocalAllocationBuffer()
1787 inline AllocationResult AllocateInNewSpace(int size_in_bytes, in AllocateInNewSpace()
1790 AllocationResult allocation = in AllocateInNewSpace()
1806 inline AllocationResult AllocateInOldSpace(int size_in_bytes, in AllocateInOldSpace()
1808 AllocationResult allocation = in AllocateInOldSpace()
1818 inline AllocationResult AllocateInLab(int size_in_bytes, in AllocateInLab()
1820 AllocationResult allocation; in AllocateInLab()
1824 return AllocationResult::Retry(OLD_SPACE); in AllocateInLab()
[all …]
Dspaces.cc2980 AllocationResult LargeObjectSpace::AllocateRaw(int object_size, in AllocateChunk()
2986 return AllocationResult::Retry(identity()); in AllocateChunk()
2991 if (page == NULL) return AllocationResult::Retry(identity()); in AllocateChunk()
/external/v8/src/snapshot/
Ddeserializer.cc452 AllocationResult result = lo_space->AllocateRaw(size, exec); in Allocate()
/external/v8/src/
Dfactory.cc38 AllocationResult __allocation__ = FUNCTION_CALL; \
157 AllocationResult allocation = in TryNewFixedArray()