-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop incrementing class profile counter once the reservoir table is f…
…ull (#82723) The counter in the class profile counter is used to determine when to switch to probabilistic updates of the reservior table, but it is currently not used to detemine the probability of an update. So there's no need to keep incrementing it once the table is full. Since the count is mutable shared state, bypassing updates should reduce cache contention somewhat. Contributes to #72387.
- Loading branch information
1 parent
f5740ca
commit 555dc47
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters