[go] runtime: use new list type for spanSPMCs

1 view
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Nov 11, 2025, 4:30:00 PM (yesterday) Nov 11
to Michael Pratt, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Michael Knyszek, golang-co...@googlegroups.com

Gopher Robot submitted the change with unreviewed changes

Unreviewed changes

12 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: src/runtime/mgc.go
Insertions: 1, Deletions: 1.

@@ -359,7 +359,7 @@
}

// Restore 64-bit alignment on 32-bit.
- _ uint32
+ // _ uint32

// bytesMarked is the number of bytes marked this cycle. This
// includes bytes blackened in scanned objects, noscan objects
```

Change information

Commit message:
runtime: use new list type for spanSPMCs

Now that we have a reusable list type, use it to replace the custom
linked list code for spanSPMCs.
Change-Id: I6a6a636ca54f2ba4b5c7dddba607c94ebf3c3ac8
Reviewed-by: Michael Knyszek <mkny...@google.com>
Auto-Submit: Michael Pratt <mpr...@google.com>
Files:
  • M src/runtime/mgc.go
  • M src/runtime/mgcmark_greenteagc.go
  • M src/runtime/mgcmark_nogreenteagc.go
Change size: M
Delta: 3 files changed, 15 insertions(+), 45 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Michael Knyszek
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I6a6a636ca54f2ba4b5c7dddba607c94ebf3c3ac8
Gerrit-Change-Number: 714021
Gerrit-PatchSet: 14
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages