parent
9459d0c6ca
commit
83a317ef88
|
@ -519,7 +519,12 @@ void FastAllocator<Size>::getMagazine() {
|
|||
--g_allocation_tracing_disabled;
|
||||
}
|
||||
#endif
|
||||
block = (void**)::allocate(magazine_size * Size, /*allowLargePages*/ false, /*includeGuardPages*/ true);
|
||||
#ifdef VALGRIND
|
||||
const bool includeGuardPages = false;
|
||||
#else
|
||||
const bool includeGuardPages = true;
|
||||
#endif
|
||||
block = (void**)::allocate(magazine_size * Size, /*allowLargePages*/ false, includeGuardPages);
|
||||
#endif
|
||||
|
||||
// void** block = new void*[ magazine_size * PSize ];
|
||||
|
|
Loading…
Reference in New Issue