aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.c')
-rw-r--r--erts/emulator/beam/erl_alloc_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index daf8822564..af386c9197 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -482,9 +482,7 @@ do { \
else { \
ERTS_SMP_LC_ASSERT( \
ethr_equal_tids((A)->debug.tid, erts_thr_self()) \
- || erts_is_system_blocked(ERTS_BS_FLG_ALLOW_GC) \
- || (ERTS_IS_CRASH_DUMPING \
- && erts_is_system_blocked(ERTS_BS_FLG_ALLOW_GC))); \
+ || erts_thr_progress_is_blocking()); \
} \
} \
} while (0)