Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
150d5559
Commit
150d5559
authored
Aug 17, 2001
by
simonmar
Browse files
[project @ 2001-08-17 15:46:54 by simonmar]
bugfix for -G1
parent
25f71699
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/GC.c
View file @
150d5559
/* -----------------------------------------------------------------------------
* $Id: GC.c,v 1.12
0
2001/08/1
4
1
3
:4
0:09 sewardj
Exp $
* $Id: GC.c,v 1.12
1
2001/08/1
7
1
5
:4
6:54 simonmar
Exp $
*
* (c) The GHC Team 1998-1999
*
...
...
@@ -848,8 +848,9 @@ GarbageCollect ( void (*get_roots)(evac_fn), rtsBool force_major_gc )
*/
blocks
=
g0s0
->
n_to_blocks
;
if
(
blocks
*
RtsFlags
.
GcFlags
.
oldGenFactor
*
2
>
RtsFlags
.
GcFlags
.
maxHeapSize
)
{
if
(
RtsFlags
.
GcFlags
.
maxHeapSize
!=
0
&&
blocks
*
RtsFlags
.
GcFlags
.
oldGenFactor
*
2
>
RtsFlags
.
GcFlags
.
maxHeapSize
)
{
long
adjusted_blocks
;
// signed on purpose
int
pc_free
;
...
...
Write
Preview
Supports
Markdown
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