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
Files:
- M src/runtime/mgcmark_greenteagc.go
Change size: M
Delta: 1 file changed, 42 insertions(+), 19 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Michael Knyszek
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI