-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experiment with ArrayByteBufferPool performance (#11426)
* Experiment with ArrayByteBufferPool No overall size accounting reserved buffer release always checks max memory released buffers check max memory 1% of the time. only a single thread can check memory at once. single pass through buckets so no looping forever. * Experiment with ArrayByteBufferPool updates from review * JMH updates * updates from review * Fixed comments. Fixed call to recordEvict(). Removed unused methods. Method getAvailable*Memory() no longer JMX-enabled, as they are the same as get*Memory(). Signed-off-by: Simone Bordet <simone.bordet@gmail.com> --------- Signed-off-by: Simone Bordet <simone.bordet@gmail.com> Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
- Loading branch information
Showing
3 changed files
with
82 additions
and
117 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
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