Home
last modified time | relevance | path

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

/external/v8/src/heap/
Dmark-compact.h434 void AddPage(AllocationSpace space, Page* page);
435 void AddLatePage(AllocationSpace space, Page* page);
437 int ParallelSweepSpace(AllocationSpace identity, int required_freed_bytes,
439 int ParallelSweepPage(Page* page, AllocationSpace identity);
442 void StartSweepingHelper(AllocationSpace space_to_start);
457 callback(static_cast<AllocationSpace>(i)); in ForAllSweepingSpaces()
461 Page* GetSweepingPageSafe(AllocationSpace space);
462 void AddSweepingPageSafe(AllocationSpace space, Page* page);
464 void PrepareToBeSweptPage(AllocationSpace space, Page* page);
897 const char* AllocationSpaceName(AllocationSpace space);
Dheap-inl.h198 AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, in AllocateRaw()
323 AllocationSpace allocation_space = memory_chunk->owner()->identity(); in UpdateAllocationsHash()
441 bool Heap::AllowedToBeMigrated(HeapObject* obj, AllocationSpace dst) { in AllowedToBeMigrated()
457 AllocationSpace src = chunk->owner()->identity(); in AllowedToBeMigrated()
596 bool Heap::CollectGarbage(AllocationSpace space, const char* gc_reason, in CollectGarbage()
Dspaces.h1024 Space(Heap* heap, AllocationSpace id, Executability executable) in Space()
1041 AllocationSpace identity() { return id_; } in identity()
1114 AllocationSpace id_;
1499 static int PageAreaSize(AllocationSpace space) { in PageAreaSize()
2026 static inline AllocationResult Retry(AllocationSpace space = NEW_SPACE) {
2044 inline AllocationSpace RetrySpace();
2047 explicit AllocationResult(AllocationSpace space) in AllocationResult()
2128 PagedSpace(Heap* heap, AllocationSpace id, Executability executable);
2951 CompactionSpace(Heap* heap, AllocationSpace id, Executability executable) in CompactionSpace()
2972 CompactionSpace* Get(AllocationSpace space) { in Get()
[all …]
Dmark-compact.cc447 AllocationSpace space_to_start) in SweeperTask()
465 sweeper_->ParallelSweepSpace(static_cast<AllocationSpace>(space_id), 0); in Run()
472 AllocationSpace space_to_start_;
479 ForAllSweepingSpaces([this](AllocationSpace space) { in StartSweeping()
484 ForAllSweepingSpaces([this](AllocationSpace space) { in StartSweeping()
492 AllocationSpace space_to_start) { in StartSweepingHelper()
535 [this](AllocationSpace space) { ParallelSweepSpace(space, 0); }); in EnsureCompleted()
545 ForAllSweepingSpaces([this](AllocationSpace space) { in EnsureCompleted()
626 const char* AllocationSpaceName(AllocationSpace space) { in AllocationSpaceName()
1666 AllocationSpace dest) { in MigrateObject()
[all …]
Dheap.h600 static bool IsValidAllocationSpace(AllocationSpace space);
739 inline bool AllowedToBeMigrated(HeapObject* object, AllocationSpace dest);
1074 AllocationSpace space, const char* gc_reason = NULL,
1183 bool InSpace(HeapObject* value, AllocationSpace space);
1188 bool InSpaceSlow(Address addr, AllocationSpace space);
1540 static AllocationSpace SelectSpace(PretenureFlag pretenure) { in SelectSpace()
1572 GarbageCollector SelectGarbageCollector(AllocationSpace space,
1870 int size_in_bytes, AllocationSpace space,
1875 Allocate(Map* map, AllocationSpace space,
1885 AllocateFillerObject(int size, bool double_align, AllocationSpace space);
Dremembered-set.cc38 AllocationSpace owner = chunk->owner()->identity(); in VerifyValidSlots()
Dheap.cc262 GarbageCollector Heap::SelectGarbageCollector(AllocationSpace space, in SelectGarbageCollector()
1149 static_cast<AllocationSpace>(space))); in ReserveSpace()
2143 AllocationSpace space) { in AllocateFillerObject()
2451 AllocationSpace space = SelectSpace(pretenure); in AllocateHeapNumber()
2471 AllocationSpace space = SelectSpace(pretenure); \
3030 AllocationSpace space = (pretenure == TENURED) ? OLD_SPACE : NEW_SPACE; in AllocateForeign()
3044 AllocationSpace space = SelectSpace(pretenure); in AllocateByteArray()
3280 AllocationSpace space = SelectSpace(pretenure); in AllocateFixedTypedArrayWithExternalPointer()
3324 AllocationSpace space = SelectSpace(pretenure); in AllocateFixedTypedArray()
3438 AllocationResult Heap::Allocate(Map* map, AllocationSpace space, in Allocate()
[all …]
Dspaces-inl.h187 AllocationSpace AllocationResult::RetrySpace() { in RetrySpace()
189 return static_cast<AllocationSpace>(Smi::cast(object_)->value()); in RetrySpace()
Dspaces.cc1061 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::NEW_SPACE) == in AllocateChunk()
1063 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::OLD_SPACE) == in AllocateChunk()
1065 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::CODE_SPACE) == in AllocateChunk()
1067 STATIC_ASSERT(static_cast<ObjectSpace>(1 << AllocationSpace::MAP_SPACE) == in AllocateChunk()
1079 PagedSpace::PagedSpace(Heap* heap, AllocationSpace space, in AllocateChunk()
2953 LargeObjectSpace::LargeObjectSpace(Heap* heap, AllocationSpace id) in AllocateChunk()
/external/v8/src/
Daddress-map.h70 static SerializerReference BackReference(AllocationSpace space, in BackReference()
100 AllocationSpace space() const { in space()
102 return static_cast<AllocationSpace>(SpaceBits::decode(bitfield_)); in space()
Dfactory.h328 AllocationSpace space);
696 Handle<T> New(Handle<Map> map, AllocationSpace space);
700 AllocationSpace space,
Dfactory.cc57 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) { in New()
67 AllocationSpace space, in New()
78 AllocationSpace space) { in NewFillerObject()
1225 AllocationSpace space = pretenure == TENURED ? OLD_SPACE : NEW_SPACE; in DEFINE_ERROR()
Dglobals.h452 enum AllocationSpace { enum
Dcode-stub-assembler.cc366 AllocateTargetSpace::encode(AllocationSpace::OLD_SPACE))); in AllocateRawUnaligned()
Dapi.cc7483 if (!i::Heap::IsValidAllocationSpace(static_cast<i::AllocationSpace>(index))) in GetHeapSpaceStatistics()
/external/v8/src/snapshot/
Dserializer.cc26 MemoryAllocator::PageAreaSize(static_cast<AllocationSpace>(i))); in Serializer()
67 PrintF("%16s", AllocationSpaceName(static_cast<AllocationSpace>(space))); in OutputStatistics()
129 AllocationSpace space = reference.space(); in BackReferenceIsAlreadyAllocated()
187 AllocationSpace space = reference.space(); in SerializeBackReference()
269 SerializerReference Serializer::Allocate(AllocationSpace space, int size) { in Allocate()
319 void Serializer::ObjectSerializer::SerializePrologue(AllocationSpace space, in SerializePrologue()
389 AllocationSpace space = (allocation_size > Page::kMaxRegularHeapObjectSize) in SerializeExternalString()
489 AllocationSpace space = in Serialize()
Dsnapshot.h68 static uint32_t SizeOfFirstPage(Isolate* isolate, AllocationSpace space);
Dserializer.h193 SerializerReference Allocate(AllocationSpace space, int size);
300 void SerializePrologue(AllocationSpace space, int size, Map* map);
Dsnapshot-common.cc33 uint32_t Snapshot::SizeOfFirstPage(Isolate* isolate, AllocationSpace space) { in SizeOfFirstPage()
150 MemoryAllocator::PageAreaSize(static_cast<AllocationSpace>(space)); in CalculateFirstPageSizes()
/external/v8/test/cctest/heap/
Dheap-utils.h45 void GcAndSweep(Heap* heap, AllocationSpace space);
Dheap-utils.cc149 void GcAndSweep(Heap* heap, AllocationSpace space) { in GcAndSweep()
Dtest-heap.cc6028 void AllocateInSpace(Isolate* isolate, size_t bytes, AllocationSpace space) { in AllocateInSpace()
/external/v8/src/runtime/
Druntime-internal.cc325 AllocationSpace space = AllocateTargetSpace::decode(flags); in RUNTIME_FUNCTION()
Druntime.h1142 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/
Dperf_report_output.txt419 …] v8::internal::Heap::AllocateRaw(int, v8::internal::AllocationSpace, v8::internal::AllocationSpac…
421 …- v8::internal::Heap::AllocateRaw(int, v8::internal::AllocationSpace, v8::internal::AllocationSpac…
867 …CompactCollector::MigrateObject(unsigned char*, unsigned char*, int, v8::internal::AllocationSpace)
869 …CompactCollector::MigrateObject(unsigned char*, unsigned char*, int, v8::internal::AllocationSpace)