New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: shrink stacks more aggressively on explicit GC #8758
Milestone
Comments
I'm not in favour of this, I think it takes the vague promise that runtime.GC may free up space on the heap (or not, that's a possibility) and replaces it with a stronger promise that not only will runtime.GC free heap space, but it will free the maximum space possible. I think that is not the sort of guarantee runtime.GC should be made to conform to. |
Not for Go 1.5. Austin and I just found some interactions between the 1/4 and the stack guard; if we'd done this we'd have introduced real bugs. Maybe for a later release, but I'm skeptical of the benefit here. Mainly it might be useful for triggering stack shrinking bugs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: