aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-06-02 09:53:20 +0200
committerJohn Högberg <[email protected]>2017-06-02 09:53:20 +0200
commita32b73392674348a6b19347b73da52755a2587dc (patch)
tree3c2306cf5adb2cd21c1b0b4c8dea77c6a077e234 /erts
parentb4deffdaa19d44d674757fedf36410dcea595626 (diff)
parenta261e4f4eda13f6edb37349b18e096694a86e29a (diff)
downloadotp-a32b73392674348a6b19347b73da52755a2587dc.tar.gz
otp-a32b73392674348a6b19347b73da52755a2587dc.tar.bz2
otp-a32b73392674348a6b19347b73da52755a2587dc.zip
Merge branch 'john/erts/lcnt-table-name/ERIERL-22/OTP-14442'
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_db_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_hash.c b/erts/emulator/beam/erl_db_hash.c
index 08a0f0e83b..0addfaa3c7 100644
--- a/erts/emulator/beam/erl_db_hash.c
+++ b/erts/emulator/beam/erl_db_hash.c
@@ -676,7 +676,7 @@ int db_create_hash(Process *p, DbTable *tbl)
sizeof(DbTableHashFineLocks));
for (i=0; i<DB_HASH_LOCK_CNT; ++i) {
erts_smp_rwmtx_init_opt_x(&tb->locks->lck_vec[i].lck, &rwmtx_opt,
- "db_hash_slot", make_small(i));
+ "db_hash_slot", tb->common.the_name);
}
/* This important property is needed to guarantee the two buckets
* involved in a grow/shrink operation it protected by the same lock: