httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: Mod_MEM_cache doesn't use Pools to allocate cache objects???
Date Tue, 08 Mar 2005 14:03:12 GMT
luca regini wrote:
> Taking a look at mod_mem_cache source code i have seen that it doesn't
> use pools to allocate cache objects but i does so by means of
> reference counting and simple calloc/free calls. I  have also seen
> that this module requires a Threaded apr to work. I am wondering the
> reasons of this design choices. 

If you allocate the cache objects out of a pool, what happens to the memory when stale objects
are garbage 
collected?



Mime
View raw message