Home
last modified time | relevance | path

Searched refs:CODE_SPACE (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/snapshot/
Dbuiltin-deserializer-allocator.cc36 DCHECK_EQ(CODE_SPACE, space); in Allocate()
76 DCHECK_LE(builtin_size, MemoryAllocator::PageAreaSize(CODE_SPACE)); in CreateReservationsForEagerBuiltinsAndHandlers()
90 DCHECK_LE(builtin_size, MemoryAllocator::PageAreaSize(CODE_SPACE)); in CreateReservationsForEagerBuiltinsAndHandlers()
112 DCHECK_LE(handler_size, MemoryAllocator::PageAreaSize(CODE_SPACE)); in CreateReservationsForEagerBuiltinsAndHandlers()
220 DCHECK_LE(builtin_size, MemoryAllocator::PageAreaSize(CODE_SPACE)); in ReserveAndInitializeBuiltinsTableForBuiltin()
247 DCHECK_LE(handler_size, MemoryAllocator::PageAreaSize(CODE_SPACE)); in ReserveForHandler()
Dbuiltin-serializer-allocator.cc14 DCHECK_EQ(space, CODE_SPACE); in Allocate()
54 uint32_t space_size = (space == CODE_SPACE) ? allocated_bytes_ : 0; in OutputStatistics()
Ddefault-deserializer-allocator.cc56 if (space == CODE_SPACE) SkipList::Update(address, size); in AllocateRaw()
175 merged_reservations[CODE_SPACE].push_back(c); in ReserveSpace()
193 const auto& c = merged_reservations[CODE_SPACE].back(); in ReserveSpace()
198 merged_reservations[CODE_SPACE].pop_back(); in ReserveSpace()
Dserializer-common.h108 STATIC_ASSERT(MAP_SPACE == CODE_SPACE + 1);
113 static const int kNumberOfPreallocatedSpaces = CODE_SPACE + 1;
Ddeserializer.cc357 DCHECK(space_number == CODE_SPACE || space_number == LO_SPACE); in ReadObject()
359 DCHECK(space_number != CODE_SPACE); in ReadObject()
398 source_space != CODE_SPACE); in ReadData()
422 CASE_STATEMENT(where, how, within, CODE_SPACE) \ in ReadData()
Dbuiltin-deserializer.cc219 DCHECK_EQ(kNewObject | kPlain | kStartOfObject | CODE_SPACE, data); in ExtractCodeObjectSize()
/external/v8/src/heap/
Dlocal-allocator-inl.h24 case CODE_SPACE: in Allocate()
25 return compaction_spaces_.Get(CODE_SPACE) in Allocate()
Dsweeper.cc92 if (space_id == CODE_SPACE) continue; in RunInternal()
124 if (!sweeper_->SweepSpaceIncrementallyFromTask(CODE_SPACE)) { in RunInternal()
235 space->identity() == CODE_SPACE || space->identity() == MAP_SPACE); in RawSweep()
258 space->identity() == CODE_SPACE && p->skip_list() != nullptr; in RawSweep()
Dlocal-allocator.h33 compaction_spaces_.Get(CODE_SPACE)); in Finalize()
Dheap-inl.h163 } else if (CODE_SPACE == space) { in AllocateRaw()
187 if (space == CODE_SPACE) { in AllocateRaw()
648 DCHECK(chunk_->owner()->identity() == CODE_SPACE || in CodePageMemoryModificationScope()
Dsweeper.h134 callback(CODE_SPACE); in ForAllSweepingSpaces()
Dspaces.cc593 DCHECK(owner()->identity() == CODE_SPACE || owner()->identity() == LO_SPACE); in SetReadAndExecutable()
618 DCHECK(owner()->identity() == CODE_SPACE || owner()->identity() == LO_SPACE); in SetReadAndWritable()
1556 if (identity() != OLD_SPACE && identity() != CODE_SPACE && in AllocateChunk()
1865 if (identity() == CODE_SPACE) { in AllocateChunk()
1893 DCHECK(identity() == CODE_SPACE); in AllocateChunk()
1901 DCHECK(identity() == CODE_SPACE); in AllocateChunk()
1956 if (identity() == CODE_SPACE) { in AllocateChunk()
2892 if (chunk->owner()->identity() == CODE_SPACE) { in AllocateChunk()
Dspaces.h996 if (id_ == CODE_SPACE) { in RoundSizeDownToObjectAlignment()
1371 return (space == CODE_SPACE) ? CodePageAreaSize() in PageAreaSize()
2876 code_space_(heap, CODE_SPACE, Executability::EXECUTABLE) {} in CompactionSpaceCollection()
2882 case CODE_SPACE: in Get()
2912 explicit CodeSpace(Heap* heap) : PagedSpace(heap, CODE_SPACE, EXECUTABLE) {} in CodeSpace()
Dheap.cc693 case CODE_SPACE: in GetSpaceName()
3782 case CODE_SPACE: in InSpace()
3807 case CODE_SPACE: in InSpaceSlow()
3825 case CODE_SPACE: in IsValidAllocationSpace()
4732 space_[CODE_SPACE] = code_space_ = new CodeSpace(this); in SetUp()
5299 case CODE_SPACE: in next()
5687 case CODE_SPACE: in AllocationSpaceName()
5764 case CODE_SPACE: in AllowedToBeMigrated()
5765 return dst == CODE_SPACE && type == CODE_TYPE; in AllowedToBeMigrated()
Dspaces-inl.h324 if (update_skip_list == UPDATE_SKIP_LIST && identity() == CODE_SPACE) { in AllocateRawUnaligned()
Dfactory.cc2583 heap->AllocateRawWithLightRetry(object_size, CODE_SPACE); in TryNewCode()
2634 heap->AllocateRawWithRetryOrFail(object_size, CODE_SPACE); in NewCode()
2661 HeapObject* result = heap->AllocateRawWithRetryOrFail(size, CODE_SPACE); in NewCodeForDeserialization()
2710 HeapObject* result = heap->AllocateRawWithRetryOrFail(obj_size, CODE_SPACE); in CopyCode()
Dmark-compact.cc603 DCHECK(space->identity() == OLD_SPACE || space->identity() == CODE_SPACE); in CollectEvacuationCandidates()
1150 if (dest == CODE_SPACE || (dest == OLD_SPACE && dst->IsBytecodeArray())) { in Move()
1193 } else if (dest == CODE_SPACE) { in RawMigrateObject()
/external/v8/src/
Dglobals.h558 CODE_SPACE, // Old generation code object space, marked executable. enumerator
Dobjects-printer.cc2451 if (!isolate->heap()->InSpaceSlow(address, i::CODE_SPACE) && in _v8_internal_Print_Code()