From: Michael Pratt
Date: Mon, 4 Dec 2023 21:45:33 +0000 (-0500)
Subject: doc: add release notes for runtime-internal contention
X-Git-Tag: go1.22rc1~78
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ff9269ee11d9ac3069572e40d641eb5884ae6abd;p=gostls13.git
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
---
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.