diff options
author | Lukas Larsson <[email protected]> | 2018-03-16 09:07:10 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-03-16 09:07:10 +0100 |
commit | 845dd68493a91decc32d50cc785e6afaf9dfb6c3 (patch) | |
tree | ca6c39477c10ff545b476a01d3fa2ae076e27bef /lib/mnesia/src | |
parent | 9f39cf8dc59df1d1225c8264f2cdda6a432f83c1 (diff) | |
parent | f78c3ee64cd1328a03e4680d893ebfe8e47ac8b4 (diff) | |
download | otp-845dd68493a91decc32d50cc785e6afaf9dfb6c3.tar.gz otp-845dd68493a91decc32d50cc785e6afaf9dfb6c3.tar.bz2 otp-845dd68493a91decc32d50cc785e6afaf9dfb6c3.zip |
mikpe/process_info-1-no-messages/PR-1745/OTP-14986
make erlang:process_info/1 not retrieve messages
Diffstat (limited to 'lib/mnesia/src')
-rw-r--r-- | lib/mnesia/src/mnesia_tm.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl index eaebdf6d02..3f6f6c98d8 100644 --- a/lib/mnesia/src/mnesia_tm.erl +++ b/lib/mnesia/src/mnesia_tm.erl @@ -2210,7 +2210,7 @@ display_pid_info(Pid) -> Other end, Reds = fetch(reductions, Info), - LM = length(fetch(messages, Info)), + LM = fetch(message_queue_len, Info), pformat(io_lib:format("~p", [Pid]), io_lib:format("~tp", [Call]), io_lib:format("~tp", [Curr]), Reds, LM) |