proxygen
JemallocHugePageAllocator.cpp File Reference
#include <folly/experimental/JemallocHugePageAllocator.h>
#include <folly/portability/String.h>
#include <glog/logging.h>
#include <sstream>

Go to the source code of this file.

Classes

struct  extent_hooks_s
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Macros

#define MALLOCX_ARENA(x)   0
 
#define MALLOCX_TCACHE_NONE   0
 
#define MADV_HUGEPAGE   0
 

Typedefs

typedef struct extent_hooks_s extent_hooks_t
 
typedef void *( extent_alloc_t) (extent_hooks_t *, void *, size_t, size_t, bool *, bool *, unsigned)
 

Macro Definition Documentation

#define MADV_HUGEPAGE   0

Definition at line 41 of file JemallocHugePageAllocator.cpp.

#define MALLOCX_ARENA (   x)    0
#define MALLOCX_TCACHE_NONE   0

Typedef Documentation

typedef void*( extent_alloc_t) (extent_hooks_t *, void *, size_t, size_t, bool *, bool *, unsigned)

Definition at line 43 of file JemallocHugePageAllocator.cpp.

Definition at line 42 of file JemallocHugePageAllocator.cpp.

Variable Documentation

extent_hooks_t extentHooks_
private

Definition at line 94 of file JemallocHugePageAllocator.cpp.

uintptr_t freePtr_ {0}
private

Definition at line 92 of file JemallocHugePageAllocator.cpp.

extent_alloc_t* originalAlloc_ {nullptr}
private

Definition at line 93 of file JemallocHugePageAllocator.cpp.