Home
last modified time | relevance | path

Searched refs:memory_chunk (Results 1 – 2 of 2) sorted by relevance

/external/v8/test/cctest/heap/
Dtest-spaces.cc168 MemoryChunk* memory_chunk = memory_allocator->AllocateChunk(reserve_area_size, in VerifyMemoryChunk() local
181 CHECK(memory_chunk->size() == reserved_size); in VerifyMemoryChunk()
182 CHECK(memory_chunk->area_start() < memory_chunk->address() + in VerifyMemoryChunk()
183 memory_chunk->size()); in VerifyMemoryChunk()
184 CHECK(memory_chunk->area_end() <= memory_chunk->address() + in VerifyMemoryChunk()
185 memory_chunk->size()); in VerifyMemoryChunk()
186 CHECK(static_cast<size_t>(memory_chunk->area_size()) == commit_area_size); in VerifyMemoryChunk()
188 Address area_start = memory_chunk->area_start(); in VerifyMemoryChunk()
190 memory_chunk->CommitArea(second_commit_area_size); in VerifyMemoryChunk()
191 CHECK(area_start == memory_chunk->area_start()); in VerifyMemoryChunk()
[all …]
/external/v8/src/heap/
Dheap-inl.h312 MemoryChunk* memory_chunk = MemoryChunk::FromAddress(object_address); in UpdateAllocationsHash() local
313 AllocationSpace allocation_space = memory_chunk->owner()->identity(); in UpdateAllocationsHash()
317 static_cast<uint32_t>(object_address - memory_chunk->address()) | in UpdateAllocationsHash()