aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.c
diff options
context:
space:
mode:
authorNikolaos S. Papaspyrou <[email protected]>2012-06-09 01:12:50 +0300
committerBjörn-Egil Dahlberg <[email protected]>2015-11-17 14:45:44 +0100
commitf3ae60838a5e8c83cfdd3000e25562dfcbbd438d (patch)
tree9694785b1135194cb22de60e8ce64965fe5ded59 /erts/emulator/beam/erl_db.c
parentcfe998988c942bed0fbf026c00a2531fdf5aba7c (diff)
downloadotp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.tar.gz
otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.tar.bz2
otp-f3ae60838a5e8c83cfdd3000e25562dfcbbd438d.zip
Enable shcopy for sending messages
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r--erts/emulator/beam/erl_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c
index 9ec14ab5ae..6119a9225f 100644
--- a/erts/emulator/beam/erl_db.c
+++ b/erts/emulator/beam/erl_db.c
@@ -1832,7 +1832,7 @@ BIF_RETTYPE ets_give_away_3(BIF_ALIST_3)
tb->common.id,
from_pid,
BIF_ARG_3),
- 0);
+ ERTS_SND_FLG_SHCOPY_TMP_BUF);
erts_smp_proc_unlock(to_proc, to_locks);
UnUseTmpHeap(5,BIF_P);
BIF_RET(am_true);
@@ -3211,7 +3211,7 @@ retry:
tb->common.id,
p->common.id,
heir_data),
- 0);
+ ERTS_SND_FLG_SHCOPY_TMP_BUF);
erts_smp_proc_unlock(to_proc, to_locks);
return !0;
}