aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-10-24 10:46:12 +0200
committerLukas Larsson <[email protected]>2017-10-31 10:42:56 +0100
commit6ef6bbbcb18323b86eb4e654f72d2b1c6bad086f (patch)
tree304c93cce1ffe5aae96a5eb3c26df5fe743cb12a
parentc5b2a6161381951d273b124ff37a25597a27d2ef (diff)
downloadotp-6ef6bbbcb18323b86eb4e654f72d2b1c6bad086f.tar.gz
otp-6ef6bbbcb18323b86eb4e654f72d2b1c6bad086f.tar.bz2
otp-6ef6bbbcb18323b86eb4e654f72d2b1c6bad086f.zip
Update message queue and pinfo binary docs
-rw-r--r--erts/doc/src/erlang.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 2465f49581..9d3ec406b4 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4687,7 +4687,7 @@ RealSystem = system + MissedSystem</code>
<p>The default <c>message_queue_data</c> process flag is determined
by command-line argument <seealso marker="erl#+hmqd">
<c>+hmqd</c></seealso> in <c>erl(1)</c>.</p>
- <p>If the process potentially can get many messages,
+ <p>If the process potentially can get many messages in its queue,
you are advised to set the flag to <c>off_heap</c>. This
because a garbage collection with many messages placed on
the heap can become extremely expensive and the process can
@@ -4960,11 +4960,15 @@ RealSystem = system + MissedSystem</code>
<tag><c>{binary, <anno>BinInfo</anno>}</c></tag>
<item>
<p><c><anno>BinInfo</anno></c> is a list containing miscellaneous
- information about binaries currently referred to by this
- process. This <c><anno>InfoTuple</anno></c> can be changed or
+ information about binaries on the heap of this
+ process.
+ This <c><anno>InfoTuple</anno></c> can be changed or
removed without prior notice. In the current implementation
<c><anno>BinInfo</anno></c> is a list of tuples. The tuples
contain; <c>BinaryId</c>, <c>BinarySize</c>, <c>BinaryRefcCount</c>.</p>
+ <p>The message queue is on the heap depending on the
+ process flag <seealso marker="#process_flag_message_queue_data">
+ <c>message_queue_data</c></seealso>.</p>
</item>
<tag><c>{catchlevel, <anno>CatchLevel</anno>}</c></tag>
<item>