-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: convert atomic values to runtime/internal/atomic types #53821
Comments
Change https://go.dev/cl/417784 mentions this issue: |
Change https://go.dev/cl/417782 mentions this issue: |
Change https://go.dev/cl/417775 mentions this issue: |
Change https://go.dev/cl/417778 mentions this issue: |
Change https://go.dev/cl/417783 mentions this issue: |
Change https://go.dev/cl/417777 mentions this issue: |
Change https://go.dev/cl/417781 mentions this issue: |
Change https://go.dev/cl/417780 mentions this issue: |
Change https://go.dev/cl/417776 mentions this issue: |
Change https://go.dev/cl/417779 mentions this issue: |
Change https://go.dev/cl/419444 mentions this issue: |
Change https://go.dev/cl/419437 mentions this issue: |
Change https://go.dev/cl/419438 mentions this issue: |
Change https://go.dev/cl/419442 mentions this issue: |
Change https://go.dev/cl/419445 mentions this issue: |
Change https://go.dev/cl/419443 mentions this issue: |
Change https://go.dev/cl/419439 mentions this issue: |
Change https://go.dev/cl/419436 mentions this issue: |
Change https://go.dev/cl/419446 mentions this issue: |
Change https://go.dev/cl/419448 mentions this issue: |
Change https://go.dev/cl/419449 mentions this issue: |
Change https://go.dev/cl/419447 mentions this issue: |
Change https://go.dev/cl/420195 mentions this issue: |
Change https://go.dev/cl/420196 mentions this issue: |
…mic type For golang#53821 Change-Id: I9c777ff642ea4b70073335279551cea6a2394569
For golang#53821 Change-Id: I7e86dac34691f7752f68879ff379061f3435cd45
Change https://go.dev/cl/428335 mentions this issue: |
Change https://go.dev/cl/428336 mentions this issue: |
Change https://go.dev/cl/428195 mentions this issue: |
Change https://go.dev/cl/428196 mentions this issue: |
Note that this changes some unsynchronized operations of g.atomicstatus to synchronized operations. Updates #53821 Change-Id: If249d62420ea09fbec39b570942f96c63669c333 Reviewed-on: https://go-review.googlesource.com/c/go/+/425363 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
…atomic type For #53821 Change-Id: Id972d4ccadc72de69dea46f8be146c9843d1d095 Reviewed-on: https://go-review.googlesource.com/c/go/+/427135 Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: xie cui <523516579@qq.com> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
For #53821 Change-Id: I2487b8d18a4cd3fc6e64fbbb531419812bfe0f08 Reviewed-on: https://go-review.googlesource.com/c/go/+/427136 Run-TryBot: xie cui <523516579@qq.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
… type For #53821 Change-Id: I17440ea30827976a8d3755851a2496f26aea13b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/427137 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: xie cui <523516579@qq.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
…mic type For #53821 Change-Id: I9c777ff642ea4b70073335279551cea6a2394569 Reviewed-on: https://go-review.googlesource.com/c/go/+/427138 Run-TryBot: xie cui <523516579@qq.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
For #53821 Change-Id: I7e86dac34691f7752f68879ff379061f3435cd45 Reviewed-on: https://go-review.googlesource.com/c/go/+/427139 Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: xie cui <523516579@qq.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
Change https://go.dev/cl/428477 mentions this issue: |
Change https://go.dev/cl/428576 mentions this issue: |
Change https://go.dev/cl/428919 mentions this issue: |
Change https://go.dev/cl/428920 mentions this issue: |
For #53821 Change-Id: Iee8ccea714726bbb6a4b384887bb107c29b823a9 GitHub-Last-Rev: 119aad3 GitHub-Pull-Request: #54862 Reviewed-on: https://go-review.googlesource.com/c/go/+/428335 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Keith Randall <khr@google.com>
For #53821 Change-Id: I135783bd5472011f6a74d2f5ee34ce96ff49ad2b GitHub-Last-Rev: 4da2d67 GitHub-Pull-Request: #54863 Reviewed-on: https://go-review.googlesource.com/c/go/+/428336 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
I did some initial benchmarking with x/bench/sweet on linux-arm64 to look for potential effects of these changes. As of 0e16d67 (Aug 29), I see (vs 1.19):
Most of this improvement is likely from https://go.dev/cl/422634. I intend to further investigate |
For #53821 Change-Id: I7cb6a16626964d5023b96609d9921bfe4a679d8f GitHub-Last-Rev: ddfce12 GitHub-Pull-Request: #54865 Reviewed-on: https://go-review.googlesource.com/c/go/+/428196 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Jenny Rakoczy <jenny@golang.org> Auto-Submit: Jenny Rakoczy <jenny@golang.org> Reviewed-by: Keith Randall <khr@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
For #53821 Change-Id: I1b5c62288eca20ff50f6d8d979cf82df24d4545b GitHub-Last-Rev: 2661485 GitHub-Pull-Request: #54884 Reviewed-on: https://go-review.googlesource.com/c/go/+/428477 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
For #53821 Change-Id: I2e7c5376e6ca3e3dbb2f92ad771aed62fca8b793 GitHub-Last-Rev: b67ddf8 GitHub-Pull-Request: #54864 Reviewed-on: https://go-review.googlesource.com/c/go/+/428195 Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com>
runtime/internal/atomic
added Int32, etc types a while ago, which are slowing getting used on new code. We should also go through existing code and convert bare atomic values to use the atomic types.The text was updated successfully, but these errors were encountered: