aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-11-02 17:29:54 +0100
committerSverker Eriksson <[email protected]>2015-11-02 17:31:14 +0100
commit15af6b28beded3b253860b4ea5a7debe2c662674 (patch)
tree795d4b993f250cc915d8158f7fda40a88fe4318d /erts
parentfe1df7fc6bf050cb6c9bbd99eb9393c426b62f67 (diff)
downloadotp-15af6b28beded3b253860b4ea5a7debe2c662674.tar.gz
otp-15af6b28beded3b253860b4ea5a7debe2c662674.tar.bz2
otp-15af6b28beded3b253860b4ea5a7debe2c662674.zip
erts: Remove faulty ASSERT in erts_proc_*_refc
There is no guarantee that the ptab-slot in not reused when we finally deallocates the process struct.
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_process_lock.h6
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);
}
}