Add sys_parameter: _force_explict_500_malloc && Make the 500 anti-fallback test effective

This commit is contained in:
obdev
2023-06-06 04:12:22 +00:00
committed by ob-robot
parent 56e4920428
commit 6307df5985
18 changed files with 95 additions and 120 deletions

View File

@ -239,6 +239,10 @@ int ObServerReloadConfig::operator()()
}
}
#ifndef ENABLE_SANITY
{
ObMallocAllocator::get_instance()->force_explict_500_malloc_ =
GCONF._force_explict_500_malloc;
}
#else
{
sanity_set_whitelist(GCONF.sanity_whitelist.str());