Allocates storage for n objects from the huge page arena.

Synopsis

Declared in <folly/memory/JemallocHugePageAllocator.h>

T*
allocate(std::size_t n);

Return Value

A pointer to the allocated storage.

Parameters

Name

Description

n

The number of objects to allocate.

Created with MrDocs