runtime: fix race condition between GC and setGCPercent
If first GC runs concurrently with setGCPercent, it can overwrite gcpercent value with default. R=golang-dev, iant CC=golang-dev https://golang.org/cl/10242047
Showing
Please
register
or
sign in
to comment