Skip to content

GH-93354: Fix specialization cache miss counters#93860

Closed
Fidget-Spinner wants to merge 3 commits intopython:mainfrom
Fidget-Spinner:fix_counter_cache_misses
Closed

GH-93354: Fix specialization cache miss counters#93860
Fidget-Spinner wants to merge 3 commits intopython:mainfrom
Fidget-Spinner:fix_counter_cache_misses

Conversation

@Fidget-Spinner
Copy link
Copy Markdown
Member

Linked to #93354.

*counter -= 1;
if (*counter == 0) {
DECREMENT_ADAPTIVE_COUNTER_CODE(counter);
if (ADAPTIVE_COUNTER_CODE_IS_ZERO(counter)) {
Copy link
Copy Markdown
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
Copy Markdown
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