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

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
Copy link
Member

Closing as dup of #14592.

@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
Development

No branches or pull requests

3 participants