From ff9269ee11d9ac3069572e40d641eb5884ae6abd Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 4 Dec 2023 16:45:33 -0500 Subject: [PATCH] doc: add release notes for runtime-internal contention For #57071. For #61422. Change-Id: I5d546d8828be897cb087e85a1251213c582b3894 Reviewed-on: https://go-review.googlesource.com/c/go/+/547059 Reviewed-by: Rhys Hiltner LUCI-TryBot-Result: Go LUCI Auto-Submit: Michael Pratt Reviewed-by: Michael Knyszek --- doc/go1.22.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/go1.22.html b/doc/go1.22.html index 2950a5b085..331c790d21 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -638,6 +638,13 @@ defer func() {
runtime/metrics
+

+ /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

@@ -654,6 +661,14 @@ defer func() { now record 1 second of delay instead of 10 milliseconds of delay.

+

+ Mutex profiles also now include contention on runtime-internal locks in addition to + sync.Mutex and + sync.RWMutex. + Contention on runtime-internal locks is always reported at runtime._LostContendedRuntimeLock. + A future release will add complete stack traces in these cases. +

+

CPU profiles on Darwin platforms now contain the process's memory map, enabling the disassembly view in the pprof tool. -- 2.50.0