Home
last modified time | relevance | path

Searched refs:LocalAllocationBuffer (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/cctest/heap/
Dtest-lab.cc42 static bool AllocateFromLab(Heap* heap, LocalAllocationBuffer* lab, in AllocateFromLab()
57 LocalAllocationBuffer lab = LocalAllocationBuffer::InvalidBuffer(); in TEST()
74 LocalAllocationBuffer lab = in TEST()
75 LocalAllocationBuffer::FromResult(heap, lab_backing_store, kLabSize); in TEST()
95 LocalAllocationBuffer lab = in TEST()
96 LocalAllocationBuffer::FromResult(heap, lab_backing_store, kLabSize); in TEST()
124 LocalAllocationBuffer lab = in TEST()
125 LocalAllocationBuffer::FromResult(heap, lab_backing_store, kLabSize); in TEST()
151 LocalAllocationBuffer lab = in TEST()
152 LocalAllocationBuffer::FromResult(heap, lab_backing_store, kLabSize); in TEST()
[all …]
/external/v8/src/heap/
Dspaces-inl.h324 AllocationResult LocalAllocationBuffer::AllocateRawAligned( in AllocateRawAligned()
523 LocalAllocationBuffer LocalAllocationBuffer::InvalidBuffer() { in InvalidBuffer()
524 return LocalAllocationBuffer(nullptr, AllocationInfo(nullptr, nullptr)); in InvalidBuffer()
528 LocalAllocationBuffer LocalAllocationBuffer::FromResult(Heap* heap, in FromResult()
537 return LocalAllocationBuffer(heap, AllocationInfo(top, top + size)); in FromResult()
541 bool LocalAllocationBuffer::TryMerge(LocalAllocationBuffer* other) { in TryMerge()
Dspaces.h1903 class LocalAllocationBuffer {
1908 static inline LocalAllocationBuffer InvalidBuffer();
1912 static inline LocalAllocationBuffer FromResult(Heap* heap,
1916 ~LocalAllocationBuffer() { Close(); } in ~LocalAllocationBuffer()
1919 LocalAllocationBuffer(const LocalAllocationBuffer& other);
1920 LocalAllocationBuffer& operator=(const LocalAllocationBuffer& other);
1929 inline bool TryMerge(LocalAllocationBuffer* other);
1932 LocalAllocationBuffer(Heap* heap, AllocationInfo allocation_info);
Dspaces.cc1481 void LocalAllocationBuffer::Close() { in AllocateChunk()
1490 LocalAllocationBuffer::LocalAllocationBuffer(Heap* heap, in AllocateChunk() function in v8::internal::LocalAllocationBuffer
1501 LocalAllocationBuffer::LocalAllocationBuffer( in AllocateChunk() function in v8::internal::LocalAllocationBuffer
1502 const LocalAllocationBuffer& other) { in AllocateChunk()
1507 LocalAllocationBuffer& LocalAllocationBuffer::operator=( in AllocateChunk()
1508 const LocalAllocationBuffer& other) { in AllocateChunk()
1516 const_cast<LocalAllocationBuffer&>(other) in AllocateChunk()
Dmark-compact.cc1587 buffer_(LocalAllocationBuffer::InvalidBuffer()), in EvacuateNewSpaceVisitor()
1653 LocalAllocationBuffer saved_old_buffer = buffer_; in NewLocalAllocationBuffer()
1654 buffer_ = LocalAllocationBuffer::FromResult(heap_, result, kLabSize); in NewLocalAllocationBuffer()
1717 LocalAllocationBuffer buffer_;