server/acl/acl_commands_def.h has bunch of tables allocated before main is even started.
I do not like it because it forces memory allocator to initialize before we even configure it.
Please change the initialization code so that it would be called explicitly from, say, Service c-tor.
Also, please refer to the following guidelines regarding global variables:
server/acl/acl_commands_def.h
has bunch of tables allocated before main is even started.I do not like it because it forces memory allocator to initialize before we even configure it. Please change the initialization code so that it would be called explicitly from, say,
Service
c-tor.Also, please refer to the following guidelines regarding global variables:
[1] https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables [2] https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Ri-global-init
On my development machine, the dragonfly process gets stuck in release mode in the following stack-trace: