]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: update description of GODEBUG=gctrace=1
authorLeonard Wang <wangdeyu0907@gmail.com>
Sun, 10 Apr 2022 13:57:39 +0000 (21:57 +0800)
committerGopher Robot <gobot@golang.org>
Sun, 10 Apr 2022 16:04:13 +0000 (16:04 +0000)
For #44167.

Change-Id: I2dcd13cbe74e88de00e9fc51f9bd86e604a167df
Reviewed-on: https://go-review.googlesource.com/c/go/+/399300
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
Auto-Submit: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/runtime/extern.go

index f1f6ea51231fed11952c2c11be34c25e8ea9d327..39bdd09849e59648fbbf558a3556c3b710711060 100644 (file)
@@ -64,13 +64,15 @@ It is a comma-separated list of name=val pairs setting these named variables:
        Currently, it is:
                gc # @#s #%: #+#+# ms clock, #+#/#/#+# ms cpu, #->#-># MB, # MB goal, # P
        where the fields are as follows:
-               gc #        the GC number, incremented at each GC
-               @#s         time in seconds since program start
-               #%          percentage of time spent in GC since program start
-               #+...+#     wall-clock/CPU times for the phases of the GC
-               #->#-># MB  heap size at GC start, at GC end, and live heap
-               # MB goal   goal heap size
-               # P         number of processors used
+               gc #         the GC number, incremented at each GC
+               @#s          time in seconds since program start
+               #%           percentage of time spent in GC since program start
+               #+...+#      wall-clock/CPU times for the phases of the GC
+               #->#-># MB   heap size at GC start, at GC end, and live heap
+               # MB goal    goal heap size
+               # MB stacks  estimated scannable stack size
+               # MB globals scannable global size
+               # P          number of processors used
        The phases are stop-the-world (STW) sweep termination, concurrent
        mark and scan, and STW mark termination. The CPU times
        for mark/scan are broken down in to assist time (GC performed in