Searched refs:SmallLine (Results 1 - 7 of 7) sorted by relevance
/macosx-10.10.1/bmalloc-7600.1.17/bmalloc/ |
H A D | SmallLine.h | 34 typedef Line<SmallTraits> SmallLine; typedef in namespace:bmalloc
|
H A D | SmallAllocator.h | 31 #include "SmallLine.h" 43 SmallLine* line(); 50 void refill(SmallLine*); 75 inline SmallLine* SmallAllocator::line() 77 return SmallLine::get(canAllocate() ? m_ptr : m_ptr - 1); 83 BASSERT(m_size >= SmallLine::minimumObjectSize); 99 return SmallLine::maxRefCount - objectCount(); 102 inline void SmallAllocator::refill(SmallLine* line) 105 line->concurrentRef(SmallLine::maxRefCount);
|
H A D | Deallocator.h | 32 #include "SmallLine.h" 47 void deallocateSmallLine(std::lock_guard<StaticMutex>&, SmallLine*); 48 SmallLine* allocateSmallLine(size_t smallSizeClass); 56 typedef FixedVector<SmallLine*, smallLineCacheCapacity> SmallLineCache;
|
H A D | Heap.h | 38 #include "SmallLine.h" 52 SmallLine* allocateSmallLine(std::lock_guard<StaticMutex>&, size_t smallSizeClass); 53 void deallocateSmallLine(std::lock_guard<StaticMutex>&, SmallLine*); 69 SmallLine* allocateSmallLineSlowCase(std::lock_guard<StaticMutex>&, size_t smallSizeClass); 85 std::array<Vector<SmallLine*>, smallMax / alignment> m_smallLines; 99 inline void Heap::deallocateSmallLine(std::lock_guard<StaticMutex>& lock, SmallLine* line) 111 inline SmallLine* Heap::allocateSmallLine(std::lock_guard<StaticMutex>& lock, size_t smallSizeClass) 113 Vector<SmallLine*>& smallLines = m_smallLines[smallSizeClass]; 115 SmallLine* line = smallLines.pop();
|
H A D | Deallocator.cpp | 86 SmallLine* line = SmallLine::get(object); 122 void Deallocator::deallocateSmallLine(std::lock_guard<StaticMutex>& lock, SmallLine* line) 131 SmallLine* Deallocator::allocateSmallLine(size_t smallSizeClass)
|
H A D | Allocator.h | 70 FixedVector<std::pair<SmallLine*, unsigned char>, smallAllocatorLogCapacity> m_smallAllocatorLog;
|
H A D | Heap.cpp | 119 SmallLine* Heap::allocateSmallLineSlowCase(std::lock_guard<StaticMutex>& lock, size_t smallSizeClass) 132 SmallLine* line = page->begin(); 133 Vector<SmallLine*>& smallLines = m_smallLines[smallSizeClass];
|
Completed in 190 milliseconds