aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-01-27 18:42:48 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-01-27 18:42:48 +0100
commita6ffce4547a3a2c4cb1409a0a679a64b9afdfe9f (patch)
tree7a97d48a61edcdc3972ed51be43ddc57afdc9c95 /erts/emulator/beam
parentaa1b40252fdd5aa27d21b70dcbec1e744e3d416b (diff)
parent79355961135bb107a01b0a7e4668818f58327d99 (diff)
downloadotp-a6ffce4547a3a2c4cb1409a0a679a64b9afdfe9f.tar.gz
otp-a6ffce4547a3a2c4cb1409a0a679a64b9afdfe9f.tar.bz2
otp-a6ffce4547a3a2c4cb1409a0a679a64b9afdfe9f.zip
Merge branch 'egil/gc-increase-tenure-rate/OTP-11617'
* egil/gc-increase-tenure-rate/OTP-11617: erts: Increase gc tenure rate
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c
index 8ff6f9a3b9..ab8448e8a1 100644
--- a/erts/emulator/beam/erl_gc.c
+++ b/erts/emulator/beam/erl_gc.c
@@ -1157,7 +1157,7 @@ do_minor(Process *p, Uint new_sz, Eterm* objv, int nobj)
old_htop = sweep_one_area(OLD_HTOP(p), old_htop, heap, heap_size);
}
OLD_HTOP(p) = old_htop;
- HIGH_WATER(p) = (HEAP_START(p) != HIGH_WATER(p)) ? n_heap : n_htop;
+ HIGH_WATER(p) = n_htop;
if (MSO(p).first) {
sweep_off_heap(p, 0);