]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert workType.cycles to internal atomic types
authorAndy Pan <panjf2000@gmail.com>
Fri, 26 Aug 2022 02:26:05 +0000 (10:26 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 31 Aug 2022 15:12:18 +0000 (15:12 +0000)
commit28e388589b48063047dbe7738bc1dfd4ed8e36bd
tree87a369ddfcef60100fc566384fdcbd5692860929
parent5634629f0b3e59115f2a2158f228c292d484622e
runtime: convert workType.cycles to internal atomic types

Note that this changes a non-atomic operation to atomic operation in gcStart().

For #53821

Change-Id: I754d254f6f190855144ff62151b6bae673b47867
Reviewed-on: https://go-review.googlesource.com/c/go/+/425776
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
src/runtime/mgc.go
src/runtime/mgcpacer.go