diff options
author | Sverker Eriksson <[email protected]> | 2014-01-10 15:47:16 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-01-10 15:47:16 +0100 |
commit | f7f08e93cc1e976cb2b37d450996cde32be8aae2 (patch) | |
tree | e0dca370b4af2c3b9d61cb8876e444ff34c82350 /erts/emulator/beam/erl_process.c | |
parent | b49efb826e191a0ef18da7ebdb3dd9e56fe654da (diff) | |
download | otp-f7f08e93cc1e976cb2b37d450996cde32be8aae2.tar.gz otp-f7f08e93cc1e976cb2b37d450996cde32be8aae2.tar.bz2 otp-f7f08e93cc1e976cb2b37d450996cde32be8aae2.zip |
erts: Remove the extra_root feature from the process structure
as we don't use it and instead have the feature to disable GC
during trapping BIFs.
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 21fd8dd50a..9983a26688 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 1996-2013. All Rights Reserved. + * Copyright Ericsson AB 1996-2014. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -8755,7 +8755,6 @@ erl_create_process(Process* parent, /* Parent of process (default group leader). p->htop = p->heap; p->heap_sz = sz; p->catches = 0; - p->extra_root = NULL; p->bin_vheap_sz = p->min_vheap_size; p->bin_old_vheap_sz = p->min_vheap_size; @@ -10219,12 +10218,6 @@ erts_continue_exit_process(Process *p) if (pbt) erts_free(ERTS_ALC_T_BPD, (void *) pbt); - if (p->extra_root != NULL) { - (p->extra_root->cleanup)(p->extra_root); /* Should deallocate - whole structure */ - p->extra_root = NULL; - } - delete_process(p); #ifdef ERTS_SMP |