aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc_util.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-12-02 17:20:00 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-12-02 17:20:00 +0100
commit7d161f5b475575bd79bd90977b3a79334a8ec658 (patch)
treec7cf42b6e0ed3c203f0f5db3b8ce741d4c719744 /erts/emulator/beam/erl_alloc_util.c
parent8e5c762d597b9a3ba4d78bcf57ebe379ad666599 (diff)
downloadotp-7d161f5b475575bd79bd90977b3a79334a8ec658.tar.gz
otp-7d161f5b475575bd79bd90977b3a79334a8ec658.tar.bz2
otp-7d161f5b475575bd79bd90977b3a79334a8ec658.zip
erts: Remove unnecessary 'enable_lcnt' option in locks
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.c')
-rw-r--r--erts/emulator/beam/erl_alloc_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index 61cce224dd..d346f8c8b6 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -6134,18 +6134,18 @@ erts_alcu_start(Allctr_t *allctr, AllctrInit_t *init)
#ifdef USE_THREADS
if (init->ts) {
allctr->thread_safe = 1;
-
+
#ifdef ERTS_ENABLE_LOCK_COUNT
erts_mtx_init_x_opt(&allctr->mutex,
"alcu_allocator",
make_small(allctr->alloc_no),
- ERTS_LCNT_LT_ALLOC,1);
+ ERTS_LCNT_LT_ALLOC);
#else
erts_mtx_init_x(&allctr->mutex,
"alcu_allocator",
- make_small(allctr->alloc_no),1);
+ make_small(allctr->alloc_no));
#endif /*ERTS_ENABLE_LOCK_COUNT*/
-
+
#ifdef DEBUG
allctr->debug.saved_tid = 0;
#endif