Wireshark-commits: [Wireshark-commits] rev 48218: /trunk/ /trunk/epan/: emem.c emem.h proto.c /trun

Date: Sat, 09 Mar 2013 20:02:20 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48218

User: eapache
Date: 2013/03/09 12:02 PM

Log:
 Remove the emem slab feature (sl_* functions) completely, replacing it with
 glib memory slices.
 
 - We weren't doing anything with the emem slab that couldn't be done with glib
   slices.
 - Removes a fair bit of code as well as one debugging environment variable.
 - Glib slices are much cache-friendlier and are multi-threading friendly (if
   we ever go there).
 - Allows glib to actually return slices to the OS on occasion. The emem slab
   would hold onto its memory forever which resulted in a great deal of wasted
   memory after closing a large file.

Directory: /trunk/epan/
  Changes    Path          Action
  +0 -102    emem.c        Modified
  +0 -23     emem.h        Modified
  +6 -17     proto.c       Modified

Directory: /trunk/epan/ftypes/
  Changes    Path          Action
  +1 -5      ftypes.c      Modified
  +1 -3      ftypes.h      Modified

Directory: /trunk/tools/
  Changes    Path                     Action
  +0 -1      valgrind-wireshark.sh    Modified