27#ifndef JEMALLOC_WIN_INCLUDED
28#define JEMALLOC_WIN_INCLUDED
38const constexpr char *jemalloc_dll_name =
"jemalloc.dll";
39const constexpr char *jemalloc_malloc_function_name =
"je_malloc";
40const constexpr char *jemalloc_calloc_function_name =
"je_calloc";
41const constexpr char *jemalloc_realloc_function_name =
"je_realloc";
42const constexpr char *jemalloc_free_function_name =
"je_free";
45extern bool is_my_malloc_using_jemalloc();
46struct LogMessageInfo {
49 std::string m_message;
51extern std::vector<LogMessageInfo> fetch_jemalloc_initialization_messages();
53const int64_t MY_MALLOC_USING_JEMALLOC_ER = 0;
54const int64_t MY_MALLOC_USING_STD_MALLOC_ER = 1;
55const int64_t MY_MALLOC_LOADLIBRARY_FAILED_ER = 2;
56const int64_t MY_MALLOC_GETPROCADDRESS_FAILED_ER = 3;
59extern void *(*pfn_malloc)(
size_t size);
60extern void *(*pfn_calloc)(
size_t number,
size_t size);
61extern void *(*pfn_realloc)(
void *ptr,
size_t size);
62extern void (*pfn_free)(
void *ptr);
63extern std::once_flag init_malloc_pointers_flag;
64void init_malloc_pointers();
Definition of the global "loglevel" enumeration.
loglevel
Definition: my_loglevel.h:41
Definition: ut0tuple.h:57