Skip to content

GH-93354: Fix specialization cache miss counters #93860

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

Closed

Conversation

Fidget-Spinner
Copy link
Member

Linked to #93354.

*counter -= 1;
if (*counter == 0) {
DECREMENT_ADAPTIVE_COUNTER_CODE(counter);
if (ADAPTIVE_COUNTER_CODE_IS_ZERO(counter)) {
Copy link
Member

Choose a reason for hiding this comment

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

This isn't the adaptive counter. It is the miss counter. It's not the same thing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Doh thanks. I shouldn't code while sleep deprived 🤦 . Sorry.

@Fidget-Spinner Fidget-Spinner deleted the fix_counter_cache_misses branch June 15, 2022 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants