Move the global safepoint to one page before static space
[sbcl.git] / src / runtime / gencgc.c
index a89d59c..838bcac 100644 (file)
@@ -4019,6 +4019,10 @@ gc_init(void)
 {
     page_index_t i;
 
+#if defined(LISP_FEATURE_SB_SAFEPOINT)
+    alloc_gc_page();
+#endif
+
     /* Compute the number of pages needed for the dynamic space.
      * Dynamic space size should be aligned on page size. */
     page_table_pages = dynamic_space_size/GENCGC_CARD_BYTES;