diff options
author | Rickard Green <rickard@erlang.org> | 2010-12-15 00:56:56 +0100 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2010-12-16 12:12:25 +0100 |
commit | 8b18824e2b13e60fb1a067f80dbb228172f6a3d2 (patch) | |
tree | 1a1a5bd6f105eeee03cf38a35d2b9a24c7f20ba8 /erts/emulator/beam/erl_lock_check.c | |
parent | 766c7cabb1545418bf59e8dcfcc1a5fae8b01d40 (diff) | |
download | otp-8b18824e2b13e60fb1a067f80dbb228172f6a3d2.tar.gz otp-8b18824e2b13e60fb1a067f80dbb228172f6a3d2.tar.bz2 otp-8b18824e2b13e60fb1a067f80dbb228172f6a3d2.zip |
Safe deallocation of ETS-table structures
Ensure that all threads potentially accessing an ETS-table have dropped
all references to the table before deallocating it.
Diffstat (limited to 'erts/emulator/beam/erl_lock_check.c')
-rw-r--r-- | erts/emulator/beam/erl_lock_check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_lock_check.c b/erts/emulator/beam/erl_lock_check.c index 04c7dbd2ec..d298fe8f71 100644 --- a/erts/emulator/beam/erl_lock_check.c +++ b/erts/emulator/beam/erl_lock_check.c @@ -177,6 +177,8 @@ static erts_lc_lock_order_t erts_lock_order[] = { { "async_id", NULL }, { "pix_lock", "address" }, { "run_queues_lists", NULL }, + { "misc_aux_work_queue", "index" }, + { "misc_aux_work_pre_alloc_lock", "address" }, { "sched_stat", NULL }, { "run_queue_sleep_list", "address" }, #endif |