Wireshark-commits: [Wireshark-commits] rev 51104: /trunk/epan/wmem/ /trunk/epan/wmem/: wmem_allocat

Date: Fri, 02 Aug 2013 00:12:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51104

User: eapache
Date: 2013/08/01 05:12 PM

Log:
 Rewrite the merge_free routine to keep the merged chunk on the master free list
 if the right-hand merge target was there originally. This brings memory usage
 down another ~40% when running the heavy test suite.
 
 This also lets us extract the master-list check out of unfree() since it is now
 only relevant at a single caller, and turns unfree into the more understandable
 remove_from_recycler().

Directory: /trunk/epan/wmem/
  Changes    Path                      Action
  +80 -75    wmem_allocator_block.c    Modified