diff options
| author | Alan Conway <aconway@apache.org> | 2011-08-05 20:52:37 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2011-08-05 20:52:37 +0000 |
| commit | 2ace2731ad1f2333d28b43c56cd899b3fa597d0a (patch) | |
| tree | fccaa9503b934ceca50f79566a61bbdc323f6406 /cpp/src/tests/MessagingThreadTests.cpp | |
| parent | 5a28bfadd77c8f2772c8238d4d6ba24604c7141a (diff) | |
| download | qpid-python-2ace2731ad1f2333d28b43c56cd899b3fa597d0a.tar.gz | |
QPID-3399: Qpidd possible memory leaks
Replace vector with deque in PollableQueue. Under load the queue can
get long, and a vector, which allocates space in a single block, is a
memory hog. A deque will give and take memory in reasonable chunks as
the queue grows and shrinks.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1154377 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/MessagingThreadTests.cpp')
0 files changed, 0 insertions, 0 deletions
