diff options
author | Sverker Eriksson <[email protected]> | 2012-02-10 18:22:42 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:23:09 +0100 |
commit | c4a8cc5914157c70ced742d957ec0e8d9c618164 (patch) | |
tree | 0ff4584ccb1d512b3fd48f596414f505d708c35f /erts/emulator/beam/erl_alloc.types | |
parent | 7da22e299ad0d2d6bf389650f4d74f4f22242111 (diff) | |
download | otp-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_alloc.types')
-rw-r--r-- | erts/emulator/beam/erl_alloc.types | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.types b/erts/emulator/beam/erl_alloc.types index 1b697d604c..de7d5599bb 100644 --- a/erts/emulator/beam/erl_alloc.types +++ b/erts/emulator/beam/erl_alloc.types @@ -264,6 +264,7 @@ type ZLIB STANDARD SYSTEM zlib type CPU_GRPS_MAP LONG_LIVED SYSTEM cpu_groups_map type AUX_WORK_TMO LONG_LIVED SYSTEM aux_work_timeouts type MISC_AUX_WORK_Q LONG_LIVED SYSTEM misc_aux_work_q +type CODE_IX_LOCK_Q SHORT_LIVED SYSTEM code_ix_lock_q +if threads_no_smp # Need thread safe allocs, but std_alloc and fix_alloc are not; |