summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-09-21 15:49:22 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-09-24 09:22:06 +0100
commit0b79d5cd4687dacf7efd430df7fba9d9a5a5ce32 (patch)
tree3efb44ff81ea3ed7496215961b4e57919375b77b /includes
parent673b6f50eca6f53cfb13b00e587c403c716baba1 (diff)
downloadhaskell-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.h1
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 */
};