diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-09-21 15:49:22 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-09-24 09:22:06 +0100 |
commit | 0b79d5cd4687dacf7efd430df7fba9d9a5a5ce32 (patch) | |
tree | 3efb44ff81ea3ed7496215961b4e57919375b77b /includes | |
parent | 673b6f50eca6f53cfb13b00e587c403c716baba1 (diff) | |
download | haskell-0b79d5cd4687dacf7efd430df7fba9d9a5a5ce32.tar.gz |
Another overhaul of the recent_activity / idle GC handling (#5991)
Improvements:
- we now turn off the timer signal in the non-threaded RTS after
idleGCDelay. This should make the xmonad users on #5991 happy.
- we now turn off the timer signal after idleGCDelay even if the
idle GC is disabled with +RTS -I0.
- we now do *not* turn off the timer when profiling.
- more comments to explain the meaning of the various ACTIVITY_*
values
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/Flags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index da71a4bf83..9ca7fb9f7e 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -53,6 +53,7 @@ struct GC_FLAGS { rtsBool frontpanel; Time idleGCDelayTime; /* units: TIME_RESOLUTION */ + rtsBool doIdleGC; StgWord heapBase; /* address to ask the OS for memory */ }; |