1.0.25.23: more allocation checks
[sbcl.git] / src / runtime / gencgc.c
index 9680743..5d687f4 100644 (file)
@@ -4771,6 +4771,7 @@ general_alloc(long nbytes, int page_type_flag)
 lispobj *
 alloc(long nbytes)
 {
+    gc_assert(get_pseudo_atomic_atomic(arch_os_get_current_thread()));
     return general_alloc(nbytes, BOXED_PAGE_FLAG);
 }
 \f