From 129e61564807c0ad43faf9d0c36260c793501920 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 11 Oct 2018 23:34:49 +0200 Subject: erts: Add erts_debug feature 'ets_force_split' to easier generate a routing tree for test without having to spend cpu to provoke actual repeated lock conflicts. --- erts/emulator/beam/erl_db_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'erts/emulator/beam/erl_db_util.h') diff --git a/erts/emulator/beam/erl_db_util.h b/erts/emulator/beam/erl_db_util.h index be74bc795c..dcffaf9718 100644 --- a/erts/emulator/beam/erl_db_util.h +++ b/erts/emulator/beam/erl_db_util.h @@ -290,6 +290,8 @@ typedef struct db_table_common { #define DB_NAMED_TABLE (1 << 11) #define DB_BUSY (1 << 12) +#define DB_CATREE_FORCE_SPLIT (1 << 31) /* erts_debug */ + #define IS_HASH_TABLE(Status) (!!((Status) & \ (DB_BAG | DB_SET | DB_DUPLICATE_BAG))) #define IS_TREE_TABLE(Status) (!!((Status) & \ -- cgit v1.2.3