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

Handle race condition in PdhUtil#PdhEnumObjectItems #1442

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

dbwiddis
Copy link
Contributor

PdhException can occur when fetching lists of counter instances which change frequently, such as processes or threads.

Copy link
Member

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me.

@dbwiddis dbwiddis merged commit c1565fb into java-native-access:master Jun 8, 2022
@dbwiddis dbwiddis deleted the enumobjectitems-fix branch June 8, 2022 22:03
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 this pull request may close these issues.

2 participants