diff options
| author | Alan Conway <aconway@apache.org> | 2007-11-14 21:02:14 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-11-14 21:02:14 +0000 |
| commit | b7c4bf711917dc5ae07fafea32d9d530d2383735 (patch) | |
| tree | d187fc43d3d0a2153d1b8c2a5ab3e55261285e9d /cpp/src/qpid/broker/RecoveryManagerImpl.cpp | |
| parent | 30e952c5e9e7084eb70633a543034fbc897a22b8 (diff) | |
| download | qpid-python-b7c4bf711917dc5ae07fafea32d9d530d2383735.tar.gz | |
Replaced shared_ptr with intrusive_ptr for qpid::Broker::Message.
Gives 9% reduction in broker heap use (perftest --count 100000.)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@595056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/RecoveryManagerImpl.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/RecoveryManagerImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/RecoveryManagerImpl.cpp b/cpp/src/qpid/broker/RecoveryManagerImpl.cpp index 1e3168137e..65583f1964 100644 --- a/cpp/src/qpid/broker/RecoveryManagerImpl.cpp +++ b/cpp/src/qpid/broker/RecoveryManagerImpl.cpp @@ -41,7 +41,7 @@ RecoveryManagerImpl::~RecoveryManagerImpl() {} class RecoverableMessageImpl : public RecoverableMessage { - Message::shared_ptr msg; + intrusive_ptr<Message> msg; const uint64_t stagingThreshold; public: RecoverableMessageImpl(Message::shared_ptr& _msg, uint64_t _stagingThreshold) |
