doc/go1.21: add release notes for parent goroutine in stack traces

For #38651.

Change-Id: Ie73c1da0629287efda7f0c617e94a7f3a881eee7
Reviewed-on: https://go-review.googlesource.com/c/go/+/501336
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Bypass: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
Michael Anthony Knyszek 2023-06-06 21:27:20 +00:00 committed by Gopher Robot
parent 1ee729c591
commit 34c0714bf2
1 changed files with 6 additions and 2 deletions

View File

@ -884,8 +884,12 @@ Do not send CLs removing the interior tags from such phrases.
<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
<dd>
<p><!-- https://go.dev/issue/38651 -->
TODO: <a href="https://go.dev/issue/38651">https://go.dev/issue/38651</a>: add &#39;created by goroutine number&#39; to stack traces
<p><!-- https://go.dev/issue/38651, CL 435337 -->
Textual stack traces produced by Go programs, such as those
produced when crashing, calling <code>runtime.Stack</code>, or
collecting a goroutine profile with <code>debug=2</code>, now
include the IDs of the goroutines that created each goroutine in
the stack trace.
</p>
<p><!-- https://go.dev/issue/57441, CL 474915 -->