Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
QPIDJMS-306 updated the message queue data structure to be more efficient in use. The new versions has to grow itself several times to reach the typical/default prefetch size as messages arrive. Given it is relatively a small structure, it would be better to simply pre-size it to the prefetch size and avoiding the growth. For any edge cases where it is desired to keep the structure even smaller, the configured prefetch can be reduced, and would already have had to be done anyway to satisfy the scenario.