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
Environments
Terraform modules
Monitor
Incidents
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
Alexander Kaznacheev
GHC
Commits
08096205
Commit
08096205
authored
3 years ago
by
Alexander Kaznacheev
Browse files
Options
Downloads
Patches
Plain Diff
Add --arbitrary-heap-start description to runtime_control.rst and rts/RtsFlags.c
parent
598492b2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/users_guide/runtime_control.rst
+12
-0
12 additions, 0 deletions
docs/users_guide/runtime_control.rst
rts/RtsFlags.c
+4
-0
4 additions, 0 deletions
rts/RtsFlags.c
with
16 additions
and
0 deletions
docs/users_guide/runtime_control.rst
+
12
−
0
View file @
08096205
...
...
@@ -721,6 +721,18 @@ performance.
the default small ``-A`` value is suboptimal, as it can be in
programs that create large amounts of long-lived data.
.. rts-flag:: --arbitrary-heap-start
:default: disabled
:since: 9.4
.. index::
single: arbitrary heap start
By default heap base offset for the garbage collector is selected above 0x200000000
because otherwise it can clash with third-party libraries.
When enabled this option relaxes this restriction.
.. rts-flag:: -I ⟨seconds⟩
:default: 0.3 seconds in the threaded runtime, 0 in the non-threaded runtime
...
...
This diff is collapsed.
Click to expand it.
rts/RtsFlags.c
+
4
−
0
View file @
08096205
...
...
@@ -346,6 +346,10 @@ usage_text[] = {
" -xb<addr> Sets the address from which a suitable start for the heap memory"
,
" will be searched from. This is useful if the default address"
,
" clashes with some third-party library."
,
" --arbitrary-heap-start"
,
" By default heap base offset for the garbage collector is selected above 0x200000000"
,
" because otherwise it can clash with third-party libraries."
,
" When enabled this option relaxes this restriction."
,
" -xn Use the non-moving collector for the old generation."
,
" -m<n> Minimum % of heap which must be available (default 3%)"
,
" -G<n> Number of generations (default: 2)"
,
...
...
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