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

Liviu Chircu noreply at github.com
Fri Mar 15 11:16:17 EDT 2019


  Branch: refs/heads/feature/selectable-allocator
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 243fcee7abbfeb7595a77263d9b8fa8a8bde259b
      https://github.com/OpenSIPS/opensips/commit/243fcee7abbfeb7595a77263d9b8fa8a8bde259b
  Author: Liviu Chircu <liviu at opensips.org>
  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.





More information about the Devel mailing list