[project @ 1997-03-13 08:01:14 by sof]
authorsof <unknown>
Thu, 13 Mar 1997 08:01:14 +0000 (08:01 +0000)
committersof <unknown>
Thu, 13 Mar 1997 08:01:14 +0000 (08:01 +0000)
Inc. SM_MAXROOTS setting to make room for StablePointerTable

ghc/includes/SMinterface.lh

index a6c4c0f..88a7eb7 100644 (file)
@@ -78,14 +78,14 @@ Question: Where are the stable pointer roots? (JSM)
 Answer: They're on the heap in a "Stable Pointer Table". (ADR)
 \begin{code}
 #ifndef CONCURRENT
-# define SM_MAXROOTS 8         /* 8 Vanilla Regs */
+# define SM_MAXROOTS 9         /* 8 Vanilla Regs + stable pointer table*/
 #else
 # ifndef PAR
 #   ifdef GRAN
 #    define SM_MAXROOTS (10 + (MAX_PROC*2) + 2 )
                     /* unthreaded + hd/tl thread queues + Current/Main TSOs */
 #   else
-#     define SM_MAXROOTS 5      /* See c-as-asm/HpOverflow.lc */
+#     define SM_MAXROOTS 6      /* See c-as-asm/HpOverflow.lc */
 #   endif
 # else
 #  define SM_MAXROOTS 6         /* See c-as-asm/HpOverflow.lc */