Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
9f6812b3
Commit
9f6812b3
authored
26 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-12-14 14:57:28 by simonm]
fix out of date references to header files.
parent
688c1dd3
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/docs/users_guide/runtime_control.vsgml
+3
-2
3 additions, 2 deletions
ghc/docs/users_guide/runtime_control.vsgml
with
3 additions
and
2 deletions
ghc/docs/users_guide/runtime_control.vsgml
+
3
−
2
View file @
9f6812b3
...
...
@@ -254,7 +254,8 @@ default heap and/or stack size that is greater than the default. For
example, to set @-H8m -K1m@:
<tscreen><verb>
#include "rtsdefs.h"
#include "Rts.h"
#include "RtsFlags.h"
void defaultsHook (void) {
RTSflags.GcFlags.stksSize = 1000002 / sizeof(W_);
RTSflags.GcFlags.heapSize = 8000002 / sizeof(W_);
...
...
@@ -263,7 +264,7 @@ void defaultsHook (void) {
Don't use powers of two for heap/stack sizes: these are more likely to
interact badly with direct-mapped caches. The full set of flags is
defined in @ghc/
include
s/RtsFlags.
l
h@ the the GHC source tree.
defined in @ghc/
rt
s/RtsFlags.h@ the the GHC source tree.
You can also change the messages printed when the runtime system
``blows up,'' e.g., on stack overflow. The hooks for these are as
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment