-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare for configurable max per-cpu capacity.
Currently we have very simple hard-coded max per-cpu per-class capacity: - 2048 objects for size class <= 10 - 152 objects for larger size classes While it's reasonable on high-level, it's too simplistic and too coarse-grained. Some of the smaller classes are not as active as others, and there are very active larger classes as well. Prepare for externally configurable max capacities. For now the old behavior is preserved. PiperOrigin-RevId: 581170836 Change-Id: I1a5de2946b52a26f018177fc48286bc8eb5329c3
- Loading branch information
1 parent
905c191
commit c2fc97d
Showing
7 changed files
with
1,348 additions
and
1,332 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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