Home
last modified time | relevance | path

Searched refs:AllocationSpace (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/heap/
Dmark-compact.h436 void AddPage(AllocationSpace space, Page* page);
438 int ParallelSweepSpace(AllocationSpace identity, int required_freed_bytes,
440 int ParallelSweepPage(Page* page, AllocationSpace identity);
450 bool IsSweepingCompleted(AllocationSpace space);
464 callback(static_cast<AllocationSpace>(i)); in ForAllSweepingSpaces()
468 Page* GetSweepingPageSafe(AllocationSpace space);
469 void AddSweepingPageSafe(AllocationSpace space, Page* page);
471 void PrepareToBeSweptPage(AllocationSpace space, Page* page);
848 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space);
Dheap-inl.h30 AllocationSpace AllocationResult::RetrySpace() { in RetrySpace()
32 return static_cast<AllocationSpace>(Smi::cast(object_)->value()); in RetrySpace()
300 AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, in AllocateRaw()
418 AllocationSpace allocation_space = memory_chunk->owner()->identity(); in UpdateAllocationsHash()
531 bool Heap::AllowedToBeMigrated(HeapObject* obj, AllocationSpace dst) { in AllowedToBeMigrated()
547 AllocationSpace src = chunk->owner()->identity(); in AllowedToBeMigrated()
680 bool Heap::CollectGarbage(AllocationSpace space, in CollectGarbage()
Dheap.h447 static inline AllocationResult Retry(AllocationSpace space = NEW_SPACE) {
463 inline AllocationSpace RetrySpace();
473 explicit AllocationResult(AllocationSpace space) in AllocationResult()
677 static bool IsValidAllocationSpace(AllocationSpace space);
815 inline bool AllowedToBeMigrated(HeapObject* object, AllocationSpace dest);
1157 AllocationSpace space, GarbageCollectionReason gc_reason,
1295 bool InSpace(HeapObject* value, AllocationSpace space);
1300 bool InSpaceSlow(Address addr, AllocationSpace space);
1635 static AllocationSpace SelectSpace(PretenureFlag pretenure) { in SelectSpace()
1667 GarbageCollector SelectGarbageCollector(AllocationSpace space,
[all …]
Dmark-compact.cc406 AllocationSpace space_to_start) in SweeperTask()
424 sweeper_->ParallelSweepSpace(static_cast<AllocationSpace>(space_id), 0); in Run()
431 AllocationSpace space_to_start_;
438 ForAllSweepingSpaces([this](AllocationSpace space) { in StartSweeping()
446 ForAllSweepingSpaces([this](AllocationSpace space) { in StartSweeperTasks()
491 ForAllSweepingSpaces([this](AllocationSpace space) { in EnsureCompleted()
504 ForAllSweepingSpaces([this](AllocationSpace space) { in EnsureCompleted()
546 bool MarkCompactCollector::Sweeper::IsSweepingCompleted(AllocationSpace space) { in IsSweepingCompleted()
553 const char* AllocationSpaceName(AllocationSpace space) { in AllocationSpaceName()
1637 AllocationSpace dest) { in MigrateObject()
[all …]
Dspaces.h831 Space(Heap* heap, AllocationSpace id, Executability executable) in Space()
848 AllocationSpace identity() { return id_; } in identity()
922 AllocationSpace id_;
1223 static size_t PageAreaSize(AllocationSpace space) { in PageAreaSize()
1916 PagedSpace(Heap* heap, AllocationSpace id, Executability executable); in NON_EXPORTED_BASE()
2697 CompactionSpace(Heap* heap, AllocationSpace id, Executability executable) in CompactionSpace()
2718 CompactionSpace* Get(AllocationSpace space) { in Get()
2744 OldSpace(Heap* heap, AllocationSpace id, Executability executable) in OldSpace()
2763 MapSpace(Heap* heap, AllocationSpace id) in MapSpace()
2791 LargeObjectSpace(Heap* heap, AllocationSpace id);
Dheap.cc257 GarbageCollector Heap::SelectGarbageCollector(AllocationSpace space, in SelectGarbageCollector()
1194 static_cast<AllocationSpace>(space))); in ReserveSpace()
2163 AllocationSpace space) { in AllocateFillerObject()
2481 AllocationSpace space = SelectSpace(pretenure); in AllocateHeapNumber()
3040 AllocationSpace space = (pretenure == TENURED) ? OLD_SPACE : NEW_SPACE; in AllocateForeign()
3054 AllocationSpace space = SelectSpace(pretenure); in AllocateByteArray()
3317 AllocationSpace space = SelectSpace(pretenure); in AllocateFixedTypedArrayWithExternalPointer()
3361 AllocationSpace space = SelectSpace(pretenure); in AllocateFixedTypedArray()
3485 AllocationResult Heap::Allocate(Map* map, AllocationSpace space, in Allocate()
3563 AllocationSpace space = SelectSpace(pretenure); in AllocateJSObjectFromMap()
[all …]
Dspaces.cc1195 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::NEW_SPACE) == in AllocateChunk()
1197 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::OLD_SPACE) == in AllocateChunk()
1199 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::CODE_SPACE) == in AllocateChunk()
1201 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::MAP_SPACE) == in AllocateChunk()
1213 PagedSpace::PagedSpace(Heap* heap, AllocationSpace space, in AllocateChunk()
2948 LargeObjectSpace::LargeObjectSpace(Heap* heap, AllocationSpace id) in AllocateChunk()
/external/v8/src/snapshot/
Dserializer.cc29 MemoryAllocator::PageAreaSize(static_cast<AllocationSpace>(i))); in Serializer()
70 PrintF("%16s", AllocationSpaceName(static_cast<AllocationSpace>(space))); in OutputStatistics()
133 AllocationSpace space = reference.space(); in BackReferenceIsAlreadyAllocated()
194 AllocationSpace space = reference.space(); in SerializeBackReference()
287 SerializerReference Serializer::Allocate(AllocationSpace space, int size) { in Allocate()
337 void Serializer::ObjectSerializer::SerializePrologue(AllocationSpace space, in SerializePrologue()
413 AllocationSpace space = in SerializeExternalString()
512 AllocationSpace space = in Serialize()
Dserializer.h194 SerializerReference Allocate(AllocationSpace space, int size);
303 void SerializePrologue(AllocationSpace space, int size, Map* map);
/external/v8/src/
Daddress-map.h72 static SerializerReference BackReference(AllocationSpace space, in BackReference()
107 AllocationSpace space() const { in space()
109 return static_cast<AllocationSpace>(SpaceBits::decode(bitfield_)); in space()
Dfactory.h389 AllocationSpace space);
811 Handle<T> New(Handle<Map> map, AllocationSpace space);
815 AllocationSpace space,
Dfactory.cc63 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) { in New()
73 AllocationSpace space, in New()
84 AllocationSpace space) { in NewFillerObject()
1415 AllocationSpace space = pretenure == TENURED ? OLD_SPACE : NEW_SPACE; in DEFINE_ERROR()
Dglobals.h500 enum AllocationSpace { enum
Dcode-stub-assembler.cc701 AllocateTargetSpace::encode(AllocationSpace::LO_SPACE))); in AllocateRawUnaligned()
720 AllocateTargetSpace::encode(AllocationSpace::OLD_SPACE))); in AllocateRawUnaligned()
Dapi.cc8338 if (!i::Heap::IsValidAllocationSpace(static_cast<i::AllocationSpace>(index))) in GetHeapSpaceStatistics()
/external/v8/src/runtime/
Druntime-internal.cc307 AllocationSpace space = AllocateTargetSpace::decode(flags); in RUNTIME_FUNCTION()
Druntime.h841 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};