Improve performance of RBT (#41165)
(cherry picked from commit 5d79b60fc5)
This commit is contained in:
@@ -57,6 +57,7 @@ isc_socketmgr_t *socketmgr = NULL;
|
||||
dns_zonemgr_t *zonemgr = NULL;
|
||||
isc_boolean_t app_running = ISC_FALSE;
|
||||
int ncpus;
|
||||
isc_boolean_t debug_mem_record = ISC_TRUE;
|
||||
|
||||
static isc_boolean_t hash_active = ISC_FALSE, dst_active = ISC_FALSE;
|
||||
|
||||
@@ -115,7 +116,8 @@ dns_test_begin(FILE *logfile, isc_boolean_t start_managers) {
|
||||
|
||||
if (start_managers)
|
||||
CHECK(isc_app_start());
|
||||
isc_mem_debugging |= ISC_MEM_DEBUGRECORD;
|
||||
if (debug_mem_record)
|
||||
isc_mem_debugging |= ISC_MEM_DEBUGRECORD;
|
||||
CHECK(isc_mem_create(0, 0, &mctx));
|
||||
CHECK(isc_entropy_create(mctx, &ectx));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user