diff options
author | Rickard Green <[email protected]> | 2015-11-11 11:39:32 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-11-12 15:25:48 +0100 |
commit | 9c6f45b901ee701553afe34c0b33b7d931d73fd9 (patch) | |
tree | be8cf72e18a7d667b2541dc08fbb2d649d876098 /erts/emulator/beam/erl_process.c | |
parent | b56f5a163555181dceb79cbfd0d69d3cb5015e9c (diff) | |
download | otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.tar.gz otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.tar.bz2 otp-9c6f45b901ee701553afe34c0b33b7d931d73fd9.zip |
Bump reductions on GC
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index e490ffea5a..5e7ed0d151 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -9774,7 +9774,7 @@ Process *schedule(Process *p, int calls) if (ERTS_IS_GC_DESIRED(p)) { if (!(state & ERTS_PSFLG_EXITING) && !(p->flags & F_DISABLE_GC)) { - reds -= erts_garbage_collect(p, 0, p->arg_reg, p->arity); + reds -= erts_garbage_collect_nobump(p, 0, p->arg_reg, p->arity); if (reds <= 0) { p->fcalls = reds; goto sched_out_proc; @@ -10057,10 +10057,10 @@ execute_sys_tasks(Process *c_p, erts_aint32_t *statep, int in_reds) else { if (!garbage_collected) { FLAGS(c_p) |= F_NEED_FULLSWEEP; - reds += erts_garbage_collect(c_p, - 0, - c_p->arg_reg, - c_p->arity); + reds += erts_garbage_collect_nobump(c_p, + 0, + c_p->arg_reg, + c_p->arity); garbage_collected = 1; } st_res = am_true; |