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

manage runtime.ReadMemStats to avoid stop-the-world too much #38271

Closed
Tracked by #38025
hawkingrei opened this issue Sep 30, 2022 · 0 comments · Fixed by #38632
Closed
Tracked by #38025

manage runtime.ReadMemStats to avoid stop-the-world too much #38271

hawkingrei opened this issue Sep 30, 2022 · 0 comments · Fixed by #38632
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@hawkingrei
Copy link
Member

Enhancement

Now in the tidb repo, we have some places to use runtime.ReadMemStats to get global memory useage. But using it will cause the stop-the-world. this will affect performance. we should manage its usage.

@hawkingrei hawkingrei added the type/enhancement The issue or PR belongs to an enhancement. label Sep 30, 2022
ti-chi-bot pushed a commit that referenced this issue Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant