diff options
author | Rickard Green <[email protected]> | 2015-11-13 09:53:51 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-11-13 09:53:51 +0100 |
commit | cbad4a1be72c75a452a3d70d57bf1c1145c08ad9 (patch) | |
tree | 359cdd90d063bff84d6e7ef9ea81f2ef81acb67c /erts/emulator/beam/erl_process.c | |
parent | c66844d145177fbb65bcc101a9962e5a5673c162 (diff) | |
parent | 9c6f45b901ee701553afe34c0b33b7d931d73fd9 (diff) | |
download | otp-cbad4a1be72c75a452a3d70d57bf1c1145c08ad9.tar.gz otp-cbad4a1be72c75a452a3d70d57bf1c1145c08ad9.tar.bz2 otp-cbad4a1be72c75a452a3d70d57bf1c1145c08ad9.zip |
Merge branch 'rickard/gc-bump-reds/OTP-13097'
* rickard/gc-bump-reds/OTP-13097:
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 6e83456e4c..9acce8acb6 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -9779,7 +9779,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; @@ -10062,10 +10062,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; |