File 1189-Describe-wordsize-found-in-the-garbage-collector-tra.patch of Package erlang

From 6986c13f817e385bf1de9fb5208a64d885783a26 Mon Sep 17 00:00:00 2001
From: Michal Slaski <michal.slaski@gmail.com>
Date: Fri, 9 Apr 2021 10:03:53 +0200
Subject: [PATCH] Describe wordsize found in the garbage collector trace events

---
 erts/doc/src/erlang.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 384b0f21e0..512a40305d 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -11715,6 +11715,12 @@ improper_end</pre>
               <item>The total size of binaries allowed in the virtual
                 old heap in the process before doing a garbage
                 collection.</item>
+              <tag><c>wordsize</c></tag>
+              <item>For the <c>gc_minor_start</c> event it is the size
+              of the need that triggered the GC. For the corresponding
+              <c>gc_minor_end</c> event it is the size of reclaimed
+              memory = start <c>heap_size</c> - end
+              <c>heap_size</c>.</item>
             </taglist>
             <p>All sizes are in words.</p>
           </item>
-- 
2.26.2

openSUSE Build Service is sponsored by