]> Cypherpunks repositories - gostls13.git/commit
runtime: de-duplicate span scavenging
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 2 Oct 2018 20:23:41 +0000 (20:23 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 17 Oct 2018 16:25:42 +0000 (16:25 +0000)
commite508a5f072c6e3c8449007bf7ca87142c6746404
tree2670709aec884b6239400f10636c3196217b14aa
parentde31f637a9edec8a94c8fb6124bb30ff1d6ee1ee
runtime: de-duplicate span scavenging

Currently, span scavenging was done nearly identically in two different
locations. This change deduplicates that into one shared routine.

For #14045.

Change-Id: I15006b2c9af0e70b7a9eae9abb4168d3adca3860
Reviewed-on: https://go-review.googlesource.com/c/139297
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mheap.go