]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert timeHistogram to atomic types
authorMichael Pratt <mpratt@google.com>
Mon, 25 Jul 2022 19:58:23 +0000 (15:58 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:53:11 +0000 (01:53 +0000)
commitb04e4637dba254e5bda132753a91532f8e32e4b9
tree44d6c75a7300fcf1f54cc800164e128d5a5cc355
parent09cc9bac724896cac02b0da8b259febddde52759
runtime: convert timeHistogram to atomic types

I've dropped the note that sched.timeToRun is protected by sched.lock,
as it does not seem to be true.

For #53821.

Change-Id: I03f8dc6ca0bcd4ccf3ec113010a0aa39c6f7d6ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/419449
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
src/runtime/align_runtime_test.go
src/runtime/export_test.go
src/runtime/histogram.go
src/runtime/metrics.go
src/runtime/mstats.go
src/runtime/proc.go
src/runtime/runtime2.go