summaryrefslogtreecommitdiff
path: root/rts/RtsFlags.c
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2020-01-17 10:27:49 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-20 15:31:33 -0500
commit0499e3bcd0ea04b7371cee56a8aea1781e9e371f (patch)
tree7f706bf2f13d26a2a80d5eaebb33e95ca194f1f1 /rts/RtsFlags.c
parenta71323ffebf7663c50025d2731bf9de2d04f82c3 (diff)
downloadhaskell-0499e3bcd0ea04b7371cee56a8aea1781e9e371f.tar.gz
Fix +RTS -Z flag documentation
Stack squeezing is done on context switch, not on GC or stack overflow. Fix the documentation. Fixes #17685 [ci skip]
Diffstat (limited to 'rts/RtsFlags.c')
-rw-r--r--rts/RtsFlags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index 911cf32969..fe118ea5f0 100644
--- a/rts/RtsFlags.c
+++ b/rts/RtsFlags.c
@@ -324,7 +324,7 @@ usage_text[] = {
" -S[<file>] Detailed GC statistics (if <file> omitted, uses stderr)",
"",
"",
-" -Z Don't squeeze out update frames on stack overflow",
+" -Z Don't squeeze out update frames on context switch",
" -B Sound the bell at the start of each garbage collection",
#if defined(PROFILING)
"",