From: yuuji.yaginuma Date: Mon, 16 Jun 2025 22:15:04 +0000 (+0000) Subject: doc: fix links to runtime Environment Variables X-Git-Tag: go1.25rc2~2^2~36 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=62deaf4fb8;p=gostls13.git doc: fix links to runtime Environment Variables Change-Id: I9e8ecc5e4f4cba0b09008b2b0d9d3f8842687ec3 GitHub-Last-Rev: e0ddaaed3875761a1ff3692af49c0ec2622a5e20 GitHub-Pull-Request: golang/go#74180 Reviewed-on: https://go-review.googlesource.com/c/go/+/681516 Reviewed-by: Dmitri Shuralyov Reviewed-by: Junyang Shao Reviewed-by: Sean Liao LUCI-TryBot-Result: Go LUCI Auto-Submit: Sean Liao --- diff --git a/doc/godebug.md b/doc/godebug.md index 15be9da5df..d107b1baf1 100644 --- a/doc/godebug.md +++ b/doc/godebug.md @@ -187,7 +187,7 @@ Go 1.25 switched to SHA-256 to fill in missing SubjectKeyId in crypto/x509.CreateCertificate. The setting `x509sha256skid=0` reverts to SHA-1. Go 1.25 corrected the semantics of contention reports for runtime-internal locks, -and so removed the [`runtimecontentionstacks` setting](/pkg/runtime#hdr-Environment_Variable). +and so removed the [`runtimecontentionstacks` setting](/pkg/runtime#hdr-Environment_Variables). ### Go 1.24 @@ -369,7 +369,7 @@ In particular, a common default Linux kernel configuration can result in significant memory overheads, and Go 1.22 no longer works around this default. To work around this issue without adjusting kernel settings, transparent huge pages can be disabled for Go memory with the -[`disablethp` setting](/pkg/runtime#hdr-Environment_Variable). +[`disablethp` setting](/pkg/runtime#hdr-Environment_Variables). This behavior was backported to Go 1.21.1, but the setting is only available starting with Go 1.21.6. This setting may be removed in a future release, and users impacted by this issue @@ -381,7 +381,7 @@ Go 1.22 added contention on runtime-internal locks to the [`mutex` profile](/pkg/runtime/pprof#Profile). Contention on these locks is always reported at `runtime._LostContendedRuntimeLock`. Complete stack traces of runtime locks can be enabled with the [`runtimecontentionstacks` -setting](/pkg/runtime#hdr-Environment_Variable). These stack traces have +setting](/pkg/runtime#hdr-Environment_Variables). These stack traces have non-standard semantics, see setting documentation for details. Go 1.22 added a new [`crypto/x509.Certificate`](/pkg/crypto/x509/#Certificate)