Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f14bb50b
Commit
f14bb50b
authored
Dec 17, 2019
by
Ben Gamari
🐢
Committed by
Marge Bot
Dec 30, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rts: Ensure that nonmoving gc isn't used with profiling
parent
2528e684
Pipeline
#14096
failed with stages
in 448 minutes and 52 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
docs/users_guide/runtime_control.rst
docs/users_guide/runtime_control.rst
+2
-2
rts/RtsFlags.c
rts/RtsFlags.c
+5
-0
No files found.
docs/users_guide/runtime_control.rst
View file @
f14bb50b
...
...
@@ -372,8 +372,8 @@ performance.
collections. Under this collection strategy oldest-generation garbage
collection can proceed concurrently with mutation.
Note that :rts-flag:`-
-
nonmoving-gc` cannot be used with ``-G1``
nor
:rts-flag:`-c`.
Note that :rts-flag:`-nonmoving-gc` cannot be used with ``-G1``
,
:rts-flag:`profiling <-hc>` nor
:rts-flag:`-c`.
.. rts-flag:: -xn
...
...
rts/RtsFlags.c
View file @
f14bb50b
...
...
@@ -1738,6 +1738,11 @@ static void normaliseRtsOpts (void)
barf
(
"The non-moving collector doesn't support -G1"
);
}
if
(
RtsFlags
.
ProfFlags
.
doHeapProfile
!=
NO_HEAP_PROFILING
&&
RtsFlags
.
GcFlags
.
useNonmoving
)
{
barf
(
"The non-moving collector doesn't support profiling"
);
}
if
(
RtsFlags
.
GcFlags
.
compact
&&
RtsFlags
.
GcFlags
.
useNonmoving
)
{
errorBelch
(
"The non-moving collector cannot be used in conjunction with
\n
"
"the compacting collector."
);
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!2337 (closed)
·
Dec 30, 2019
mentioned in merge request
!2337 (closed)
mentioned in merge request !2337
Toggle commit list
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