aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-11-24 15:57:55 +0100
committerRickard Green <[email protected]>2015-12-08 14:47:47 +0100
commit19c4689eea86f26c5af9b8f712c227ce4f62310b (patch)
tree347573288318147a6948ae57ecea5e716ce5206e /erts/emulator/beam/erl_process.c
parent1cd97bc82d042bc713473932af7d6061065f6527 (diff)
downloadotp-19c4689eea86f26c5af9b8f712c227ce4f62310b.tar.gz
otp-19c4689eea86f26c5af9b8f712c227ce4f62310b.tar.bz2
otp-19c4689eea86f26c5af9b8f712c227ce4f62310b.zip
Replace off_heap_message_queue option with message_queue_data option
The message_queue_data option can have the values - off_heap - on_heap - mixed
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index d17355207b..7a31aa3e33 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -10779,6 +10779,10 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
state |= ERTS_PSFLG_OFF_HEAP_MSGQ;
flags |= F_OFF_HEAP_MSGQ;
}
+ else if (so->flags & SPO_ON_HEAP_MSGQ) {
+ state |= ERTS_PSFLG_ON_HEAP_MSGQ;
+ flags |= F_ON_HEAP_MSGQ;
+ }
if (!rq)
rq = erts_get_runq_proc(parent);