aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-04-18 16:43:36 +0200
committerSverker Eriksson <[email protected]>2019-05-03 15:49:42 +0200
commit70dbf671a8196110d2aee2e7507afc2c2c75183f (patch)
tree45e5b8cfb261eda75f41d5406672964aa819c480
parente45db930e7fb9980dfd774c64401cf0dda965c58 (diff)
downloadotp-70dbf671a8196110d2aee2e7507afc2c2c75183f.tar.gz
otp-70dbf671a8196110d2aee2e7507afc2c2c75183f.tar.bz2
otp-70dbf671a8196110d2aee2e7507afc2c2c75183f.zip
erts: Force process_info(reductions) as signal
Not 100% sure this is needed to get correct reductions as the direct query is not done if process is RUNNING anyway.
-rw-r--r--erts/emulator/beam/erl_bif_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c
index 7fada0d548..7e9c04d158 100644
--- a/erts/emulator/beam/erl_bif_info.c
+++ b/erts/emulator/beam/erl_bif_info.c
@@ -761,7 +761,7 @@ static ErtsProcessInfoArgs pi_args[] = {
{am_memory, 0, ERTS_PI_FLAG_NEED_MSGQ_LEN|ERTS_PI_FLAG_FORCE_SIG_SEND, ERTS_PROC_LOCK_MAIN},
{am_garbage_collection, 3+2 + 3+2 + 3+2 + 3+2 + 3+2 + ERTS_MAX_HEAP_SIZE_MAP_SZ, 0, ERTS_PROC_LOCK_MAIN},
{am_group_leader, 0, 0, ERTS_PROC_LOCK_MAIN},
- {am_reductions, 0, 0, ERTS_PROC_LOCK_MAIN},
+ {am_reductions, 0, ERTS_PI_FLAG_FORCE_SIG_SEND, ERTS_PROC_LOCK_MAIN},
{am_priority, 0, 0, 0},
{am_trace, 0, 0, ERTS_PROC_LOCK_MAIN},
{am_binary, 0, ERTS_PI_FLAG_FORCE_SIG_SEND, ERTS_PROC_LOCK_MAIN},