aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-05-02 14:27:26 -0400
committerGopher Robot <gobot@golang.org>2024-05-02 21:10:56 +0000
commit8f71c7633fd70fffc5fa65e7865e763238fa6f46 (patch)
tree1744c77f88959f833e2bbd653a686544edd4966f /src
parent865cf5c5f626d2546b3023217f0a0fb2e5ad9304 (diff)
downloadgo-8f71c7633fd70fffc5fa65e7865e763238fa6f46.tar.gz
go-8f71c7633fd70fffc5fa65e7865e763238fa6f46.zip
runtime: remove note about goid reuse
Goids are designed to be big enough that they will never be reused: a uint64 is enough to generate a new goroutine every nanosecond for 500+ years before wrapping around, and after 500 years you should probably stop and pick up some security updates. This note was added in CL 70993 and appears to have just been a misunderstanding by the CL author. Change-Id: Ida7099b5191a4e5dbb1e3e9e44b4b86d7779fd6d Reviewed-on: https://go-review.googlesource.com/c/go/+/582895 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/extern.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/extern.go b/src/runtime/extern.go
index bb2f03b1ce..63950c3b5f 100644
--- a/src/runtime/extern.go
+++ b/src/runtime/extern.go
@@ -198,9 +198,8 @@ It is a comma-separated list of name=val pairs setting these named variables:
tracebackancestors: setting tracebackancestors=N extends tracebacks with the stacks at
which goroutines were created, where N limits the number of ancestor goroutines to
- report. This also extends the information returned by runtime.Stack. Ancestor's goroutine
- IDs will refer to the ID of the goroutine at the time of creation; it's possible for this
- ID to be reused for another goroutine. Setting N to 0 will report no ancestry information.
+ report. This also extends the information returned by runtime.Stack.
+ Setting N to 0 will report no ancestry information.
tracefpunwindoff: setting tracefpunwindoff=1 forces the execution tracer to
use the runtime's default stack unwinder instead of frame pointer unwinding.