aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-04-18 07:30:40 +0200
committerJohn Högberg <[email protected]>2018-04-18 07:30:40 +0200
commit26d72d02167aed57e43f1ad669039b96aa154fb8 (patch)
treeb5626c5b92758d58f7e4519d95a38ade07ccca5a /erts/emulator
parentd969e5dce796a7d73975785dc1a1c421e09c2583 (diff)
downloadotp-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/emulator')
-rw-r--r--erts/emulator/beam/erl_alloc_util.c2
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;