-
Notifications
You must be signed in to change notification settings - Fork 18.1k
runtime: convert atomic values to runtime/internal/atomic types #53821
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
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 <[email protected]> Run-TryBot: Cuong Manh Le <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
…atomic type For #53821 Change-Id: Id972d4ccadc72de69dea46f8be146c9843d1d095 Reviewed-on: https://go-review.googlesource.com/c/go/+/427135 Reviewed-by: Michael Knyszek <[email protected]> Run-TryBot: xie cui <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
For #53821 Change-Id: I2487b8d18a4cd3fc6e64fbbb531419812bfe0f08 Reviewed-on: https://go-review.googlesource.com/c/go/+/427136 Run-TryBot: xie cui <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
… type For #53821 Change-Id: I17440ea30827976a8d3755851a2496f26aea13b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/427137 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: xie cui <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
…mic type For #53821 Change-Id: I9c777ff642ea4b70073335279551cea6a2394569 Reviewed-on: https://go-review.googlesource.com/c/go/+/427138 Run-TryBot: xie cui <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
For #53821 Change-Id: I7e86dac34691f7752f68879ff379061f3435cd45 Reviewed-on: https://go-review.googlesource.com/c/go/+/427139 Reviewed-by: Michael Knyszek <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: xie cui <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
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 <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Reviewed-by: Keith Randall <[email protected]>
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 <[email protected]> Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
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 <[email protected]> Reviewed-by: Jenny Rakoczy <[email protected]> Auto-Submit: Jenny Rakoczy <[email protected]> Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Michael Pratt <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
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 <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Cherry Mui <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
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 <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
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: