mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-07 06:17:18 +03:00
Fix huge_ralloc to maintain chunk statistics.
Fix huge_ralloc() to properly maintain chunk statistics when using mremap(2).
This commit is contained in:
parent
03bf7a7a26
commit
115704dcdb
4 changed files with 17 additions and 14 deletions
|
|
@ -50,7 +50,7 @@ extern size_t map_bias; /* Number of arena chunk header pages. */
|
|||
extern size_t arena_maxclass; /* Max size class for arenas. */
|
||||
|
||||
void *chunk_alloc(size_t size, bool base, bool *zero);
|
||||
void chunk_dealloc(void *chunk, size_t size);
|
||||
void chunk_dealloc(void *chunk, size_t size, bool unmap);
|
||||
bool chunk_boot(void);
|
||||
|
||||
#endif /* JEMALLOC_H_EXTERNS */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue