mirror of
https://github.com/paboyle/Grid.git
synced 2025-07-04 23:47:06 +01:00
Remove commAllocator; make more simple; option to switch off the pointer caceh
This commit is contained in:
@ -6,6 +6,7 @@ NAMESPACE_BEGIN(Grid);
|
||||
MemoryStats *MemoryProfiler::stats = nullptr;
|
||||
bool MemoryProfiler::debug = false;
|
||||
|
||||
#ifdef POINTER_CACHE
|
||||
int PointerCache::victim;
|
||||
|
||||
PointerCache::PointerCacheEntry PointerCache::Entries[PointerCache::Ncache];
|
||||
@ -63,7 +64,7 @@ void *PointerCache::Lookup(size_t bytes) {
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void check_huge_pages(void *Buf,uint64_t BYTES)
|
||||
{
|
||||
|
Reference in New Issue
Block a user