aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_lock_count.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-11-25 15:23:36 +0100
committerRickard Green <[email protected]>2016-11-25 15:23:36 +0100
commitf8aef2dcae7162b59efb9513442c9643c9f5159e (patch)
treeab9bd428a532f400923cacc32a7f87ccc9bb70a2 /erts/emulator/beam/erl_lock_count.c
parent9e0d9398d51afc7fc6fafbcbd0a6a8bdeeb3802f (diff)
parentca7578aca806a6eb3e816c918120db78f485f5cb (diff)
downloadotp-f8aef2dcae7162b59efb9513442c9643c9f5159e.tar.gz
otp-f8aef2dcae7162b59efb9513442c9643c9f5159e.tar.bz2
otp-f8aef2dcae7162b59efb9513442c9643c9f5159e.zip
Merge branch 'rickard/init-bug/OTP-13911' into maint
* rickard/init-bug/OTP-13911: Fix initialization dependencies between time, lock-check and lcnt Conflicts: erts/emulator/sys/unix/sys.c
Diffstat (limited to 'erts/emulator/beam/erl_lock_count.c')
-rw-r--r--erts/emulator/beam/erl_lock_count.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_lock_count.c b/erts/emulator/beam/erl_lock_count.c
index a00e0f0fff..481e92b2cd 100644
--- a/erts/emulator/beam/erl_lock_count.c
+++ b/erts/emulator/beam/erl_lock_count.c
@@ -274,11 +274,11 @@ void erts_lcnt_init() {
lcnt_unlock();
- /* set start timer and zero statistics */
- erts_lcnt_clear_counters();
}
void erts_lcnt_late_init() {
+ /* set start timer and zero statistics */
+ erts_lcnt_clear_counters();
erts_thr_install_exit_handler(erts_lcnt_thread_exit_handler);
}