[OpenSIPS/opensips] 9349a0: OPS-6: Add new "allocator" cmdline options (-a, -k...

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

[OpenSIPS/opensips] 9349a0: OPS-6: Add new "allocator" cmdline options (-a, -k...

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

  Changed paths:
    M main.c
    M mem/common.c
    M mem/common.h
    M mem/mem.c
    M mem/mem.h
    M mem/shm_mem.c
    M mem/shm_mem.h

  Log Message:
  -----------
  OPS-6: Add new "allocator" cmdline options (-a, -k, -s)

Description:
    * -a, sets the global allocator
    * -k, sets the PKG allocator, overrides -a
    * -s, sets the SHM allocator, overrides -a

The maximally supported set of string values for each of these options:
    * F_MALLOC
    * F_MALLOC_DBG
    * Q_MALLOC
    * Q_MALLOC_DBG
    * HP_MALLOC
    * HP_MALLOC_DBG
            (case-insensitive matching)

Now, depending whether OpenSIPS was compiled in a more optimized manner,
with less allocators, some of these values MAY not be available, case in
which appropriate error logs will be printed at startup.



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