Skip to content

Commit a10f158

Browse files
WangLeonardgopherbot
authored andcommitted
runtime: update description of GODEBUG=gctrace=1
For #44167. Change-Id: I2dcd13cbe74e88de00e9fc51f9bd86e604a167df Reviewed-on: https://go-review.googlesource.com/c/go/+/399300 Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]> Run-TryBot: Emmanuel Odeke <[email protected]> Auto-Submit: Emmanuel Odeke <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 8cd6aac commit a10f158

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/runtime/extern.go

+9-7
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ It is a comma-separated list of name=val pairs setting these named variables:
6464
Currently, it is:
6565
gc # @#s #%: #+#+# ms clock, #+#/#/#+# ms cpu, #->#-># MB, # MB goal, # P
6666
where the fields are as follows:
67-
gc # the GC number, incremented at each GC
68-
@#s time in seconds since program start
69-
#% percentage of time spent in GC since program start
70-
#+...+# wall-clock/CPU times for the phases of the GC
71-
#->#-># MB heap size at GC start, at GC end, and live heap
72-
# MB goal goal heap size
73-
# P number of processors used
67+
gc # the GC number, incremented at each GC
68+
@#s time in seconds since program start
69+
#% percentage of time spent in GC since program start
70+
#+...+# wall-clock/CPU times for the phases of the GC
71+
#->#-># MB heap size at GC start, at GC end, and live heap
72+
# MB goal goal heap size
73+
# MB stacks estimated scannable stack size
74+
# MB globals scannable global size
75+
# P number of processors used
7476
The phases are stop-the-world (STW) sweep termination, concurrent
7577
mark and scan, and STW mark termination. The CPU times
7678
for mark/scan are broken down in to assist time (GC performed in

0 commit comments

Comments
 (0)