Fix a bug which sometimes caused extra major GCs to be performed
authorSimon Marlow <marlowsd@gmail.com>
Mon, 9 Mar 2009 14:00:04 +0000 (14:00 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 9 Mar 2009 14:00:04 +0000 (14:00 +0000)
commit73e88c2a30cbb2fc9cf8c394c620c0f3edcdd0eb
tree8c2b130170d74bee398d7e97f483842fbea876f7
parent9fe7b8ea2136a4a07752b2851840c9366706f832
Fix a bug which sometimes caused extra major GCs to be performed
A long-running GC would cause the timer signal to declare the system
to be idle, which would cause a major GC immediately following the
current GC.  This only happened with +RTS -N2 or greater.
rts/Schedule.c
rts/sm/GC.c
rts/sm/GC.h