summaryrefslogtreecommitdiff
path: root/rts/Threads.c
diff options
context:
space:
mode:
authorFlaviu Andrei Csernik (archblob) <fcsernik@gmail.com>2015-06-12 11:45:55 -0500
committerAustin Seipp <austin@well-typed.com>2015-06-12 11:45:56 -0500
commit892c3e98bcef50aa56ec818f4d001aee36e05bbc (patch)
tree7ab6172ee068d9e33e65283b151c56404eb1b65a /rts/Threads.c
parentd20031d4c88b256cdae264cb05d9d850e973d956 (diff)
downloadhaskell-892c3e98bcef50aa56ec818f4d001aee36e05bbc.tar.gz
Do not copy stack after stack overflow, refix #8435
Summary: This was reverted in d70b19bfb5ed79b22c2ac31e22f46782fc47a117 and is a part of the reason for #10445. Test Plan: validate Reviewers: ezyang, simonmar, austin Reviewed By: simonmar, austin Subscribers: bgamari, thomie Differential Revision: https://phabricator.haskell.org/D938 GHC Trac Issues: #8435
Diffstat (limited to 'rts/Threads.c')
-rw-r--r--rts/Threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Threads.c b/rts/Threads.c
index ce297bd34e..434e1298c2 100644
--- a/rts/Threads.c
+++ b/rts/Threads.c
@@ -551,6 +551,7 @@ threadStackOverflow (Capability *cap, StgTSO *tso)
// Note [Throw to self when masked], also #767 and #8303.
throwToSelf(cap, tso, (StgClosure *)stackOverflow_closure);
+ return;
}