mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
remove unused fields from OS thread local data
This commit is contained in:
parent
ed785253bf
commit
737b05cc25
3 changed files with 5 additions and 9 deletions
|
@ -380,12 +380,8 @@ typedef struct mi_segments_tld_s {
|
|||
} mi_segments_tld_t;
|
||||
|
||||
// OS thread local data
|
||||
typedef struct mi_os_tld_s {
|
||||
uintptr_t mmap_next_probable; // probable next address start allocated by mmap (to guess which path to take on alignment)
|
||||
void* mmap_previous; // previous address returned by mmap
|
||||
uint8_t* pool; // pool of segments to reduce mmap calls on some platforms
|
||||
size_t pool_available; // bytes available in the pool
|
||||
mi_stats_t* stats; // points to tld stats
|
||||
typedef struct mi_os_tld_s {
|
||||
mi_stats_t* stats; // points to tld stats
|
||||
} mi_os_tld_t;
|
||||
|
||||
// Thread local data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue