Wireshark-commits: [Wireshark-commits] master abc3879: Reintroduce wmem_allocator_force_new

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 2 May 2014 14:37:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=abc387934b743dc45f0bde93fb8c6d0a9a06aae7
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

abc3879 by Evan Huus (eapache@xxxxxxxxx):

    Reintroduce wmem_allocator_force_new
    
    We now have to call wmem_init in order to randomly seed the values for wmem_map.
    This means we can no longer rely on the lack of override, so we have to force
    the right allocator type when testing/timing the allocators themselves.
    
    Change-Id: I005034465b0a98f19876899b96ef65b3e4b1d759
    Reviewed-on: https://code.wireshark.org/review/1468
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  f181756   Optimize wmem_strbuf_grow.
    adds  abc3879   Reintroduce wmem_allocator_force_new


Summary of changes:
 epan/wmem/wmem_test.c |   40 ++++++++++++++++++++++++++++++++++++----
 1 file changed, 36 insertions(+), 4 deletions(-)