diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-02-07 18:54:00 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2013-02-11 14:25:21 +0100 |
commit | 5bce881fa8bb7c61f27697054e8e9408fa87ca2d (patch) | |
tree | ced05249f8143a3e5036b66a8756fa5d053b406f /erts/emulator/sys/common/erl_mseg.h | |
parent | dab61239864044bd942ea7f26f13144b1c1a5098 (diff) | |
download | otp-5bce881fa8bb7c61f27697054e8e9408fa87ca2d.tar.gz otp-5bce881fa8bb7c61f27697054e8e9408fa87ca2d.tar.bz2 otp-5bce881fa8bb7c61f27697054e8e9408fa87ca2d.zip |
erts: Evict old cached segments for newer ones
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.h')
-rw-r--r-- | erts/emulator/sys/common/erl_mseg.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.h b/erts/emulator/sys/common/erl_mseg.h index 3d0b0f0355..64b68fb2e6 100644 --- a/erts/emulator/sys/common/erl_mseg.h +++ b/erts/emulator/sys/common/erl_mseg.h @@ -93,11 +93,10 @@ extern const ErtsMsegOpt_t erts_mseg_default_opt; void *erts_mseg_alloc(ErtsAlcType_t, Uint *, Uint); void *erts_mseg_alloc_opt(ErtsAlcType_t, Uint *, Uint, const ErtsMsegOpt_t *); -void erts_mseg_dealloc(ErtsAlcType_t, void *, Uint); -void erts_mseg_dealloc_opt(ErtsAlcType_t, void *, Uint, const ErtsMsegOpt_t *); +void erts_mseg_dealloc(ErtsAlcType_t, void *, Uint, Uint); +void erts_mseg_dealloc_opt(ErtsAlcType_t, void *, Uint, Uint, const ErtsMsegOpt_t *); void *erts_mseg_realloc(ErtsAlcType_t, void *, Uint, Uint *, Uint); -void *erts_mseg_realloc_opt(ErtsAlcType_t, void *, Uint, Uint *, - Uint, const ErtsMsegOpt_t *); +void *erts_mseg_realloc_opt(ErtsAlcType_t, void *, Uint, Uint *, Uint, const ErtsMsegOpt_t *); void erts_mseg_clear_cache(void); void erts_mseg_cache_check(void); Uint erts_mseg_no( const ErtsMsegOpt_t *); |