aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_lock_check.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-02-10 18:22:42 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:09 +0100
commitc4a8cc5914157c70ced742d957ec0e8d9c618164 (patch)
tree0ff4584ccb1d512b3fd48f596414f505d708c35f /erts/emulator/beam/erl_lock_check.c
parent7da22e299ad0d2d6bf389650f4d74f4f22242111 (diff)
downloadotp-c4a8cc5914157c70ced742d957ec0e8d9c618164.tar.gz
otp-c4a8cc5914157c70ced742d957ec0e8d9c618164.tar.bz2
otp-c4a8cc5914157c70ced742d957ec0e8d9c618164.zip
erts: Suspend processes waiting for code_ix lock
This will prevent blocking entrire schedulers in the rare case when several processes are racing to load/upgrade/delete/purge code.
Diffstat (limited to 'erts/emulator/beam/erl_lock_check.c')
-rw-r--r--erts/emulator/beam/erl_lock_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_lock_check.c b/erts/emulator/beam/erl_lock_check.c
index 772d3a03b2..8c7e1f36ee 100644
--- a/erts/emulator/beam/erl_lock_check.c
+++ b/erts/emulator/beam/erl_lock_check.c
@@ -84,7 +84,6 @@ static erts_lc_lock_order_t erts_lock_order[] = {
{ "reg_tab", NULL },
{ "migration_info_update", NULL },
{ "proc_main", "pid" },
- { "sverk_code_ix_lock", NULL }, /*SVERK FIXME */
{ "old_code", "address" },
#ifdef HIPE
{ "hipe_mfait_lock", NULL },
@@ -95,6 +94,7 @@ static erts_lc_lock_order_t erts_lock_order[] = {
{ "proc_msgq", "pid" },
{ "dist_entry", "address" },
{ "dist_entry_links", "address" },
+ { "code_ix_queue", NULL },
{ "proc_status", "pid" },
{ "proc_tab", NULL },
{ "ports_snapshot", NULL },