Searched refs:SmallLine (Results 1 - 7 of 7) sorted by relevance

/macosx-10.10.1/bmalloc-7600.1.17/bmalloc/
H A DSmallLine.h34 typedef Line<SmallTraits> SmallLine; typedef in namespace:bmalloc
H A DSmallAllocator.h31 #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 DDeallocator.h32 #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 DHeap.h38 #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 DDeallocator.cpp86 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 DAllocator.h70 FixedVector<std::pair<SmallLine*, unsigned char>, smallAllocatorLogCapacity> m_smallAllocatorLog;
H A DHeap.cpp119 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