aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorhappi <[email protected]>2013-05-03 16:25:37 +0200
committerPatrik Nyblom <[email protected]>2013-06-04 17:59:48 +0200
commit6d366f0ae53669a17de96db0094ef62217b60f1b (patch)
treeed795e9521c0becd69714a2aab21968b9e8e4a59 /erts/emulator/beam/erl_process.c
parentf7f24a77e918eea712b435a5ae9b01de270d6d7d (diff)
downloadotp-6d366f0ae53669a17de96db0094ef62217b60f1b.tar.gz
otp-6d366f0ae53669a17de96db0094ef62217b60f1b.tar.bz2
otp-6d366f0ae53669a17de96db0094ef62217b60f1b.zip
Make term_to_binary yield (trap).
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 88eb224f84..7724033245 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -7513,6 +7513,10 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
p->heap_sz = sz;
p->catches = 0;
+ p->extra_root = NULL;
+ p->extra_root_sz = 0;
+ p->extra_root_allocator = 0;
+
p->bin_vheap_sz = p->min_vheap_size;
p->bin_old_vheap_sz = p->min_vheap_size;
p->bin_old_vheap = 0;