[OpenSIPS/opensips] 243fce: OPS-6: HP_MALLOC - don't always allocate the stats...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] 243fce: OPS-6: HP_MALLOC - don't always allocate the stats...

Vlad Pătrașcu
  Branch: refs/heads/feature/selectable-allocator
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 243fcee7abbfeb7595a77263d9b8fa8a8bde259b
      https://github.com/OpenSIPS/opensips/commit/243fcee7abbfeb7595a77263d9b8fa8a8bde259b
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
    M mem/hp_malloc.c
    M mem/hp_malloc_dyn.h
    M mem/hp_malloc_stats.c
    M mem/hp_malloc_stats.h

  Log Message:
  -----------
  OPS-6: HP_MALLOC - don't always allocate the stats lock

This lock is only required when HP_MALLOC_FAST_STATS is enabled, which
gives lockless mem stats, but with come at a price of reduced precision.



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel