diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-10-09 17:18:31 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-10-09 17:18:31 +0200 |
commit | 76777477d8722b785afa8da0166b4577fb7e047c (patch) | |
tree | 63a34069dfe9672eea798a06c9da5a38aa9919ae /erts/emulator/beam/erl_gc.c | |
parent | 5472eb516e969f7f9ac50ab57b195e5b043e1d79 (diff) | |
download | otp-76777477d8722b785afa8da0166b4577fb7e047c.tar.gz otp-76777477d8722b785afa8da0166b4577fb7e047c.tar.bz2 otp-76777477d8722b785afa8da0166b4577fb7e047c.zip |
erts: Remove vheap mature from process control block
Binary vheap mature is not necessary for binary gc.
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
-rw-r--r-- | erts/emulator/beam/erl_gc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c index 734f120e09..29579f74e6 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -848,7 +848,6 @@ minor_collection(Process* p, int need, Eterm* objv, int nobj, Uint *recl) if (OLD_HEAP(p) && ((mature <= OLD_HEND(p) - OLD_HTOP(p)) && - ((BIN_VHEAP_MATURE(p) < ( BIN_OLD_VHEAP_SZ(p) - BIN_OLD_VHEAP(p)))) && ((BIN_OLD_VHEAP_SZ(p) > BIN_OLD_VHEAP(p))) ) ) { ErlMessage *msgp; Uint size_after; @@ -2373,7 +2372,6 @@ sweep_off_heap(Process *p, int fullsweep) } BIN_VHEAP_SZ(p) = next_vheap_size(p, bin_vheap, BIN_VHEAP_SZ(p)); MSO(p).overhead = bin_vheap; - BIN_VHEAP_MATURE(p) = bin_vheap; /* * If we got any shrink candidates, check them out. |