mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-24 11:52:14 +03:00
Do proper cleanup for tsd_state_reincarnated.
Also enable arena_bind under non-nominal state, as the cleanup will be handled correctly now.
This commit is contained in:
parent
51d3682950
commit
d3cda3423c
4 changed files with 50 additions and 18 deletions
|
|
@ -74,7 +74,8 @@ tsd_##n##_get(tsd_t *tsd) { \
|
|||
} \
|
||||
JEMALLOC_ALWAYS_INLINE void \
|
||||
tsd_##n##_set(tsd_t *tsd, t n) { \
|
||||
assert(tsd->state == tsd_state_nominal); \
|
||||
assert(tsd->state == tsd_state_nominal || \
|
||||
tsd->state == tsd_state_reincarnated); \
|
||||
tsd->n = n; \
|
||||
}
|
||||
#define MALLOC_TSD_getset_no(n, t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue