]> Cypherpunks repositories - gostls13.git/commit
runtime: make sysmon-triggered GC concurrent
authorAustin Clements <austin@google.com>
Wed, 8 Jul 2015 21:18:33 +0000 (14:18 -0700)
committerAustin Clements <austin@google.com>
Thu, 9 Jul 2015 05:53:21 +0000 (05:53 +0000)
commit4b2774f5ea4f6f0beb75259f65e60585b6dbfd56
treecfa696764e618f41d55bef0e8cbf79014d5a3cbd
parent012917afba1dfe62b37acf8f5087b98c11f64f25
runtime: make sysmon-triggered GC concurrent

sysmon triggers a GC if there has been no GC for two minutes.
Currently, this is a STW GC. There is no reason for this to be STW, so
make it concurrent.

Fixes #10261.

Change-Id: I92f3ac37272d5c2a31480ff1fa897ebad08775a9
Reviewed-on: https://go-review.googlesource.com/11955
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/proc.go
src/runtime/proc1.go