]> Cypherpunks repositories - gostls13.git/commit
runtime: remove note about goid reuse
authorRuss Cox <rsc@golang.org>
Thu, 2 May 2024 18:27:26 +0000 (14:27 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 2 May 2024 21:10:56 +0000 (21:10 +0000)
commit8f71c7633fd70fffc5fa65e7865e763238fa6f46
tree1744c77f88959f833e2bbd653a686544edd4966f
parent865cf5c5f626d2546b3023217f0a0fb2e5ad9304
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>
src/runtime/extern.go