Skip to content
  • Nick Mathewson's avatar
    r14061@tombo: nickm | 2008-02-08 14:30:42 -0500 · 809227a1
    Nick Mathewson authored
     Add a couple of (currently disabled) strategies for trying to avoid using too much ram in memory pools: prefer putting new cells in almost-full chunks, and be willing to free the last empty chunk if we have not needed it for a while.  Also add better output to mp_pool_log_status to track how many mallocs a given memory pool strategy is saving us, so we can tune the mempool parameters.