Skip to content

Commit 92b6cde

Browse files
committed
doc: add release notes for runtime/pprof changes
For #50891. For #61015. For #61422. Change-Id: I30d580814ac02fe9f3fbd1a101b2cc05947a9aaa Reviewed-on: https://go-review.googlesource.com/c/go/+/546475 Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent b94532d commit 92b6cde

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

doc/go1.22.html

+17-8
Original file line numberDiff line numberDiff line change
@@ -546,14 +546,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
546546
</dd>
547547
</dl><!-- reflect -->
548548

549-
<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
550-
<dd>
551-
<p><!-- https://go.dev/issue/61015 -->
552-
TODO: <a href="https://go.dev/issue/61015">https://go.dev/issue/61015</a>: change mutex profile to scale contention by number of blocked goroutines
553-
</p>
554-
</dd>
555-
</dl><!-- runtime -->
556-
557549
<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
558550
<dd>
559551
<p><!-- https://go.dev/issue/63340 -->
@@ -562,6 +554,23 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
562554
</dd>
563555
</dl><!-- runtime/metrics -->
564556

557+
<dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>
558+
<dd>
559+
<p><!-- https://go.dev/issue/61015 -->
560+
Mutex profiles now scale contention by the number of goroutines blocked on the mutex.
561+
This provides a more accurate representation of the degree to which a mutex is a bottleneck in
562+
a Go program.
563+
For instance, if 100 goroutines are blocked on a mutex for 10 milliseconds, a mutex profile will
564+
now record 1 second of delay instead of 10 milliseconds of delay.
565+
</p>
566+
567+
<p><!-- https://go.dev/issue/50891 -->
568+
CPU profiles on Darwin platforms now contain the process's memory map, enabling the disassembly
569+
view in the pprof tool.
570+
</p>
571+
</dd>
572+
</dl><!-- runtime/pprof -->
573+
565574
<dl id="runtime/trace"><dt><a href="/pkg/runtime/trace/">runtime/trace</a></dt>
566575
<dd>
567576
<p><!-- https://go.dev/issue/60773 -->

0 commit comments

Comments
 (0)