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_catree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'erts/emulator/beam/erl_db_catree.h') diff --git a/erts/emulator/beam/erl_db_catree.h b/erts/emulator/beam/erl_db_catree.h index e3d574589c..feb6f27980 100644 --- a/erts/emulator/beam/erl_db_catree.h +++ b/erts/emulator/beam/erl_db_catree.h @@ -120,6 +120,8 @@ TreeDbTerm** catree_find_last_root(CATreeRootIterator*); void erts_lcnt_enable_db_catree_lock_count(DbTableCATree *tb, int enable); #endif +void db_catree_force_split(DbTableCATree*, int on); + typedef struct { Uint route_nodes; Uint base_nodes; -- cgit v1.2.3