]> Cypherpunks repositories - gostls13.git/commit
runtime: remove periodic scavenging
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 18 Oct 2018 20:09:03 +0000 (20:09 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 9 May 2019 16:20:52 +0000 (16:20 +0000)
commiteaa1c87b007ad4c19b09b5bd9fdd85a093075324
treeaa6486c3a17290aa94e7868e2e569d2c0e907795
parentd56199d68e3f34d88dac92997662dc6d6ab6ae14
runtime: remove periodic scavenging

This change removes the periodic scavenger which goes over every span
in the heap and scavenges it if it hasn't been used for 5 minutes. It
should no longer be necessary if we have background scavenging
(follow-up).

For #30333.

Change-Id: Ic3a1a4e85409dc25719ba4593a3b60273a4c71e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/143157
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
src/runtime/proc.go