aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-05-19 15:22:39 +0200
committerHans Bolinder <[email protected]>2017-05-19 15:22:39 +0200
commita237426d43b73d931739d9acb86a17513b44ed3e (patch)
tree82ef5d42521b97e0a734b3a555416ec565b7544f /lib
parentbb4271c82a9ef357ceb361a05ce0d9b282d80bd4 (diff)
parent40a5c8b1dd9e751488c11f47f8c6fe68a4e55aa2 (diff)
downloadotp-a237426d43b73d931739d9acb86a17513b44ed3e.tar.gz
otp-a237426d43b73d931739d9acb86a17513b44ed3e.tar.bz2
otp-a237426d43b73d931739d9acb86a17513b44ed3e.zip
Merge branch 'hasse/kernel/global_read_concurrency/OTP-14419'
* hasse/kernel/global_read_concurrency/OTP-14419: kernel: Create table 'global_names' with read_concurrency
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/global.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/global.erl b/lib/kernel/src/global.erl
index 3d6415036c..a9e92b28b8 100644
--- a/lib/kernel/src/global.erl
+++ b/lib/kernel/src/global.erl
@@ -447,7 +447,8 @@ info() ->
init([]) ->
process_flag(trap_exit, true),
_ = ets:new(global_locks, [set, named_table, protected]),
- _ = ets:new(global_names, [set, named_table, protected]),
+ _ = ets:new(global_names, [set, named_table, protected,
+ {read_concurrency, true}]),
_ = ets:new(global_names_ext, [set, named_table, protected]),
_ = ets:new(global_pid_names, [bag, named_table, protected]),