[go] runtime: make work.spanSPMCs.all doubly-linked

1 view
Skip to first unread message

Michael Pratt (Gerrit)

unread,
Oct 7, 2025, 3:17:03 PM (17 hours ago) Oct 7
to Michael Pratt, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Michael Knyszek, Go LUCI, golang-co...@googlegroups.com

Michael Pratt submitted the change

Change information

Commit message:
runtime: make work.spanSPMCs.all doubly-linked

Making this a doubly-linked list allows spanQueue.destroy to immediately
remove and free rings rather than simply marking them as dead and
waiting for the sweeper to deal with them.

For #75771.
Change-Id: I6a6a636c0fb6be08ee967cb6d8f0577511a33c13
Reviewed-by: Michael Knyszek <mkny...@google.com>
Files:
  • M src/runtime/mgcmark_greenteagc.go
Change size: M
Delta: 1 file changed, 42 insertions(+), 19 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: I6a6a636c0fb6be08ee967cb6d8f0577511a33c13
Gerrit-Change-Number: 709657
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Pratt <mpr...@google.com>
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