diff options
author | Sverker Eriksson <[email protected]> | 2013-04-15 14:07:42 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-04-15 14:07:42 +0200 |
commit | 4caf3f8b94a38e738314f484d18b531dfa16ff8a (patch) | |
tree | 76a9ad62cec2628baef0288eb808b64196ac9688 /erts/emulator/beam/binary.c | |
parent | 0e9c7394b12d627b08a5f1acd1ba1c21dbfd6e2a (diff) | |
download | otp-4caf3f8b94a38e738314f484d18b531dfa16ff8a.tar.gz otp-4caf3f8b94a38e738314f484d18b531dfa16ff8a.tar.bz2 otp-4caf3f8b94a38e738314f484d18b531dfa16ff8a.zip |
erts: Fix locking order violation for allocation wrappers
Some query functions in erl_alloc_util.c lock the allocator mutex
and then use erts_printf that in turn may call the sys allocator
through the wrappers. To avoid breaking locking order these
query functions first "pre-locks" all allocator wrappers.
Diffstat (limited to 'erts/emulator/beam/binary.c')
0 files changed, 0 insertions, 0 deletions