diff --git a/doc/go1.22.html b/doc/go1.22.html index 331c790d21..e5facbd892 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -638,16 +638,30 @@ defer func() {
runtime/metrics
+

+ Four new histogram metrics + /sched/pauses/stopping/gc:seconds, + /sched/pauses/stopping/other:seconds, + /sched/pauses/total/gc:seconds, and + /sched/pauses/total/other:seconds provide additional details + about stop-the-world pauses. + The "stopping" metrics report the time taken from deciding to stop the + world until all goroutines are stopped. + The "total" metrics report the time taken from deciding to stop the world + until it is started again. +

+ +

+ The /gc/pauses:seconds metric is deprecated, as it is + equivalent to the new /sched/pauses/total/gc:seconds metric. +

+

/sync/mutex/wait/total:seconds now includes contention on runtime-internal locks in addition to sync.Mutex and sync.RWMutex.

- -

- TODO: https://go.dev/issue/63340: provide histogram of all STW events -