mirror of https://github.com/golang/go.git
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>
This commit is contained in:
parent
865cf5c5f6
commit
8f71c7633f
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue