Skip to content

Commit ff9269e

Browse files
prattmicgopherbot
authored andcommitted
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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Michael Pratt <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
1 parent 3b8b550 commit ff9269e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/go1.22.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
638638

639639
<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
640640
<dd>
641+
<p><!-- https://go.dev/issue/57071 -->
642+
<code>/sync/mutex/wait/total:seconds</code> now includes contention on
643+
runtime-internal locks in addition to
644+
<a href="/pkg/sync#Mutex"><code>sync.Mutex</code></a> and
645+
<a href="/pkg/sync#RWMutex"><code>sync.RWMutex</code></a>.
646+
</p>
647+
641648
<p><!-- https://go.dev/issue/63340 -->
642649
TODO: <a href="https://go.dev/issue/63340">https://go.dev/issue/63340</a>: provide histogram of all STW events
643650
</p>
@@ -654,6 +661,14 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
654661
now record 1 second of delay instead of 10 milliseconds of delay.
655662
</p>
656663

664+
<p><!-- https://go.dev/issue/57071 -->
665+
Mutex profiles also now include contention on runtime-internal locks in addition to
666+
<a href="/pkg/sync#Mutex"><code>sync.Mutex</code></a> and
667+
<a href="/pkg/sync#RWMutex"><code>sync.RWMutex</code></a>.
668+
Contention on runtime-internal locks is always reported at <code>runtime._LostContendedRuntimeLock</code>.
669+
A future release will add complete stack traces in these cases.
670+
</p>
671+
657672
<p><!-- https://go.dev/issue/50891 -->
658673
CPU profiles on Darwin platforms now contain the process's memory map, enabling the disassembly
659674
view in the pprof tool.

0 commit comments

Comments
 (0)