666c5bf7a8
This will be used to implement the feature on mingw, which doesn't have madvise.
25 lines
819 B
C
25 lines
819 B
C
/******************************************************************************/
|
|
#ifdef JEMALLOC_H_TYPES
|
|
|
|
#endif /* JEMALLOC_H_TYPES */
|
|
/******************************************************************************/
|
|
#ifdef JEMALLOC_H_STRUCTS
|
|
|
|
#endif /* JEMALLOC_H_STRUCTS */
|
|
/******************************************************************************/
|
|
#ifdef JEMALLOC_H_EXTERNS
|
|
|
|
void pages_purge(void *addr, size_t length);
|
|
|
|
void *chunk_alloc_mmap(size_t size, size_t alignment);
|
|
bool chunk_dealloc_mmap(void *chunk, size_t size);
|
|
|
|
bool chunk_mmap_boot(void);
|
|
|
|
#endif /* JEMALLOC_H_EXTERNS */
|
|
/******************************************************************************/
|
|
#ifdef JEMALLOC_H_INLINES
|
|
|
|
#endif /* JEMALLOC_H_INLINES */
|
|
/******************************************************************************/
|