]> Cypherpunks repositories - gostls13.git/commit
runtime: make work.spanSPMCs.all doubly-linked
authorMichael Pratt <mpratt@google.com>
Mon, 6 Oct 2025 21:55:06 +0000 (17:55 -0400)
committerMichael Pratt <mpratt@google.com>
Tue, 7 Oct 2025 19:16:59 +0000 (12:16 -0700)
commit7dd54e1fd7f3a25fccbb5c6ab7066e2baad23e66
tree00062cb9b855272d7e6052d68579208630591fdb
parent3ee761739b0cbb074f5a6e8b28b491664ec1414a
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-on: https://go-review.googlesource.com/c/go/+/709657
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/mgcmark_greenteagc.go