Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e61549bd
Commit
e61549bd
authored
Mar 13, 1997
by
sof
Browse files
[project @ 1997-03-13 08:01:14 by sof]
Inc. SM_MAXROOTS setting to make room for StablePointerTable
parent
97afd5df
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/includes/SMinterface.lh
View file @
e61549bd
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment