aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_lock_check.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2012-07-25 22:27:26 +0200
committerRickard Green <[email protected]>2012-07-31 17:03:32 +0200
commit6e24f2dcb8095aeed157d66204a2e5bace90863b (patch)
treea33cc33eedb6dd093500b292259bd638b59b438f /erts/emulator/beam/erl_lock_check.c
parent146d7cb4821a9c2c864b91c78de2e58f79918c63 (diff)
downloadotp-6e24f2dcb8095aeed157d66204a2e5bace90863b.tar.gz
otp-6e24f2dcb8095aeed157d66204a2e5bace90863b.tar.bz2
otp-6e24f2dcb8095aeed157d66204a2e5bace90863b.zip
Use static allocation of process lock queues
By using statically allocated lock queues there is no longer any need for locking corresponding pix lock when process locks have been transferred after a wait. This costs us 3 words extra in process structure, but improves performance during contention.
Diffstat (limited to 'erts/emulator/beam/erl_lock_check.c')
-rw-r--r--erts/emulator/beam/erl_lock_check.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_lock_check.c b/erts/emulator/beam/erl_lock_check.c
index a0f744be9d..b545ec07c0 100644
--- a/erts/emulator/beam/erl_lock_check.c
+++ b/erts/emulator/beam/erl_lock_check.c
@@ -175,9 +175,6 @@ static erts_lc_lock_order_t erts_lock_order[] = {
{ "sched_stat", NULL },
#endif
{ "async_init_mtx", NULL },
-#ifdef ERTS_SMP
- { "proc_lck_qs_alloc", NULL },
-#endif
#ifdef __WIN32__
#ifdef DEBUG
{ "save_ops_lock", NULL },