diff options
author | John Högberg <[email protected]> | 2018-04-18 07:30:40 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-04-18 07:30:40 +0200 |
commit | 26d72d02167aed57e43f1ad669039b96aa154fb8 (patch) | |
tree | b5626c5b92758d58f7e4519d95a38ade07ccca5a /erts | |
parent | d969e5dce796a7d73975785dc1a1c421e09c2583 (diff) | |
download | otp-26d72d02167aed57e43f1ad669039b96aa154fb8.tar.gz otp-26d72d02167aed57e43f1ad669039b96aa154fb8.tar.bz2 otp-26d72d02167aed57e43f1ad669039b96aa154fb8.zip |
erts: Fix rare deadlock in realloc when +ramv is enabled
OTP-15024
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c index e148be7af6..fed51eb200 100644 --- a/erts/emulator/beam/erl_alloc_util.c +++ b/erts/emulator/beam/erl_alloc_util.c @@ -5805,7 +5805,7 @@ erts_alcu_realloc_mv_ts(ErtsAlcType_t type, void *extra, void *p, Uint size) erts_mtx_lock(&allctr->mutex); res = do_erts_alcu_alloc(type, extra, size); if (!res) - res = erts_alcu_realloc_ts(type, extra, p, size); + res = do_erts_alcu_realloc(type, extra, p, size, 0, NULL); else { Block_t *blk; size_t cpy_size; |