Skip to content
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: reap idle Ms #22468

Closed
randall77 opened this issue Oct 27, 2017 · 1 comment
Closed

runtime: reap idle Ms #22468

randall77 opened this issue Oct 27, 2017 · 1 comment

Comments

@randall77
Copy link
Contributor

@randall77 randall77 commented Oct 27, 2017

Ms cost memory (stacks, mostly, maybe kernel resources also) to keep around. See issue #22439. It would be better if we got rid of Ms if they aren't being used. Maybe exit Ms that have been idle for a while during GC? During scavenging? Maybe just exit idle Ms unconditionally at scavenge time, we'll make new ones if we need them.

@aclements recently added mechanisms to reap Ms, for exiting LockOSThread-ed Ms. We can reuse that mechanism.

@aclements

This comment has been minimized.

Copy link
Member

@aclements aclements commented Oct 27, 2017

Closing as dup of #14592.

@aclements aclements closed this Oct 27, 2017
@golang golang locked and limited conversation to collaborators Oct 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.