Author: gsim
Date: Tue Jun 19 09:21:07 2007
New Revision: 548786

URL: http://svn.apache.org/viewvc?view=rev&rev=548786
Log:
Blocked revisions 540511 via svnmerge

........
  r540511 | gsim | 2007-05-22 10:50:45 +0100 (Tue, 22 May 2007) | 11 lines
  
  Patch submitted to qpid-dev by [EMAIL PROTECTED] Fixes concurrency issues 
arising from previous move to use singleton apr pool.
  
  "My patch does three things:
  
  1) Modifies the APRPool class to use alloc/free semantics for APR memory 
pools. Each time a caller calls APRPool::get() they'll their own pool 
reference. I've fixed up all the call sites I can find to also call 
APRPool::free() at the appropriate time.
  
  2) Caches freed APR memory pools in a STL stack. This cuts down on the number 
of memory pools created overall.
  
  3) As a result of doing #1 and #2 I've introduced a guard mutex around 
APRPool::get() and APRPool::free(). This is to prevent concurrent access to the 
memory pool cache. If it's too heavyweight, the mutex along with the caching 
mechanism could be removed entirely."
........

Modified:
    incubator/qpid/trunk/qpid/   (props changed)

Propchange: incubator/qpid/trunk/qpid/
------------------------------------------------------------------------------
--- svnmerge-blocked (original)
+++ svnmerge-blocked Tue Jun 19 09:21:07 2007
@@ -1 +1 @@
-/incubator/qpid/branches/M2:532787,532791,537171,540169 
/incubator/qpid/branches/qpid.0-9:492777,496596
+/incubator/qpid/branches/M2:532787,532791,537171,540169,540511 
/incubator/qpid/branches/qpid.0-9:492777,496596


Reply via email to