Searched refs:MemoryPoolAccessor (Results 1 – 2 of 2) sorted by relevance
24 class MemoryPoolAccessor { class29 MemoryPoolAccessor() {} in MemoryPoolAccessor() function in __anon73b0d2440111::MemoryPoolAccessor30 ~MemoryPoolAccessor() {} in ~MemoryPoolAccessor()32 MemoryPoolAccessor() { gProcessorSpinlock.acquire(); }33 ~MemoryPoolAccessor() { gProcessorSpinlock.release(); }45 void* GrProcessor::operator new(size_t size) { return MemoryPoolAccessor().pool()->allocate(size); } in operator new()48 return MemoryPoolAccessor().pool()->release(target); in operator delete()
102 class MemoryPoolAccessor { class107 MemoryPoolAccessor() {} in MemoryPoolAccessor() function in __anon0233485b0111::MemoryPoolAccessor108 ~MemoryPoolAccessor() {} in ~MemoryPoolAccessor()110 MemoryPoolAccessor() { gProcessorSpinlock.acquire(); }111 ~MemoryPoolAccessor() { gProcessorSpinlock.release(); }123 void* GrProcessor::operator new(size_t size) { return MemoryPoolAccessor().pool()->allocate(size); } in operator new()126 return MemoryPoolAccessor().pool()->release(target); in operator delete()