5#ifndef V8_HEAP_MEMORY_CHUNK_LAYOUT_H_
6#define V8_HEAP_MEMORY_CHUNK_LAYOUT_H_
23 InstructionStream::kHeaderSize;
36 constexpr size_t kAllocatableMemoryInDataPage =
39 return kAllocatableMemoryInDataPage;
45 return ObjectStartOffsetInCodePage();
48 return ObjectStartOffsetInDataPage();
55 return AllocatableMemoryInCodePage();
58 return AllocatableMemoryInDataPage();
62 constexpr int kMaxRegularCodeObjectSize =
static_cast<int>(
65 return kMaxRegularCodeObjectSize;
constexpr int kRegularPageSize
static constexpr size_t AllocatableMemoryInMemoryChunk(AllocationSpace space)
static constexpr size_t AllocatableMemoryInCodePage()
static constexpr size_t AllocatableMemoryInDataPage()
static constexpr size_t ObjectStartOffsetInMemoryChunk(AllocationSpace space)
static constexpr int MaxRegularCodeObjectSize()
static constexpr intptr_t ObjectStartOffsetInCodePage()
static constexpr size_t ObjectStartOffsetInDataPage()
#define ALIGN_TO_ALLOCATION_ALIGNMENT(value)
constexpr int kTaggedSize
constexpr int kMaxRegularHeapObjectSize
constexpr intptr_t kCodeAlignment
constexpr bool IsAnyCodeSpace(AllocationSpace space)
constexpr int kDoubleSize
#define DCHECK_NE(v1, v2)
constexpr T RoundUp(T x, intptr_t m)
constexpr T RoundDown(T x, intptr_t m)
#define V8_EXPORT_PRIVATE