aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process_dict.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-11-11 11:39:32 +0100
committerRickard Green <[email protected]>2015-11-12 15:25:48 +0100
commit9c6f45b901ee701553afe34c0b33b7d931d73fd9 (patch)
treebe8cf72e18a7d667b2541dc08fbb2d649d876098 /erts/emulator/beam/erl_process_dict.c
parentb56f5a163555181dceb79cbfd0d69d3cb5015e9c (diff)
downloadotp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.tar.gz
otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.tar.bz2
otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.zip
Bump reductions on GC
Diffstat (limited to 'erts/emulator/beam/erl_process_dict.c')
-rw-r--r--erts/emulator/beam/erl_process_dict.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process_dict.c b/erts/emulator/beam/erl_process_dict.c
index 8606371bdf..f82cad745a 100644
--- a/erts/emulator/beam/erl_process_dict.c
+++ b/erts/emulator/beam/erl_process_dict.c
@@ -583,7 +583,7 @@ static Eterm pd_hash_put(Process *p, Eterm id, Eterm value)
root[0] = id;
root[1] = value;
root[2] = old;
- BUMP_REDS(p, erts_garbage_collect(p, needed, root, 3));
+ erts_garbage_collect(p, needed, root, 3);
id = root[0];
value = root[1];
old = root[2];
@@ -715,7 +715,7 @@ static void shrink(Process *p, Eterm* ret)
needed = 2*erts_list_length(hi);
}
if (HeapWordsLeft(p) < needed) {
- BUMP_REDS(p, erts_garbage_collect(p, needed, ret, 1));
+ erts_garbage_collect(p, needed, ret, 1);
hi = pd->data[(pd->splitPosition + pd->homeSize)];
lo = pd->data[pd->splitPosition];
}
@@ -811,7 +811,7 @@ static void grow(Process *p)
}
}
if (HeapWordsLeft(p) < needed) {
- BUMP_REDS(p, erts_garbage_collect(p, needed, 0, 0));
+ erts_garbage_collect(p, needed, 0, 0);
}
#ifdef DEBUG
hp_limit = p->htop + needed;