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

Cache thread details when populating suspended thread state #2621

Closed
dbwiddis opened this issue Apr 10, 2024 · 0 comments · Fixed by #2622
Closed

Cache thread details when populating suspended thread state #2621

dbwiddis opened this issue Apr 10, 2024 · 0 comments · Fixed by #2622

Comments

@dbwiddis
Copy link
Member

Coming from discussion on #2487

In WindowsOSProcess when USE_PROCSTATE_SUSPENDED is true, we fetch all the thread details to populate the process state. However, we never save those for use in the thread details query. This is likely the most efficient way of populating thread counters for all processes and should be saved and used in preference to the performance counter query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant