diff options
author | Lukas Larsson <[email protected]> | 2015-09-28 15:42:22 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2015-09-28 15:43:07 +0200 |
commit | 3f75988488197f7cf3846f9b7705376779728f4c (patch) | |
tree | b59b6cdda87fd4cf26a9f515ec0d75f6049a3f7d | |
parent | 1523be48ab4071b158412f4b06fe9c8d6ba3e73c (diff) | |
download | otp-3f75988488197f7cf3846f9b7705376779728f4c.tar.gz otp-3f75988488197f7cf3846f9b7705376779728f4c.tar.bz2 otp-3f75988488197f7cf3846f9b7705376779728f4c.zip |
erts: Remove assertion that ptab is empty
Another process may already have been placed in this slot
since the free och the process struct can be scheduled for
later.
-rw-r--r-- | erts/emulator/beam/erl_process_lock.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/emulator/beam/erl_process_lock.h b/erts/emulator/beam/erl_process_lock.h index 788348e613..a64c993e8f 100644 --- a/erts/emulator/beam/erl_process_lock.h +++ b/erts/emulator/beam/erl_process_lock.h @@ -854,9 +854,6 @@ ERTS_GLB_INLINE void erts_proc_dec_refc(Process *p) #endif if (!referred) { ASSERT(ERTS_PROC_IS_EXITING(p)); - ASSERT(ERTS_AINT_NULL - == erts_ptab_pix2intptr_ddrb(&erts_proc, - internal_pid_index(p->common.id))); erts_free_proc(p); } } @@ -872,9 +869,6 @@ ERTS_GLB_INLINE void erts_proc_add_refc(Process *p, Sint add_refc) #endif if (!referred) { ASSERT(ERTS_PROC_IS_EXITING(p)); - ASSERT(ERTS_AINT_NULL - == erts_ptab_pix2intptr_ddrb(&erts_proc, - internal_pid_index(p->common.id))); erts_free_proc(p); } } |