diff options
author | Hans Bolinder <[email protected]> | 2017-05-19 15:22:39 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-05-19 15:22:39 +0200 |
commit | a237426d43b73d931739d9acb86a17513b44ed3e (patch) | |
tree | 82ef5d42521b97e0a734b3a555416ec565b7544f | |
parent | bb4271c82a9ef357ceb361a05ce0d9b282d80bd4 (diff) | |
parent | 40a5c8b1dd9e751488c11f47f8c6fe68a4e55aa2 (diff) | |
download | otp-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
-rw-r--r-- | lib/kernel/src/global.erl | 3 |
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]), |