]> Cypherpunks repositories - gostls13.git/commit
runtime: abstract specials list iteration
authorAustin Clements <austin@google.com>
Mon, 22 Mar 2021 19:00:22 +0000 (15:00 -0400)
committerAustin Clements <austin@google.com>
Mon, 29 Mar 2021 21:50:14 +0000 (21:50 +0000)
commit1ef114d12c39e8467d3e905d0a050bd7ce03123a
treec049235429e6ec13aae6098d8f50c845bc428994
parent4e16422da0b444794b45396519d45eec800a540e
runtime: abstract specials list iteration

The specials processing loop in mspan.sweep is about to get more
complicated and I'm too allergic to list manipulation to open code
more of it there.

Change-Id: I767a0889739da85fb2878fc06a5c55b73bf2ba7d
Reviewed-on: https://go-review.googlesource.com/c/go/+/305551
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/mgcsweep.go
src/runtime/mheap.go