You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At tip it looks like the GOGC environment variable doesn't have an effect on the
runtime.gcpercent value.
Example: http://play.golang.org/p/hHTrnFqcIZ
In 1.3.1 this code successfully prints out the new value of gcpercent if GOGC was set at
program start.
At tip, the code always returns 100 (the default).
Tested on darwin/amd64.
The text was updated successfully, but these errors were encountered:
Init GC later as it needs to read GOGC env var.
Fixesgolang#8562.
LGTM=daniel.morsing, rsc
R=golang-codereviews, daniel.morsing, rsc
CC=golang-codereviews, khr, rlh
https://golang.org/cl/130990043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 9, 2018
Init GC later as it needs to read GOGC env var.
Fixesgolang#8562.
LGTM=daniel.morsing, rsc
R=golang-codereviews, daniel.morsing, rsc
CC=golang-codereviews, khr, rlh
https://golang.org/cl/130990043
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: