Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3e140bdf
Commit
3e140bdf
authored
Jun 16, 2008
by
Simon Marlow
Browse files
don't try to parallelise marking GC (yet)
parent
4d15b247
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GC.c
View file @
3e140bdf
...
...
@@ -243,10 +243,10 @@ GarbageCollect ( rtsBool force_major_gc )
start_gc_threads
();
/* How many threads will be participating in this GC?
* We don't try to parallelise minor GC.
* We don't try to parallelise minor
GC, or mark/compact/sweep
GC.
*/
#if defined(THREADED_RTS)
if
(
n
<
(
4
*
1024
*
1024
/
BLOCK_SIZE
))
{
if
(
n
<
(
4
*
1024
*
1024
/
BLOCK_SIZE
)
||
oldest_gen
->
steps
[
0
].
mark
)
{
n_gc_threads
=
1
;
}
else
{
n_gc_threads
=
RtsFlags
.
ParFlags
.
gcThreads
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment